Hello everyone!
Could it be possible to change the YAML font in the default template?
I’d like to:
- reduce the size of the font
- change the font.
Thanks for your help.
Hello everyone!
Could it be possible to change the YAML font in the default template?
I’d like to:
Thanks for your help.
You can go to Settings -> Apperarance -> CSS-Snippets
, open the CSS Snippet folder and create a new file, say CustomFrontmatter.css
and then define your own custom style.
Example:
.cm-hmd-frontmatter {
font-size: 10px;
font-family: 'Fira Code' !important;
}
Save it and activate the snippet and the frontmatter style should change accordingly.
Thank you for your answer @Fenrix. I’ve just found that I could change the YAML font, but not the size, in the font section.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.