Skip to main content

Markdown in Tabularia

Use typed markers for formatting, or bring Markdown in and out.

1. Markdown is a way in and out

Markdown uses typed markers to apply formatting. In Tabularia, those markers become headings, quotations, code, and styled text, and the same markers carry your writing in and out of other apps.

It meets Markdown in four places, and each understands a slightly different amount:

2. What each syntax does

In the first three columns, a dash means the characters stay on the page as ordinary text. The sections after the table explain the rows that need more than a word.

Markdown syntax across typing, import, paste, and export
Syntax Typing Importing a file Pasting Export writes it
# to #### heading Heading 1–4 Heading 1–4, and some start chapters Heading 1–4 Yes
##### and ###### — Heading 4 — No
A line that is only # — Scene break — No
**bold**, __bold__ Bold Bold Bold As **bold**
*italic*, _italic_ Italic Italic Italic As _italic_
~~struck~~ Strikethrough Strikethrough Strikethrough Yes
++underline++, <u> — — Underline No (underline is dropped)
> quotation Block quote Block quote Block quote Yes
-, * bullet Bullet list Bullet list (+ too) Bullet list As -
1., 1) numbered Numbered list Numbered list Numbered list As 1.
***, * * * Scene break Scene break Scene break As ***
---, ___, **** Divider Divider Divider As ---
``` fenced block Code, from three backticks on an empty line Code (~~~ fences too) Code As a ``` fence
[text](address) — Link, to a web or email address (otherwise the text alone) Link, by the same rule As [text](address)
![alt](image) — The text [Image: alt] — Yes, with the image file
[^label], ^[note] A Footnote A Footnote — As HTML, with the notes after each Book
<!-- -->, {>> <<} — A comment — No
--- front matter — Title, author, language, and Section numbers — Title, author, and language

Task lists and ==highlight== stay plain text, as does `inline code`. Importing a Markdown table sets it as a table, with its first row as the header row and each cell's emphasis and links kept. Pasting a table sets it as a table too, read the same way as an import.

A list item indented under another nests inside it, whether you import the file or paste the text. Lists go three levels deep, and an item indented further joins the third level. Export indents each nested item under its parent's words.

3. Scene breaks and dividers are different things

A Scene Break starts a new Scene in the Outline. A Divider adds a visual break without changing the structure. Tabularia uses different Markdown markers for each.

Use *** or * * * for a Scene Break. Dashes, underscores, or four or more asterisks create a Divider. These rules apply when typing, pasting, and importing. File import also treats a lone # line as a Scene Break.

4. Typing shortcuts

Enable Markdown shortcuts in Writing Tools to use them while typing. The setting belongs to this browser, so other devices keep their own choice. Writing and formatting lists the triggers.

  • Block markers (headings, >, and numbered lists) only count at the very start of a paragraph, and convert on the space.
  • A bullet waits one character longer. - and a space stay as typed until you type the first word, so that * * * can still become a scene break.
  • Bold, italic, and strikethrough apply the moment you type the closing marker.
  • Scene breaks and dividers convert when you press Return on a line holding only the rule.
  • Three backticks on an empty line make it a line of code the moment the third lands, with no space needed. One or two backticks followed by anything else turn back into the apostrophes they would have been.
  • An inline note such as ^[a note] turns into a Footnote at its closing bracket. A [^label] reference pairs with a paragraph that opens [^label]:, and you can write the two in whichever order suits you.
  • A numbered list starts at one whatever number you typed. Task boxes like - [ ] are left alone.

One Undo puts the markers back exactly as you typed them. To keep a marker without converting it, type a backslash first: \# and a space leaves # on the page, and the backslash disappears. In a paragraph under review, a shortcut becomes a pending Review Change like any other edit. Shortcuts do nothing while text is selected, in a scene break, divider, or line of code, or while you are previewing a Snapshot.

5. Importing a Markdown file

Import .md, .markdown, or MultiMarkdown's .mmd as a Manuscript. The shallowest heading level used more than once becomes Chapters; a single title above them belongs to the first Chapter. Without an opening heading, the filename supplies its title.

When inserting as a Scene or prose, headings remain headings. Markdown does not infer Acts or Books; add them later in the Outline.

Front matter at the top of the file can name the manuscript. Its title becomes the title and author the author, and a MultiMarkdown file's Title: and Author: lines do the same. A lang such as ar sets your book's Language. With section-numbers: marked the file sets its own Section numbers. A paragraph that opens with a mark such as {§12} becomes Section 12, the paragraphs after it belong to that Section until the next mark, and the mark itself leaves the text. A mark such as {§12.2} makes its paragraph Subsection 2 of Section 12, keeping the number the text prints; it is read only inside Section 12. The new Book shows those numbers in the left margin, as § 12 and § 12.2, beside each paragraph's first line. Other keys are set aside with a note in the import review. Consecutive > lines become one quotation, and a blank > line between paragraphs keeps them in the same one.

Anything Tabularia has no shape for keeps its words and loses its structure, and the import review lists it:

  • A quotation inside a quotation becomes a separate quotation.
  • A list nested past three levels joins the third level.
  • An image reference becomes the placeholder text [Image: …] where it stood.

Website and email links import as links. Local paths, links to other notes, and heading links keep their wording without an address, and the review counts them.

A block fenced with ``` or ~~~ becomes a code block, every line and indent as written. A block indented four spaces does not, because a novel saved as text indents its paragraphs the same way, and a chapter set in Courier is the worse mistake. An indented paragraph reads like any other, its italics and links included.

A line that ends in a backslash or two spaces, or a <br>, becomes a line break inside its paragraph, the kind Shift + Return makes. A single newline is only a space, as Markdown intends. The exception is a file whose long lines each end a sentence: Tabularia reads that as one paragraph to a line and notes it in the review.

A line that asks your editor to build a table of contents, such as [TOC], is not kept as text. The Book's own Contents page is switched on in its place and lists your Chapters from the Outline; Importing names every marker it reads.

Footnote references such as [^label] connect to their [^label]: definitions. Indented paragraphs stay in the same note; ^[note] creates an inline note.

Missing or unused definitions are reported. A reference in a heading moves to the end of the following paragraph.

HTML in a Markdown file is read as the HTML it is, so <i> and <b> become italic and bold and a centered paragraph stays centered. An <hr> is a Divider. A picture the file carries in an <img> lands where the tag stood. A line holding nothing but an escaped mark, such as \*\*\* or \#, is a scene break, the way a Google Docs Markdown download writes the breaks you typed. A picture the file carries inside a sentence goes on the line right after its paragraph.

Two kinds of comment come across as Tabularia comments: an HTML comment <!-- like this -->, and CriticMarkup's comment forms, {>>a note<<} at a point or {==a phrase==}{>>a note<<} across a phrase. CriticMarkup's insertions, deletions, and substitutions are not read and stay as typed. Files from Obsidian, Joplin, iA Writer, and Bear get extra handling of their own, described in Importing an existing manuscript. A single Obsidian note keeps the names its links and embedded notes show, sets its callouts as quotations, and leaves out its %% comments. Pandoc's attribute braces, such as {#id .class}, and its ::: fences are left out, and their words kept.

6. Pasting Markdown

Pasted Markdown creates formatted paragraphs, not Chapters or matter pages, and a fenced block comes in as code. It does not import comments. Paste also recognizes ++underline++ and <u> tags.

One Markdown line makes the whole paste use Markdown rules. For example, a --- line also causes asterisks elsewhere to become formatting. Choose Paste without formatting to preserve literal text.

Copying from one Tabularia manuscript into another never goes through Markdown at all. The copy carries Tabularia's own format alongside it, so alignment, quotation details, footnotes, and formatting Markdown cannot express survive the trip. The rest is in Copying and pasting.

7. Exporting and copying to Markdown

Markdown export includes the title, author, and your book's Language in front matter. With pictures, the download is a zip containing manuscript.md and an images folder. A Book whose Contents page is on starts with a list of its Chapters, linked to their headings. A heading inside a Chapter is always written below the Chapter's title, a level deeper when the two would otherwise match, so the file opens again with the same Chapters. HTML, Word, and EPUB files do the same. A copy from the canvas also offers Markdown to apps that ask for it. See Export.

Export escapes opening markers such as # or - so ordinary paragraphs remain paragraphs. An opening tab uses &#9; to avoid becoming a code block, and a line break inside a paragraph ends its line with a backslash.

Overlapping bold, italic, or strikethrough can be too intricate for Markdown's markers. Those passages use <strong>, <em>, or <s> tags instead. Importing or pasting them back restores the formatting. Literal tag text is escaped when exported, so it stays text.

Plain Markdown has no footnotes, so the export writes them as small pieces of HTML: a linked number where each reference stood, and the notes under a Footnotes heading at the end of each Book, every one with a link back to its place. A copy from the canvas is simpler. Its Markdown marks each reference with a bracketed number, [1], and puts the copied notes after the prose.

Markdown has nowhere to put some of what Tabularia holds, so an export leaves out:

  • underline, highlight, text color, typeface, size, and letter spacing
  • alignment and drop caps
  • ornaments
  • a quotation's attribution link and category
  • scene labels, anchors, and comments

Export to DOCX, EPUB, or HTML when those need to travel.

8. A round trip through Markdown

A Markdown round trip keeps the title, the common text formatting, and the shapes the table above marks as written, from lists and quotations to scene breaks, dividers, and code. Chapters are rebuilt from the heading rules rather than stored as Chapter records.

Everything in the export's leave-out list stays lost. Import the ZIP the export made, with its pictures inside, and each picture returns under the paragraph it stood beside; the Markdown file alone brings back only their [Image: …] placeholders. Footnotes return as Footnotes, provided the HTML the export wrote for them reaches the import untouched. An editor that rewrites it leaves you tidying by hand.

9. Continue reading

Try it on your own book

Start a free evaluation. No card needed.

Try free See plans and pricing