I really like asciidocs support for diagramming via the asciidoctor-diagram extension. It's supports lots of unique and useful diagramming formats, such as graphviz, ditaa, bytefield, etc.
I wish Asciidoc was more popular
31–40 of 124 posts
Re: I wish Asciidoc was more popular
#32Everything in that article is why I don't like asciidoc. I think a lot of documentation should be absolute dead simple - no macros and complex behavior. It should just work. Markdown is great for that.
Not having includes in markdown is a real bummer, though.
Re: I wish Asciidoc was more popular
#33Earlier quoted context omitted.
Not on my machine: # apt install asciidoc Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: asciidoc-base asciidoc-common docbook-xsl xsltproc Suggested packages: asciidoc-doc docbook-utils source-highlight dbtoepub docbook-xsl-doc-html | docbook-xsl-doc-pdf | docbook-xsl-doc-text | docbook-xsl-doc docbook-xsl-saxon fo…
You probably have X and Wayland installed (quite why those are required for asciidoc is a question I'll leave for others).
Re: I wish Asciidoc was more popular
#34AsciiDoc was written primarily as a way to write DocBook without having to use XML. AsciiDoctor has an alternative goal of writing HTML without having to use HTML. The subtle differences between these goals leads to a lot of "gotchas" if you try to serve both of them at the same time. At least if AsciiDoc is only a consumable in your build system and you deliver the compiled artifacts (be it HTML, PDF, man pages, etc), you can probably be fine enough knowing what your implementation does and does not do.
Re: I wish Asciidoc was more popular
#35Earlier quoted context omitted.
You probably have X and Wayland installed (quite why those are required for asciidoc is a question I'll leave for others).
A lot of dependecies are pulled from the (recommended) asciidoc-dblatex package, which depends, indirectly, on x11 packages. Don't install the recommended packages (whose concept is anyway in conflict with keeping a system lean) and see what happens.
Re: I wish Asciidoc was more popular
#36Earlier quoted context omitted.
Probably because asciidoc recommends asciidoc-dblatex (used for producing LaTeX via docbook). Try 'apt install asciidoc asciidoc-dblatex-' to install just asciidoc without pulling in the other package.
Thanks, hopefully this'll turn up on a google search for someone who just wants to turn simple text markup into a PDF ('apt' didn't offer the option of not installing asciidoc-dblatex).
Re: I wish Asciidoc was more popular
#37Very briefly on admonitions: there is nothing stopping you from adding them to markdown yourself: You _really_ shouldn’t play with matches, Debbie. Later on in that document: warning { display: block; color: red; } Which is a very long winded way of saying that you can use markdown for authoring actual content, and then use good old HTML for styling whatever else you want to. Relying on asciidoc for styling elements…
> Which is a very long winded way of saying that you can use markdown for authoring actual content, and then use good old HTML for styling whatever else you want to. Why does Markdown bother to have * and ** markup? Why not just use " ", " ", " " or " "? 1. An admonition is no more "just styling" than is Markdown emphasis or strong markup, exclamation points at the end of a sentence or bullet lists (why not just use…
You pretty much do this anyway in asciidoc, just with extra steps.
Re: I wish Asciidoc was more popular
#38Earlier quoted context omitted.
Probably because asciidoc recommends asciidoc-dblatex (used for producing LaTeX via docbook). Try 'apt install asciidoc asciidoc-dblatex-' to install just asciidoc without pulling in the other package.
Thanks, hopefully this'll turn up on a google search for someone who just wants to turn simple text markup into a PDF ('apt' didn't offer the option of not installing asciidoc-dblatex).
apt --no-install-recommends foobar
You can set some settings for apt-get in the config file so it doesn't pull the recommended packages as enforced dependencies.Re: I wish Asciidoc was more popular
#39Note that Asciidoctor (the Ruby implementation) has a reasonable solution now, but it's not portable to Asciidoc (the original python implementation).