
Shortcut Input Syntax
You can type in THORN with Markdown syntax.
However, not all Markdown syntax is supported. In short, the syntax for styling and some node shortcuts are supported, such as multi-level headings, quote blocks, code blocks, bold, italic, ordered/unordered/to-do lists, separators, etc...
It should be noted that THORN does not support headings of four levels or more.
However, there are some more complex syntaxes that THORN does not support, such as tables, links, images, etc...
For tables, links and images, we recommend that you insert and manage them visually.
THORN's support for article styles and nodes is far more powerful than Markdown, and some of the features embodied in the Markdown syntax are only a subset of THORN's capabilities.
All of the shortcut syntax used in THORN is described below, similar to Markdown, but with more support.
Shortcut syntax in THRON
Style
Bold: **bold text**, __bold text__
Italics: *italic text*, _italic text_
Delete line: ~~delete text~~
Comment text: ++comment text++
Inline code: `text`
Node
Title: Type #+Space at the beginning of the paragraph, THORN will generate one or two or three titles according to the number of # signs
Quote Block: Type >+space at the beginning of the paragraph
Formula Block: enter $$+space at the beginning of the paragraph.
Inline Formula: enter a space+$ +space in the middle of the paragraph
Ordered List: enter *+space at the beginning of the paragraph
Unordered List: paragraph at the beginning of the input number + decimal point + space
To-Do List: paragraph at the beginning of the input [+space+]+space, as THORN for bracket-like symbols will be automatically completed, so in fact only need to enter [+space+Tab+space that can be, where the Tab key is used to move forward out of the brackets (while the Esc key can also be).
Code Block: enter ```+space at the beginning of the paragraph, or ``` language+space
Separator: at the beginning of the paragraph enter ---
Comment Block: enter //+space at the beginning of the paragraph, ⚠️Note: the content of the comment block will not appear in the exported and shared content, the content of the comment is displayed in the editor as much as possible.
Other
Hard break in paragraph:Command/Ctrl + Enter
Create a new paragraph: Enter
Move out of brackets: Tab/Esc, only if the cursor is after the last character of the content wrapped in a bracket-like symbol
A PRO Tip ⚡️
Suppose you are typing a bolded and slanted text, it will be troublesome if you want to unbold and slant it, it doesn't seem very convenient, for this case, THORN provides a shortcut key (Tab or Esc) to clear all text styles currently applied, see the video demonstration!