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

Is it possible to add support for other markdown syntax, such as || text || for spoilers?

Open srevenant opened this issue 4 years ago • 7 comments

Wondering if this is easy to add...

Thanks!

srevenant avatar Jun 10 '20 23:06 srevenant

I’m also curious - Im interested in supporting hashtags (related: #317 ) and @ mentions with custom react components, which the original simple-markdown this project is forked from supports - is there an existing workaround to support syntax extensions, and if not would you be open to PRs to add it? @probablyup

osdiab avatar Oct 08 '20 02:10 osdiab

Adding extensibility is definitely possible - need to think on what the best/least confusing implementation strategy would be.

quantizor avatar Oct 08 '20 14:10 quantizor

I would also be very interested to know more about extensibility. I'm using this package to build a markdown-like text editor and would like to implement CriticMarkup as part of it.

lightlii avatar Jan 14 '21 14:01 lightlii

I'm interested too, I would like to add a custom synthax to link elements in my app together.

At the moment I resolved by pre-parsing the text and substituing my custom marker with a component

Lonolf avatar Apr 10 '21 15:04 Lonolf

Hello, Is there any progress here?

Innei avatar Aug 06 '22 08:08 Innei

I haven’t worked on this project in a while… I’d be open to a PR that exposes an extendRules(rules, helpers) => rules callback to append new rules to the existing set.

quantizor avatar Aug 09 '22 13:08 quantizor

It seems #406 implements that nicely, right? @probablyup

huksley avatar Aug 15 '22 08:08 huksley