Visual Markdown editor doesn't respect theme heading sizes #2839
Unanswered
madysondesigns
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm interested in tweaking the heading hierarchy for better readability in the Visual Markdown (aka Advanced Markdown aka Dynamic Markdown aka Markdown Alternative) editor.
I have been playing around with a custom theme using the StyleKit custom properties, and adding/changing any of
--sn-stylekit-font-size-h1–--sn-stylekit-font-size-h6doesn't affect heading sizes in this editor at all.It looks like the Milkdown styles are setting a fixed font size instead of using the StyleKit properties, and they're also using
!importantwhich overrides these properties if they should be cascading from anywhere else. See org.standardnotes.markdown-visual-editor/src/components/Milkdown)/styles.scss:92-110Beta Was this translation helpful? Give feedback.
All reactions