How to add custom CSS to dendron preview ? #3010
-
Following this doc page: https://wiki.dendron.so/notes/0fbg5vbv5jzb0623pbi4v3t/ I modified
with the following ...
preview:
theme: custom
enableFMTitle: true
enableNoteTitleForLink: true
enableFrontmatterTags: true
enableHashesForFMTags: false
enableMermaid: true
enablePrettyRefs: true
enableKatex: true
automaticallyShowPreview: false
... with the following body {
/* The background color of the preview. */
background-color: #fff;
}
body,
h1,
h2,
h3,
h4 {
/* Text color for the text, not including links. */
color: #ffffff;
}
a,
a:hover,
a:active {
/** Color for links, except ones that have been already visited. */
color: #b2f7ef;
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
AFAIK custom themes for previews within VSCode isn't a thing yet.
|
Beta Was this translation helpful? Give feedback.
-
@AshSimmonds is right, we accidentally published that page too early. It will be available next week, sorry about that! |
Beta Was this translation helpful? Give feedback.
AFAIK custom themes for previews within VSCode isn't a thing yet.
Custom themes for preview are coming soon too, I'm working on it and should have it out in a few weeks!
~ @SeriousBug, 23/May