r-lib / downlit

Syntax Highlighting and Automatic Linking
https://downlit.r-lib.org
Other
90 stars 22 forks source link

downlit_md_path() does not have a classes argument #188

Open JosiahParry opened 6 months ago

JosiahParry commented 6 months ago

The downlit_md_path() does not have a classes argument like downlit_html_path() does. This means that you can only use downlit_md_path() with pandoc, only chroma. This is limiting. It thus requires me to first convert to html using pandoc, then use downlit_html_path(). This, however is undesirable because downlit_html_path() adds , , and tags that were not present in the input

hadley commented 1 month ago

Want to do a PR?