Appearance
Bike Markdown Format
Bike Markdown (.md) stores your outline as plain text you can read, diff, and edit anywhere. It's a subset of standard Markdown, plus Pandoc attributes for row and text attributes Markdown can't express. Bike warns you when a .md file uses Markdown outside that subset.
Markdown Subset
Bike Markdown uses standard Markdown unordered lists to encode outline hierarchy. Each row is a list item (- ), and indentation creates nesting:
- Parent
- Child
- Grandchild
- Another childRow Types
Row types use standard Markdown syntax:
| Type | Syntax | Example |
|---|---|---|
| Body | - | - Regular text |
| Heading | - # | - # Section title |
| Blockquote | - > | - > Quoted text |
| Task | - [ ] | - [ ] Incomplete task |
| Task (done) | - [x] | - [x] Completed task |
| Ordered list | 1. | 1. First item |
| Unordered list | + | + Bullet item |
| Code block | - `...` | - `code content` |
| Note | - with {type=note} | - A note {type=note} |
| Log | - with {type=log} | - Log {type=log} |
| Horizontal rule | - --- | - --- |
A task's state is richer than a checkbox, so only done writes - [x] . A started or canceled task writes an unchecked - [ ] plus a {status=value} trailer.
Text Formatting
Inline formatting uses standard Markdown syntax:
| Format | Syntax |
|---|---|
| Bold | **text** |
| Italic | *text* |
~~text~~ | |
Code | `text` |
| Highlight | ==text== |
| Link | [text](url) |
Superscript and subscript have no Markdown syntax, so they're written as spans: E = mc[2]{baseline=sup}. See Pandoc Attributes.
Pandoc Attributes
Row and text attributes that Markdown can't express use Pandoc's attribute syntax:
{#identifier .class key="value"}They're only written when needed.
Row attributes appear at the end of a row:
- A note {type=note}
- Styled row {.highlight}Row IDs are written only when a link in the document references them, or when they were set explicitly:
- # Section {#intro}
- See the [intro section](#intro)Inline attributes use Pandoc's span syntax [text]{attrs} when Markdown has no equivalent:
- E = mc[2]{baseline=sup}Attachments
Attachments use Markdown image syntax, whatever the file type, pointing into the document's assets folder:
- Vacation 
- Budget Display width is a percentage of the text column or a number of points:
- {width=50%}
- {width=320}Frontmatter
Files can begin with a JSON metadata block, holding the outline's id and data such as words to ignore when spell checking and the sidebar's pinned rows and saved filters:
---
{"root-id":"c43J5daN"}
---
- First rowBike manages it automatically.
Escaping
Row type prefixes in text are escaped with a backslash:
- \# This is not a heading
- \> This is not a blockquote
- \+ This is not a list itemStandard Markdown escaping applies to inline characters like * and [.
Example
- # Project Notes {#notes}
- This has **bold** and *italic* text
- > An important quote
- [ ] Review the [notes](#notes)
- [x] Write initial draft
1. First step
2. Second step
- ---