Markless Markdown standards
The Markdown style Markless writes when you edit a block, one line per rule.
Today, when you edit a block, Markless rewrites that block in the style below. These rules can change over time, and some may move to keeping the block as you wrote it.
A plain-text file (UTF-8, standard line endings) that you open and save without editing is saved exactly as it was. Usually only the block you edit is restyled. If keeping the rest would change how the file reads, Markless saves the whole file in this style. See also the Markdown guide and Support.
Headings
- An underlined heading becomes a
#heading:Titleover=====becomes# Title, and over-----becomes## Title. - Extra
#marks at the end are removed:# T #becomes# T.
Lists
*and+bullets are kept.1)numbers are kept, and a list numbered1.1.1.is kept.- Numbers out of order are counted again from the first:
3.7.becomes3.4.. - The space after the marker is kept, so
- astays as written. - Indenting of nested items and blank lines between items are kept.
- Task marks keep their letter case:
[X]stays[X]. - Two lists side by side, one with
*and one with-, stay two separate lists.
Emphasis and text
_italic_and__bold__are kept.~strike~becomes~~strike~~, and~~strike~~is kept.- A forced line break (two spaces or a backslash at the end of a line) is written as two spaces.
- Symbols that could be mistaken for formatting get a backslash:
file_namebecomesfile\_name,a * bbecomesa \* b, and~~x~~typed as text becomes\~\~x\~\~. &in the file becomes&:AT&TbecomesAT&T.
Code
- An indented code block becomes a block wrapped in three backticks.
~~~fences are kept.- Longer fences are kept:
````and`````jskeep their length.
Tables
- Every row except the line under the header gets one space on each side of every
|:|a|b|becomes| a | b |. - The line under the header is kept as you wrote it, including
:--and--:alignment marks, when the alignments do not change. - A table with merged cells (
||or^) is kept exactly as written.
Links and images
- A web address in angle brackets, like
<https://x>, is kept. - An email address in angle brackets becomes a link:
<a@b.co>becomes[a@b.co](mailto:a@b.co). - A link address, like
(#my_section), is kept. - A reference image
![x][r]becomes, and the[r]: p.pngline is kept. - Formatting in an image description is dropped:
becomes.
Whole-file rules
- Extra blank lines around the block you edit shrink to one; other gaps are kept.
- Spaces at the end of a line in the edited block are removed, except the two spaces of a hard line break.
- A missing final newline is added, and extras are removed, only when you edit the last block.
- A divider line written
***or___is kept; inside a quote or list item you edit, it becomes---. - In a quote you edit, a line that lacks
>gains one. - The settings block at the top of a file (front matter) closed with
...is kept; if you edit it, it is closed with---.