dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.65k stars 252 forks source link

theme-matching code blocks #3409

Open jheinem1 opened 2 years ago

jheinem1 commented 2 years ago

Please select if your request is either something new or an enhancement

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Problem

Dendron preview doesn't render code blocks and snippets with the appropriate VSCode theme and fonts.

image (VSCode markdown preview on the left, Dendron Preview on the right)

Solution

Give Dendron Preview a way to render code blocks similar how the default markdown preview works; respecting colors and fonts of the current VSCode theme.

Alternatives

If respecting VSCode themes isn't reasonably achievable, add some way to manually customize the colors and fonts of Dendron Preview's code blocks.

jonathanyeung commented 2 years ago

Thanks @jheinem1 for the feature request - we will add this to our backlog.