vmg / sundown

Standards compliant, fast, secure markdown processing library in C
2k stars 385 forks source link

<ins> extension #115

Open aleray opened 12 years ago

aleray commented 12 years ago

Hi, I have just pushed my changes to sundown to turn "++inserted text++" into "inserted text". Maybe you are interested in it.

Thanks,

Alex

mildsunrise commented 12 years ago

:+1:

one thing: <del> is the little sister of <ins>; they normally go together. Could you add support for turning --this-- into <del>this</del>?

aleray commented 12 years ago

@jmendeth If I remember correctly you can already do it using ~~this~~.

Cheers

mildsunrise commented 12 years ago

oops. yeah you're right. Tecnically, ~~this~~ is strikethrough: it should give <strike>this</strike>. --this-- is deletion: it should give <del>this</del>.

Casually, both tags are styled the same... Bah, forget me. Good extension anyway!