mdmath icon indicating copy to clipboard operation
mdmath copied to clipboard

The option mdmath.style does not apply in VS Code Markdown Preview, while documentation says it should

Open aterenin opened this issue 1 year ago • 0 comments

Summary

The readme claims:

Can I use custom CSS styles for the preview window ?

* Yes. Set mdmath.style in user settings to the location of your custom CSS file. Its path must be relative to this extension root.

But this doesn't happen. I set this option to /Users/Example/TeX/math.css and file:///Users/Example/TeX/math.css but this CSS style is not loaded.

This might be a documentation rather than extension bug: part of the readme claims this file is used for HTML output, while another part claims it is used for VS Code Markdown Preview. I am not sure if it is intended to be used for both or just the former.

Expected behavior

CSS file is applied in VS Code Markdown Preview.

Actual behavior

CSS file does not apply to VS Code Markdown Preview.

Steps to reproduce

Set mdmath.style as above.

aterenin avatar Nov 20 '24 00:11 aterenin