markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

Please support loading custom CSS styles

Open zhouxinghong opened this issue 1 year ago • 1 comments
trafficstars

Please support loading custom CSS styles

Hello! The extension performs great! Please support loading custom CSS styles so that the extension can meet more usage scenarios.

System environment: Chrome is up to date Version 120.0.6099.110 (Official Build) (64-bit) Windows 10 Extended version: 5.2.1

zhouxinghong avatar Dec 14 '23 04:12 zhouxinghong

Thank you very much for providing a super excellent Markdown preview extension! 👍😜🎉

zhouxinghong avatar Dec 14 '23 06:12 zhouxinghong

Custom theme support landed in v5.3, have a look at the documentation

When you select the CUSTOM theme at the bottom of the themes dropdown you get a blank theme. Then you can add a style tag in your markdown and create your own theme, here is an example. Once you are ready go to the Advanced Options page and click on Settings in the header, if the CUSTOM theme is selected there will be a button below to select your .css file and make it permanent. Don't forget to remove the inline tag from your document. You can also update or remove the uploaded custom theme.

simov avatar May 04 '24 15:05 simov