Open ptitdam2001 opened 1 week ago
It's a planned feature in v8 which I intend to finish this winter
If there are any missing commonmark/gfm syntaxes I could look into adding those in the meantime though. I'm not aware of a syntax for underlining, but maybe just haven't come across it.
@ptitdam2001 in the meantime you can just use <ins>content</ins>
or <u>content</u>
for underlining.
For your alert use case, you can use a fenced code block and renderRule
to customize behavior keyed off node.lang
.
OK Thank you for your feedback
Hi, I am testing
markdown-to-jsx
which it seems be great, but My constraint is I can't accept HTML in markdown input and I wonder if it is possible to add new rules to transform markdown syntax to react element?I have 2 examples:
++underlined text++
to<ins>underlined text</ins>
,to
<div class="alert">This is an alert</div>
is it possible ? if true, how to do it?