mikepenz/multiplatform-markdown-renderer

[FEATURE REQUEST] Syntax highlighting

Opened this issue ยท 2 comments

Hey ๐Ÿ‘‹๐Ÿพ

I was wondering if you would consider adding syntax highlighting for code blocks (perhaps on an opt-in basis?) to this library, using something like https://github.com/wingio/syntakts perhaps.

Thanks for your time.

Thank you for the suggestion. I think you should be able to already be able to do that, by adding a custom handling for the Code block.

Might be interesting to add an example for that, but I don't think that I plan to have it as a core part of the project at this time ๐Ÿค”

Honestly, I'm thinking that library would be more work than it's worth, but i really don't see any good compose syntax highlighters at all (and implementing our own from scratch probably is not worth the effort).

Not high priority and totally understand if you consider it out of scope (but an example would of course be appreciated too ๐Ÿ˜‰ )