💄📝 Les·M·L
Posted: Sunday, 27 April 2025 @ 21:59 EDT
This is a thread for my silly little markup language that I use to write boring texts as an alternative to Markdown!
⌦
and ⌫
to mark up inline comments. ⌧
can be used as a shorthand for an empty comment, which can be used to break up spans of text.{@attribute="value"}
. The old language‐tag‐specific syntax for offset text, ⟨blah⟩@en$
, is removed in favour of just doing ⟨blah⟩{@lang="en"}
,@en$
syntax after the element id (or pilcrow if no id is present).»
and can be nested, as opposed to being determined by leading white·space and not being nestable.]
, it creates a footer, with the exception that a footer which ends a blockquote becomes a figcaption for the containing figure. This replaces the old captioning mechanism.Code: Select all
#!lesml@en$
⁌ My Document
With a subheading that used to just be treated as an ordinary paragraph.
This is some text containing ⟨español⟩@es$.
Pero éste es más dificil a indicar.
Here is a blockquote.
“A nested quote couldn’t be marked up before.”
— A caption for the quote.
Code: Select all
#!lesml@en$
⁌ My Document
⋯ With a subheading that used to just be treated as an ordinary paragraph.
This is some text containing ⟨español⟩{@lang="es"}.
¶@es$ Pero éste es más dificil a indicar.
» Here is a blockquote.
»
» » A nested quote couldn’t be marked up before.
»
» ] A caption for the quote.
@en$
syntax for inlines as a shorthand for writing {@lang="en"}
, but I haven’t decided yet. It’s maybe a little harder to parse in an inline context.