Aneamal markup
Block markup
Blank lines divide an Aneamal file into blocks. Marks at the beginning of a block determine what kind of block it is. A block without block markup is simply a paragraph. The others are …
Headings and sections
=== … ===
- main heading
--- … ---
- section heading
- - … - -
- subsection heading
---
- section break
- -
- subsection break
+++ … +++
- expandable-section heading
+ + … + +
- expandable-subsection heading
+++
- expandable-section break
+ +
- expandable-subsection break
Lists
1. …
- numbered list
A. …
- numbered list (with capital letters)
a. …
- numbered list (with small letters)
I. …
- numbered list (with Roman numerals)
i. …
- numbered list (with romanettes)
?. …
- automatically numbered list
<> …
- bulleted list
<…> …
- single-tagged list
<…><…> …
- double-tagged list
<…><…><…> …
- triple-tagged list
<…><…><…><…> …
- quadruple-tagged list
File tokens
[a]
- Aneamal file
[a-…]
- Aneamal file (using a template)
[h]
- HTML file
[i]
- image file
[j]
- image file (using an automatically generated preview)
[b]
- TSV file
[p]
- TSV file (to be transposed)
[d]
- TSV file (with Aneamal marks)
[q]
- TSV file (with Aneamal marks, to be transposed)
[v]
- video/audio file
[w]
- video/audio file (to be played in a loop)
[t]
- plain-text file
[t-…]
- text file (using a t-module)
[x-…]
- file to be processed by an x-module
File tokens can be used with a link […]->
or placed above a code block. The files they represent are integrated into the webpage when the Aneamal file is translated.
Alignment
:..
- left aligned
::.
- mid-left aligned
.:.
- centered
.::
- mid-right aligned
..:
- right aligned
:.:
- justified
: :
- in columns
:::
- spanning columns
:.
- left float
.:
- right float
::
- cleared
Miscellaneous
{…} …
- multiple-choice option
$$…$$
- math block
|…
- code block (with
|
at the start of each line) >…
- quotation block (with
>
at the start of each line) ___
- note(s)
Phrase markup
Phrase markup works almost anywhere – at the start of and inside paragraphs as well as inside special blocks such as lists.
String markup
*…*
- heavy emphasis (bold)
~…~
- gentle emphasis (italic)
_…_
- supplementary emphasis
|…|
- code string
$…$
- math string
"…"
- quoted string
+-…-+
- crossed-out string
(…)
- bracketed string (with round brackets)
[…]
- bracketed string (with square brackets)
`…`
- bare string
Links
->…
- link
->!…
- link to an unendorsed destination
->#…
- link to a target on the same page
->,…
- link to a base64-encoded text snippet
->@…
- metadata link
^…
- reference, usually to a target in a note
#…
- target
You can prepend a link arrow with a word or string that is used as link text.
Miscellaneous
…{…}
- hint
@…
- metadata
\…
- literal character
&…
- custom mark
Ghost markup
Ghost markup is processed first when an Aneamal file is translated into a webpage. Then the rest of the file is handled as if the ghost markup would not have been there. It is called “ghost markup” because it does not translate to anything visible to the naked eye … and it can go through solid blocks! 👻 Ghost markup always occurs at the start of a line.
/…/…
- sandwich markup
% …
- comment
@ …
- metadata declaration