Reviewing Markups

Based on . {} is already used in consistent attributes, so need a different delimiter that is easy to type.

This is a markup syntax, that is designed specifically for reviewing a document as a critic. In html this is usally via <del> and <ins>, not <s>. This is since the del tag means “Striking Out Text”, while the ‘s’ tag means “Striking Though” text.

It’s likely in real world usage, that strikeout text would show as a red highlighted text with --- on each end, as opposed to <s> which would show up as a normal strikeout. Additions is shown as a green highlighted text that has +++ on each end

Usually if such html document is to be published for public consumption, the <del> and <ins> tag will be removed. (e.g. These tags are likely to be seen in history view in wikipedia I guess)

#Proposed syntax:


  1. >>~~deleted text~~<< using <del>
  2. >>~~deleted text~~++added text++<< using <del> and <ins>
  3. >>++inserted text++<< using <ins>

Purpose of >><< is to safely allow for trailing whitespaces E.g. >>~~ trailing whitespace ~~<<


~~>> delete line 
++>> Add line

Need presentational non textal marking like strikethrough, rather than reviewing marks like strikeout? Consult

html elements that can be used for this:

<ins> :

<del> :

1 Like

A few questions to ask…

  1. How would this markup be converted to HTML?
  2. What would the rendered output look like?
  3. Is there a simpler approach?

Regarding (3), I would use a version control system such as Git instead. This Git commit is for a Markdown file, for example. It is rendered sensibly on GitHub without the need for additional Markdown syntax.

How would this markup be converted to HTML?

If there is a html tag that corresponds, then use that. Else assign a CSS class to it in a consistent manner.

What would the rendered output look like?

Looks like how histograms in discourse looks like. E.g. strikelines. Or green + signs, on each sides. All depends on css implementation, but we should provide a default css template anyway.

Is there a simpler approach?

Just saw in another post that ‘triple character’ method might be more intuative and ‘markdowish’.

  • ---striked out text---
  • +++Add this text in+++
  • ~~~ Old Text ~~~> New Text ~~~
  • ||| Highlight this text |||
  • ___ underline this text ___

Regarding (3), I would use a version control system such as Git instead. This Git commit1 is for a Markdown file, for example. It is rendered sensibly on GitHub without the need for additional Markdown syntax.

Git is not always an option for everyone. What made markdown popular is that it is non technical. Also these usage may occur in an email context. People might appreciate being able to get these corrections over email in a quick and timely manner using this lightweight markup method. E.g. a paragraph for an abstract in a corporate report.

Oh and good thing about this? No need to set-up infrastructure like git installation, so less things to break.

1 Like

<ins> and <del> appear to be the correct elements for this.

If ~~ is converted to <del> it could be used here. Whatever is decided on should be simple and intuitive. Have ++ and -- been considered? -- might conflict with line breaks, but ++ seems okay.

:confused: true about -- being mistaken for horizontal linebreak. Perhaps ~~~, +++ would be safer with <ins> and <del>

else just preface each section with >>++ and ++<< and >>-- and ---<<

I suggest ~~ for <del> and ++ for <ins> (if they do not conflict) as they’re simpler. It seems ~~ is already used for <del> in some implementations, so it makes sense to stick with that syntax and it looks similar to -- visually. ++ uses the same number of characters as ~~, complementing it.

Okay after reading

I understand the semantic now. Well since this is only about revision. We shall only cover <del> and <ins> not <s> which represents ‘revised information to be published to public via strikeout mark’. The reviewing markups is for internal review within an organization. So most likely these things should be kept as an extension, but still defined and supported (so we can ensure everyone who uses it will speak it consistently)

  1. ~~deleted text~~ using <del>
  2. ~~deleted text~~>added text~~ using <del> and <ins>
  3. ++inserted text++ and <ins>

So… what would a 'non review mark` look like? That is a question for

  1. >>__ underlined text __<<
    Feature Request: underline text

  2. >>-- striked out text --<<
    Strikeout threw out? Strikethrough strikes out, throughout?

I think the following would be simpler as it would not require a new syntax:

~~deleted text~~++added text++

It is only one character extra.

Oh, good point. I like it.

~~ & ++ for del/ins are ok for me.

1 Like

As @mofosyne pointed out in the strikethrough topic, there is a difference between <s> and <del>.

I would like to review my earlier comment about ~~this text is deleted~~ being used for <del>. It actually makes more sense to use -- since minus is the opposite of plus and ++ is the proposed <ins> syntax. ~~ could then be freed up for <s>. I don’t think -- would clash with horizontal rules since these must be at least three characters long. Unordered list items are one character wide, so no conflict there. There is the danger of conflicting with em dashes and en dashes however, so we should consider these.

I would counter that -- is better used for strike through.

Also I have another concern. What if you want to delete a space. e.g. ~~ this has a trailing space~~. This can get dangerous. In fact, I think that while --strike though-- could do without >><< , reviewing markups would be safer for parser with >><< like

>>--remove this sentence with a trailing space --<<
>>++ add this sentence and also a space on both sides ++<<

You raise a good point about preceding whitespace. This could be common when reviewing text. Maybe the {++inserted text++} and {--deleted text--} syntax from MultiMarkdown would be suitable. Or with spaces if need be {++ inserted text ++} and {-- deleted text --}. The curly brackets feel less harsh on the eyes than the backwards angle brackets to me. But maybe review text should stand out if it is temporary.

I want to avoid {} since it should be reserved only for consistent attribute syntax. And yes, it should stand out, since it’s something that is under review. And you really don’t want it getting accidentally published.

It might not be a problem if the consistent attribute syntax never begins or ends with ++ or --. We should investigate that before ruling out the MultiMarkdown syntax at least.

1 Like

yea. I do wonder if >>~~ is potentially dangerous because of collision with block quotes.

But if we switch to {~~ this method of strikeout text ~~} I would like to know if it would collide with consistent attribute syntax.