Skip to the text
Parseh
پParseh guide The Markdown dialect›Cheat sheet

Cheat sheet

Every construct of the studio’s dialect, each in one line. A small document holding most of them comes first; the tables after it list them all, with the page that explains each one. The exercises, :::exercise blocks, are in a section of their own, Writing exercises.

Parseh Markdown
---title: A lesson in one screensubtitle: کتاب and its friendslang: entarget: fa---## کتاب | ketāb | from Arabic *kitāb* | = *book*The word کتاب = *book* takes the plural کتاب‌ها, and [یک PDF]{tl} is aPersian phrase with a Latin word in it.[^1] **Bold**, *italic*, `code`,[تند]{teal translit:tond} in colour, ✗کتابا wrong, ✅ کتاب‌ها right → done.> **Remember:** a box holds anything, [\sqrt{16} = 4]{math} included.- **Singular** کتاب- **Plural** کتاب‌ها| Form | Meaning ||:--|--:|| کتاب | a book || کتاب‌ها | books |[The English under a Persian passage, centred and tinted.]{la align=center bg=sage width=70}[^1]: A footnote, at the foot of the page on paper.
Result

A lesson in one screen

کتاب and its friends

کتاب
ketāb
from Arabic kitāb

The word کتاب = book takes the plural کتاب‌ها, and یک PDF is a Persian phrase with a Latin word in it.1A footnote, at the foot of the page on paper. Bold, italic, code, تند in colour, ❌کتابا wrong, ✅ کتاب‌ها right → done.

Remember: a box holds anything, \sqrt{16} = 4 included.

Singular
کتاب
Plural
کتاب‌ها
FormMeaning
کتابa book
کتاب‌هاbooks
The English under a Persian passage, centred and tinted.

Notes

  1. A footnote, at the foot of the page on paper.

1. The document#

WriteForPage
--- / title: subtitle: note: lang: target: / ---the front matter, first in the fileFront matter
# Titlethe title, when the front matter has noneFront matter
## Sectiona numbered section (a typed number is taken off)Headings
### Subsectionan unnumbered subsectionHeadings
## word | translit | origin | = *meaning*a vocabulary entryHeadings
## word | kana | rōmaji | origin | = *meaning*a vocabulary entry in JapaneseHeadings
## [word]{teal translit:…} | | origina coloured headword, its transliteration in the bracesHeadings

2. Text#

WriteForPage
lines next to each otherone paragraph; a blank line starts the nextParagraphs
**bold**, *italic*, `code`emphasis — never inside a word, never across the target languageParagraphs
⏎a line break inside a paragraphSpecial characters
✗form, ❌forma wrong form, in redSpecial characters
✅a green tickSpecial characters
→, ->an arrow, on the screen and on paperSpecial characters
the ZWNJ, «»the zero-width non-joiner, guillemetsSpecial characters

3. The target language#

WriteForPage
کتاب, 日本語, नमस्ते in the prosea run, found by its scriptTarget language
a paragraph of the script alonea display line, set largerTarget language
a paragraph with no Latin lettera paragraph in the target languageTarget language
[…]{tl}, […]{fa}, […]{ja}…a stretch marked as the target language; alone, a blockTarget language
[ … ]{tl} on lines of their owna passage of several linesTarget language
{tl bg=quote} — sand rose sage lilaca tinted blockTarget language
{tl font=nastaliq}, {tl font=gothic}the second face: Persian, JapaneseTarget language
{tl vertical height=14}vertical columns: Japanese, ChineseTarget language
[bello]{tl}, [bello]{it}, any marka run of a Latin-script targetTarget language

4. Marks on a word#

WriteForPage
[word]{crimson} — indigo teal violet ambera named colourColours
[word]{#C2185B}any colourColours
[word]{translit:…}its transliteration, shown on pointingPronunciation
[word]{kana:… translit:…}, reading:its reading, in JapanesePronunciation
[word]{teal translit:…}colour and transliteration together, colour firstPronunciation
word = *meaning*a gloss, gathered into the glossaryGlosses
[a^2+b^2]{math}a formula in the lineMathematics

5. Blocks#

WriteForPage
> … on every linea box, which holds anythingBoxes
[…]{la align= bg= width= offset=} as a paragrapha Latin block; {ltr} is the sameLatin blocks
- * + / 1. 1) a list; one level of nesting, two spaces inLists
- **Label** text, every itema labelled listLists
| a | b | over |:--|--:|a table; :--: centres; -- alone is an empty cellTables
:::math … :::a formula on its ownMathematics
:::exercise type … :::an exerciseWriting exercises
WriteForPage
text[^name] and [^name]: the notea footnoteFootnotes
^[the note]a footnote written in placeFootnotes
[words](https://…)a web linkLinks
[](doc:Its name), [words](doc:Its name)a link to another document, by its nameLinks
![caption](images/x.png){width=60 align=center offset=0}a picture, on its own lineMedia
![caption](audio/x.mp3){start=1:05.2 end=1:09}a recording, and the stretch it playsMedia
@[caption](youtube address){start=90 end=150}a YouTube videoMedia

7. Not in the dialect#

#### headings, === underlines, code blocks, _x_, ~~x~~, $x$, HTML, escapes, reference links, bare addresses, rules (dropped): see What the studio leaves out.