Per file styling

I see that the <style> tag has at some point been removed. Any other option for styling on a per-file basis?

I tried a <div markdown="1">. Funny thing is that the edit mode seems to recognise it and actually style the markdown inside, but preview doesn’t.

You can write raw HTML in your notes, and it will be rendered in Preview. However, markdown inside HTML tags will not be parsed.

Otherwise, there was a recent plugin request for this kind of functionality: Note level CSS file (referenced in front matter)

1 Like

Markdown inside font tags is parsed.

1 Like

font tags?

<font color="red">**bold**</font>


<style> was sanitised out, but <font> survived.

1 Like

You can use CSS class in frontmatter for this.

1 Like