News for hackers. Stuff that matters.
Re:Polymath: A Markup Language for Everything by xamde on Sunday February 09, 2020 @01:30AM (#22280727)
Nice, also look into AsciiDoc, which is a surprisingly well designed markup language for similar purposes.
Re:Polymath: A Markup Language for Everything by johnmorrison on Sunday February 09, 2020 @02:12AM (#22280838)
Thanks for the reference!

I've had a look at a lot of examples and it seems great, but I really dislike the idea of homodirectional delimiters because I fear it unnecessarily complicates formatting and introduces a pointless risk of collision.

That's why I want to only use two kinds of delimiter:

- EOL, unless content is continued on the same indentation immediately without a gap, defines a block separation

- Strictly heterodirectional delimiters, e.g. () [] {} <>, define inline blocks and nested blocks, or can provide a bypass of the first rule

I feel that this design decision will save a lot of time, even though

  *italics*
is technically less characters than

  {i italics}
(however, in Polymath you can also just use a newline and save a character:)

  i italics
Re:Polymath: A Markup Language for Everything by Per_Bothner on Sunday February 09, 2020 @02:23PM (#22283799)
A not-to-ignore advantage of

  *italics*
besides brevity is it makes for easier-to-read "source". That is one of the benefits of AsciiDoc (and Markdown): The source is both easy to read and easy to write, at least for simple text paragraphs. In contrast

  {i italics}
is not very readable.