M-x asciidoc-compile
will supply you with an editable command line to be
supplied to the shell. After that you can simply type M-x recompile
to build
your document each time.
Sections are entered with asciidoc-section-title
. You enter a
number indicating the number of equals signs you want. And then
you enter the section title.
I’m sorry that I cannot two-line titles. The main reason is that I think it is much more flexible to just be able to remove an equals sign to change level rather than try to keep all the various underline semantics in my head.
M-x asciidoc-emphasized RET You must mop the floor now!
will result
in You must mop the floor now! Which is just what we need in this house.
M-x asciidoc-strong RET My name is Hercules
yields My name is Hercules and that is strong enough for the best of us.
M-x asciidoc-monospace RET Welcome to nerdville
produces Welcome to
nerdville
and that is boring enough for the rest of us.
M-x asciidoc-quoted RET Let's get physical
brings us “Let’s get physical” and who could ask for more?
Normal and then M-x asciidoc-superscript RET super text RET M-x asciidoc-subscript down text RET
yields:
Normal and then ^super text^ Jules Verne ~under the sea~
These are placed just above a block that you want to reference later using the ‘descriptive text’ convention.
While we are here, we may as well point out asciidoc-block-reference
, which is
used to refer to these BlockIds
that you set up.
(defun fun() (progn (play in-the-sand) (play in-the-band) (play at-the-beach) (play with-the-beets) ; sorry it had to rhyme ))
This appears to be best when prefaced with the verse style.
Consul *necessitatibus* per id, consetetur, eu pro everti postulant homero verear ea mea, qui. Qui in magna commodo, est labitur dolorum an. Est ne *magna primis adolescens*.
Looks just like a note to me. But of course it does not have the word “NOTE” in front of it… caveat emptor.
m-x asciidoc-passthru-* brings them up. I have no use for them.
Via M-x asciidoc-quotation-block
Lisp is for building organisms — imposing, breathtaking, dynamic structures built by squads fitting fluctuating myriads of simpler organisms into place.
Foreward to Structure and Intepretation of Computer Programs
You have to manually place 4 periods within your quotation block if you want a poem or something. The manual shows how to do this.
To see a world in a grain of sand, And a heaven in a wild flower, Hold infinity in the palm of your hand, And eternity in an hour.
Auguries of Innocence
Most people (myself included) went flying through the Asciidoc manual and
never took time to see the Example block. We were manually coding such a
best ourself over and over. Well, worry no longer because
M-x asciidoc-example-block
brings it to your fingertips.
2+2 4
M-x asciidoc-bullet-item
is the ticket.
-
Eggs
-
Bacon
-
Living
-
Loving
-
-
Snicker’s Bar
M-x asciidoc-numbered-list-item
is the ticket.
-
Wake up
-
Look at clock
-
Pray it is still time to sleep
-
-
Realize it’s Saturday
-
Wake up and hack on favorite projects
Only vertically labelled lists are supplied here. The horizontal ones look nice,
and you can get them by simply putting the text following the ::
on the same
line.
M-x asciidoc-labelled-list-item
will set you free.
- Lorem
-
the gypsy was ipsum on the frothy mug
- Gypsum
-
the fifth one was just one below the sixth one
Download a picture of my mom right here!
You create document anchors with M-x asciidoc-block-id-element
.
You refer to them using M-x asciidoc-block-reference
.
Just above "Labelled Lists" above, I created a document anchor [[LL]]
. Now,
in the next paragraph I refer to it:
Here is Cool J at your service.