News for hackers. Stuff that matters.
Re:StrictMark: Markdown, Refactored by gritzko on Friday January 29, 2021 @12:29PM (#25959878)
The author is here, AMA.
Re:StrictMark: Markdown, Refactored by mklcp on Friday January 29, 2021 @02:25PM (#25961259)
Why are headers limited to four levels? Do they have to be always padded with spaces?

Why are references limited to one symbol? It can just be more mnemonic to have `java_doc` than `j

Why only full reference links are allowed? It would be handy to have a shortcut for links without reference, and it's not like we're running out of symbols: `?[]` could be used for links without reference while being consistent with `![]`, which is used for transclusion

Why is it impossible to put backticks inside a code span?

What is there a `<!-- -->` in an example in the Lists section?

I really like the spirit of this markdown alternative

Re:StrictMark: Markdown, Refactored by gritzko on Friday January 29, 2021 @03:02PM (#25961660)
Thanks. It makes all block level formatting aligned to 4 char indents. Hence, paddings. Hence the one letter limitation.

The terrible HTML comment hack is straight from the CommonMark spec... it solved a Markdown syntax issue... hope to kill it somehow.

Re:StrictMark: Markdown, Refactored by ufo on Friday January 29, 2021 @03:07PM (#25961726)
How fundamental is the requirement that all the "block stuff" be exactly four characters wide?

The parts that were the strangest for me are that link references can only contain a single unicode character and that block quotes are ">" plus three spaces, instead of ">" plus one space.

Re:StrictMark: Markdown, Refactored by mixmastamyk on Friday January 29, 2021 @04:19PM (#25962690)
It's odd for a second, then seemed fine to me. Think if hexadecimal just kept going…
Re:StrictMark: Markdown, Refactored by jtbayly on Friday January 29, 2021 @01:23PM (#25960525)
> no arbitrary nesting

What are the restrictions? For example, I care about these (off the top of my head):

1. Can I nest a block quote in another block quote? 2. Can I nest a block quote in an (ordered or unordered) list? (And vice versa?) 3. Can I emphasize some text inside a strong? (and vice versa?)

Re:StrictMark: Markdown, Refactored by gritzko on Friday January 29, 2021 @01:29PM (#25960594)
Thanks for the question. "No arbitrary nesting" applies to inline formatting. Higher precedence formatting can be nested within lower. So, nothing can be nested within a code span, for example, as it is the highest. Just a way to order things.

Container blocks are nested arbitrarily, up to 16 levels. Quote > list > quote > code, for example, is OK.

Re:StrictMark: Markdown, Refactored by cratermoon on Friday January 29, 2021 @02:13PM (#25961097)
What problem were you hoping to solve with this?
Re:StrictMark: Markdown, Refactored by gritzko on Friday January 29, 2021 @02:20PM (#25961188)
A reliable format for my docs, which is already well supported (and I want a Ragel parser because requirements).

In the long run, I am a Decentralized Web guy, so making Markdown a proper language has its own value.

Re:StrictMark: Markdown, Refactored by m___ on Thursday February 04, 2021 @04:09PM (#26029795)
Your theoretical and well contexted overview of the Web, your mininal formatting overhead (no googles and 5000 cubicles), (single person in charge of content and formatting) view is essential not trivial.
Re:StrictMark: Markdown, Refactored by mixmastamyk on Friday January 29, 2021 @04:18PM (#25962674)
I had to increase the line-height to read it, was too cramped at 1.2.
Re:StrictMark: Markdown, Refactored by remram on Friday January 29, 2021 @08:39PM (#25965143)
Can I put backticks in inline code now? :)

What about making some of my code bold?

Re:StrictMark: Markdown, Refactored by newlikeice on Friday January 29, 2021 @01:40PM (#25960725)
did I miss link or is there a parsing script yet?
Re:StrictMark: Markdown, Refactored by gritzko on Friday January 29, 2021 @02:17PM (#25961159)
There is a C++ version which should be separated from a code base first... But the parser is Ragel-based, so contact me if you plan to make an implementation in any language Ragel supports.