AsciiDoc fills an important gap between markdown and reStructuredText
AsciiDoc seems not as common as markdown. Google lists just about 400 000 citations about it, as opposed to 16 million for markdown. However, AsciiDoc allows some of reStructuredText functionality (eg <include> directives) while preserving most of the simplicity of markdown.
-
✓ sane logic for headers
-
✓ easy table of contents (
toc
) -
✓
include
directive -
✓ bibliographic references!
-
✓ color!
-
✓ comments
-
✓ integrates with github via
.adoc
extension -
✓ allows some mixins of markdown
Missed from markdown:
-
❏ intuitive links notation
[text](http:\...)
Not fully functional:
-
❏ math not rendering on Atom editor or github
Official site is a bit messy, while asciidoctor.org does a better job of explaining . Some practical experiences with github flavour of AsciiDoc are also a nice read.
Can use extended references:
The Pragmatic Programmer [pp] should be required reading for all developers. To learn all about design patterns, refer to the book by the “Gang of Four” [2].
-
[pp] Andy Hunt & Dave Thomas. The Pragmatic Programmer: From Journeyman to Master. Addison-Wesley. 1999.
-
[2] Erich Gamma, Richard Helm, Ralph Johnson & John Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley. 1994.
Tables are one of the most intricate, yet refined areas of the AsciiDoc syntax.
Col 1 | Col 2 | Col 3 |
---|---|---|
1 |
Item 1 |
a |
2 |
Item 2 |
b |
3 |
Item 3 |
c |
6 |
Three items |
d |
Name of Column 1 | Name of Column 2 | Name of Column 3 |
---|---|---|
Cell in column 1, row 1 |
Cell in column 2, row 1 |
Cell in column 3, row 1 |
Cell in column 1, row 2 |
Cell in column 2, row 2 |
Cell in column 3, row 2 |
Questions:
-
Can use markdown tables? .rst tables?
-
VS code shortcuts for creating and formatting tables
It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness…
A Tale of Two Cities
- CPU
-
The brain of the computer.
- Hard drive
-
Permanent storage for operating system and/or user files.
- RAM
-
Temporarily stores information the CPU uses during operation.
-
one
-
two
-
three
Note
|
Can I get 1.1, 1.2, etc in a numbered list? TODO: fill issue |
-
abc
-
xxx
-
yyy
-
STEM math does not render in Atom. See asciidoctor/atom-asciidoc-preview#94