Skip to content

Conversation

@aleray
Copy link

@aleray aleray commented May 27, 2012

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

Thanks,

Alex

aleray added 2 commits May 27, 2012 15:08
It can be used by enabling the MKDEXT_INS option like this
(example/sundown.c):

    markdown = sd_markdown_new(MKDEXT_INS, 16, &callbacks, &options)

then, after compilation the following command line:

    echo "++ins++" | ./sundown

results in:

    <p><ins>ins</ins></p>
@mildsunrise
Copy link

👍

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
Copy link
Author

aleray commented Sep 6, 2012

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

Cheers

@mildsunrise
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants