monosans / pyromark

Blazingly fast Markdown parser for Python written in Rust.
https://pyromark.readthedocs.io
MIT License
26 stars 1 forks source link

Syntax Highlighting #343

Open ratsclub opened 3 months ago

ratsclub commented 3 months ago

Hello,

First of all, thanks for the library. It's exactly what I was looking for!

However, I miss syntax highlighting on code blocks. Is there any way of doing it?

monosans commented 3 months ago

I think we can integrate this Rust crate to add this functionality https://crates.io/crates/highlight-pulldown. Will take a look when I have free time.

monosans commented 3 months ago

I think we can integrate this Rust crate to add this functionality crates.io/crates/highlight-pulldown. Will take a look when I have free time.

Ok, it will be more difficult than I thought, as this crate depends on old pulldown-cmark version. I think I'll fork it in future.