Markdown Syntax
Character Formatting
Strong: Surround text with two asterisks (**) or two underscore characters (__).
Emphasis: Surround text with single asterisks (*)or underscore characters (_).
Strikethrough: Surround text with two tildes (~~).
Code: Surround text with single backquotes (`).
Combinations: Surround text with single underscore characters or two tildes inside two asterisks. Surround text with three asterisks to apply strong emphasis.
Headings
To apply a heading style, start the line with one to six number signs #. Follow the number signs with a space character and enter the heading text. The number of # signs determines the heading level.
Hub also supports an alternative syntax for heading levels 1 and 2:
- For heading level 1, enter one or more = characters on the following line.
- For heading level 2, enter one or more - characters on the following line.
# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6 Heading 1 - Alternative Syntax ======== Heading 2 - Alternative Syntax --------
Paragraphs and Line Breaks
Contiguous lines of text belong to the same paragraph. Use the following guidelines to structure your content into paragraphs and enter line breaks.
To start a new paragraph, leave a blank line between lines of text.
To start a new line inside a paragraph, enter two trailing spaces at the end of the line of text.
Thematic Breaks
Create sections in your content with horizontal lines. Use any of the following methods to add a horizontal line:
- Three underscores (___)
- Three minus signs (---)
- Three asterisks (***)
Block Quotes
Use block quotes to call special attention to a quote from another source. You can apply character formatting to inline text inside the quoted block.
To set text as a quote block, start the line with one or more > characters. Follow these characters with a space and enter the quoted text. The number of > signs determines the level of nesting inside the quote block.
If your quote spans multiple paragraphs, each blank line must start with the > character. This ensures that the entire quote block is grouped together.
Lists
Use the following syntax to create lists:
- To create an unordered list, start the line with a dash (-), asterisk (*), or plus sign (+).
- To create an ordered list, start the line with a number and a period (1.). Increment subsequent numbers to format each item in the ordered list.
- To nest an unordered list inside an unordered or ordered list, indent the line with two spaces. Nesting ordered lists is not supported.
Tables
Tables are a great tool for adding structure to your content. Use the following syntax to create tables:
- To create columns, use vertical bars (|). The outer bars are optional.
- Separate the header row from the rest of the table with three or more dashes (---).
Note that the columns don't have to line up perfectly in the raw Markdown. You can also add character formatting to text inside the table.
Links
Wrap link text with brackets [ ] followed by the URL in parentheses ( ).
[inline link](https://www.link.com)
Images
The syntax for images is similar to the syntax for links. To insert an inline image:
- Start the line with an exclamation point (!).
- Wrap the alt text with brackets ([ ]).
- Set the image URL and tooltip in parentheses (( )).
![logo](https://file.com/image.png "Text")
Backslash Escapes
When you have characters that are parsed as Markdown that you want to show as written, you can escape the character with the backslash (\).
- Backslashes before non-markup characters are shown as backslash characters.
- Escaped characters are treated as regular characters. Their usual meaning in Markdown syntax is ignored.
- Backslash escapes do not work in fenced code blocks, inline code spans, or autolinks.
Markdown Editor
Features
- Multiple tabs
- Power you to open, edit or preview multiple files on the same time
- Auto save and recovery
- Not need to save manually, data can be recoved next time when close the browser,even terminated by power off.
- Insert a local image without upload
- Not like more editor do, you don't need to upload before inserting a local image.
- Paste screen capture directly
- Print your screen with PrtScn, then Ctrl+V directly
- Shortcuts
- See more detail on the following
- Fullscreen mode
Shortcuts
Ctrl+O: Open file(local or remote)
Ctrl+S: Save file
Ctrl+T: New file(New tab)
Ctrl+W: Close file(Close tab)
F5: Markdown preview