Markup support in Olog is based on the Commonmark specification. Olog supports additional markup features: image size and tables.
In contrast to other markup implementations Olog does not support HTML in the source. HTML tags entered by user will be rendered as plain text.
The below list is a quick reference for the supported markup features. However, there are a few things to keep in mind when editing a log entry text:
| Type | Or | … to Get | ||||||
|---|---|---|---|---|---|---|---|---|
| *Italic* | _Italic_ | Italic | ||||||
| **Bold** | __Bold__ | Bold | ||||||
| # Heading 1 |
Heading 1 ========= |
Heading 1 |
||||||
| ## Heading 2 |
Heading 2 --------- |
Heading 2 |
||||||
| [Link](http://a.com) |
[Link][1] ⋮ [1]: http://b.org |
Link | ||||||
|
{width=100 height=150}
NOTE: the {width=100 height=150} NOTE: no blank character between closing paranthesis and opening curly bracket. |
![Image][1]
NOTE: this variant does not support |
|
||||||
| > Blockquote |
Blockquote |
|||||||
|
* List |
- List |
|
||||||
|
1. One |
1) One |
|
||||||
|
Horizontal Rule --- |
Horizontal Rule *** |
Horizontal Rule
|
||||||
| `Inline code` with backticks |
Inline code with backticks
|
|||||||
|
``` # code block print '3 backticks or' print 'indent 4 spaces' ``` |
····# code block ····print '3 backticks or' ····print 'indent 4 spaces' |
# code block
print '3 backticks or' print 'indent 4 spaces' |
||||||
|
| Table Header 1| Table Header 2| |---------------|---------------| | Table Cell 11 | Table Cell 12 | | Table Cell 21 | Table Cell 22 | |
|