Texty! Things we can potentially learn from this alternative to markdown

Its always good to learn from how others standards approach this problem of text markup. Here is one project named Texy! I only highlighted a few that I noticed as interesting. But you may find others interesting in the source link below:

Interesting way to deal with line breaks without newline or \

Lorem ipsum dolor sit amet,
 still the same paragraph, but wrapped with element `<br>`
 using one space before
<p>Lorem ipsum dolor sit amet,<br>
still the same paragraph, but wrapped with element <code>&lt;br&gt;</code><br>
one space before</p>

Containers

/---div .[header]
  ## This is a header.
  /---div
    nested div
  \---
  Texy is sexy!
\---
<div class="header">
	<h6>This is a header.</h6>
	<div>
		<p>nested div</p>
	</div>
	<p>Texy is sexy!</p>
</div>

Acronym and abbrs handling

jednoslovnc: NATO((North Atlantic Treaty Organisation))
víceslovnc: "et al."((a další))
jednoslovnc: <acronym title="North Atlantic Treaty Organisation">NATO</acronym>
víceslovnc: <acronym title="a další">et al.</abbr>

Arrows

  • arrows <- and -> and <->

Modifiers

We already do this in pandoc with the ![](){} syntax but always intersting to see how others do it. In this case they use .{} to say that a line or the line below should use these settings.

Another example .{color:blue; lang: cs}
<p style="color:blue" lang="cs">Another example</p>

The Roman Numeral ordered lists would make a nice CommonMark extension.

1 Like

Roman numerals conflict with alphabetic list markers and possibly words.

I don’t see much in Texy that would make sense to have in Markdown (extensions).

1 Like