News for hackers. Stuff that matters.
Re:Sile: A Modern Rewrite of TeX by tomrod on Thursday November 03, 2022 @09:19AM (#33450510)
I think the argument comes down to complexity. Getting Markdown --> Pandoc featureset up to a reasonable fidelity is the next stage IMO, especially if Markdown can be made to support the most common downloaded TeX extension packages.
Re:Sile: A Modern Rewrite of TeX by lixtra on Thursday November 03, 2022 @10:03AM (#33451130)
Please keep Markdown simple as it is.

Feel free to come up with something new that supports Markdown as a subset or overlaps with Markdown.

Re:Sile: A Modern Rewrite of TeX by tomrod on Thursday November 03, 2022 @12:03PM (#33453116)
I'm unsure of the naming & organizational conventions for Markdown. Are extensions called flavors? If so, I was envisioning a flavor.

Markdown as-is is lovely.

Re:Sile: A Modern Rewrite of TeX by 0cf8612b2e1e on Thursday November 03, 2022 @11:49AM (#33452879)
Not going to happen. If you look at the CommonMark discussions, you will find people adamant that X features not be included for varying reasons.

I think the best future option is going to be djot[0]. It is being created by the author of pandoc, who might possibly be the most qualified person in the world to appreciate all if the nuances of marking up text and parsing it.

[0] https://www.djot.net/

Re:Sile: A Modern Rewrite of TeX by leephillips on Thursday November 03, 2022 @04:34PM (#33457116)
djot syntax looks just like Pandoc’s markdown. What’s the difference?
Re:Sile: A Modern Rewrite of TeX by 0cf8612b2e1e on Thursday November 03, 2022 @05:07PM (#33457592)
Clean slate design. I think pandoc markdown is a superset of markdown, which must parse the ambiguous parts of the spec. Djot has a goal to eliminate the corner cases and be able to represent all things without requiring the html escape hatch (eg bold text within a word).

The rationale page can do a better job than myself. https://github.com/jgm/djot#rationale

Re:Sile: A Modern Rewrite of TeX by leephillips on Thursday November 03, 2022 @05:30PM (#33457981)
Thanks, that makes sense. Although I’d like to point out that one of the listed problems with commonmark, and the problem you mention, are not problems with Pandoc markdown:

    : echo "word**withboldtext**inside" | pandoc
    <p>word<strong>withboldtext</strong>inside</p>

    : echo "a*?*b" | pandoc
    <p>a<em>?</em>b</p>
Re:Sile: A Modern Rewrite of TeX by TheRealPomax on Thursday November 03, 2022 @03:04PM (#33455804)
You make markdown support TeX by running it though a tex compiler. The other way around is never in a million years going to happen, because markdown is all about not adding additional markup like \commands, or extensions without which a markdown renderer wouldn't be able to generate the content it's supposed to.

(which is why markdown still doesn't officially have any maths support, only certain non-standard flavours do)