Skip to content

<ins> extension#115

Open
aleray wants to merge 2 commits into
vmg:masterfrom
aleray:master
Open

<ins> extension#115
aleray wants to merge 2 commits into
vmg:masterfrom
aleray:master

Conversation

@aleray

@aleray aleray commented May 27, 2012

Copy link
Copy Markdown

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
Copy Markdown

👍

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

aleray commented Sep 6, 2012

Copy link
Copy Markdown
Author

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

Cheers

@mildsunrise

Copy link
Copy Markdown

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