Live data from Hacker News

Markdown's Big Brother: Say Hello to AsciiDoc

git-tower.com

31–40 of 65 posts

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#31
To me, asciidoc is effectively another markdown variant, but one that is less readable and considerably less interoperable than other flavors.

I'd rather pair markdown with an independent template language, if I need programmability. (Or script tags, though that's only useful in contexts where you'll view it rendered and script tags aren't blocked.)

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#32
post #23
post #8

Earlier quoted context omitted.

AsciiDoc is even older than Markdown.

As is org-mode. I think Markdown is one of those VHS vs Betamax kind of situations where it was just lucky to get the traction that its competitors didn't.

Org-mode failed with hyperlinks and images:

    [[https://123.com][Description]]
is way more cumbersome than Markdown's:

    [Description](https://123.com)

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#33
I am not sure I think they are that comparable. AschiiDoc is a proper mark-up language, something markdown explicitly sets out not to be. Markdown is easy to remember, easy to consume in its clear-text form and renderable. I fail to see that AsciiDoc or HTML having "unrendered consumption" as a goal at all.

There is so much you can't put in Markdown because it doesn't work without rendering.

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#34
As much as people don't really like it, reStructuredText with Sphinx is still my favorite one of these. Once you get into wanting to do fancy things, the sheer power and extensibility of it with custom directives and community plugins is hard to beat. The glossary, index, and project cross-referencing features (intersphinx) are amazing. You can easily integrate with Bibtex reference libraries (maybe managed in Zotero). You can do full-on traceable QA in it, not just for software, but for hardware projects as well using e.g. sphinx-needs [1]. I think for some sophisticated applications, reST + sphinx is best.

And of course you can write some pages in this ecosystem in Markdown if you want using MyST [2]

[1] https://sphinx-needs.readthedocs.io/en/latest/

[2] https://myst-parser.readthedocs.io/en/latest/intro.html

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#35
post #29

Once I felt that Markdown wasn't enough for documentation and Asciidoc seemed to be a good alternative. I tried to rewrite it to AsciiDoc, but there was some unexpected ugly ess. Iirc e.g. lists. It bothered me so much, I switched back to markdown. Today I reach for Typst when I need more than Markdown. Biggest caviar there is that html export is still wip.

> Biggest caviar there is that html export is still wip.

Pandoc seems to support converting from and to Typst. That might be an option for you.

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#36
post #8

Earlier quoted context omitted.

What exactly is your comment about? Have you heard about asciidoc before?

AsciiDoc is even older than Markdown.

Only technically.

By that name, yes, but much of Markdown was "discovered" rather than invented, having been used in email/newsgroups/... for a long time.

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#37
post #27

The problem with asciidoc is that it doesn't support nesting. Markdown allows you to nest constructs as much as you want using syntax that are easy to use for both humans and documentation-generating applications. The asciidoc developers don't seem to consider this an important issue: https://github.com/asciidoctor/asciidoctor/issues/1121 While asciidoc has some nice constructs, this made it a no go the last time I w…

It seems the maintainer is willing to implement it but lacks the time. Perhaps a PR would be in order.

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#39

As much as people don't really like it, reStructuredText with Sphinx is still my favorite one of these. Once you get into wanting to do fancy things, the sheer power and extensibility of it with custom directives and community plugins is hard to beat. The glossary, index, and project cross-referencing features (intersphinx) are amazing. You can easily integrate with Bibtex reference libraries (maybe managed in Zotero…

It's a bit more effort but it just can't be beat for documentation.

Re: Markdown's Big Brother: Say Hello to AsciiDoc

#40

Other than inertia, what is keeping AsciiDoc from overtaking Markdown? Personally I like the ubiquity and simplicity of Markdown, but I can also see the benefits of the features AsciiDoc has to offer.

The name doesn't help.

ASCII, by way of that character encoding standard, implies that dark age before writing and transmitting 'café' or 'Warschauer Straße' or '€10' or '¡olé!' just worked. Not a great marketing point.

So the first thing you are wondering when you read 'AsciiDoc' is, “Wait, does this mean it doesn't support anything but ASCII characters?”, regardless of whether or not that is true.

Post reply on HN