mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Question: What would be the best way to support themes? #679
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @michaelstonis on GitHub (May 16, 2024).
What would be the best way to approach automatically supporting a dark mode or other theme for the generated output? Would that require a custom renderer or extension to modify the output HTML and add additional CSS classes?
@xoofx commented on GitHub (May 16, 2024):
Nope. Any rendering related topics are delegated to CSS, especially dark mode that is usually implemented differently by the different CSS framework providers (CSS variables, SCSS...etc.) requiring often additional JavaScript.