Skip to content

Mdfx richtext codeblock and user-agent stylesheets#82

Merged
FlorianKirmaier merged 4 commits intomainfrom
mdfx-richtext-codeblock
Mar 9, 2026
Merged

Mdfx richtext codeblock and user-agent stylesheets#82
FlorianKirmaier merged 4 commits intomainfrom
mdfx-richtext-codeblock

Conversation

@FlorianKirmaier
Copy link
Contributor

No description provided.

  1. Merged mdfx-default.css into mdfx.css — single user agent stylesheet, easy to override
  2. Removed getDefaultStylesheets() from MarkdownView — simpler API
  3. Example reworked — style selector (None/Dark/Sepia/Blue) + live CSS editor using DynamicCSSUtil
  4. -mdfx-code-theme CSS property — takes a resource path, so users can point to any TextMate theme JSON
  5. Dark preset switches syntax highlighting to github-dark-default
@FlorianKirmaier FlorianKirmaier merged commit c90081b into main Mar 9, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant