
The h1 --> font color can not default.
Hi @yushukk ,
This package by default is using github style.
If your Atom editor is currently in black style, then you can open Settings View, find Markdown Preview Enhanced package, then enter Settings. You need to disable Use Github.com style. Then the preview style will be consistent with your Atom editor style.
Another way is to customize css. However, this method is more complicated.
You can cmd+shift+p then choose Markdown Preview Enhanced: Customize Css.
It will open style.less for you.
Then you can edit .markdown-preview-enhanced-custom section like this:
/*
* markdown-preview-enhanced custom style
*/
.markdown-preview-enhanced-custom {
// please write your custom style here
// eg:
// color: blue; // change font color
// font-size: 14px; // change font size
//
background-color: black; // your background color
color: white; // your font color
h1, h2, h3, h4, h5, h6, span {
color: white; // your font color
}
// custom pdf output style
@media print {
font-size: 13px;
}
}
Hope this helps ;)
think you for answer
I will close the issue now
Most helpful comment
Hi @yushukk ,
This package by default is using github style.
If your Atom editor is currently in black style, then you can open
Settings View, findMarkdown Preview Enhancedpackage, then enterSettings. You need to disableUse Github.com style. Then the preview style will be consistent with your Atom editor style.Another way is to customize css. However, this method is more complicated.
You can
cmd+shift+pthen chooseMarkdown Preview Enhanced: Customize Css.It will open
style.lessfor you.Then you can edit
.markdown-preview-enhanced-customsection like this:Hope this helps ;)