Markdown For Typora
Table of contents
Table of content you need input '[toc]'
文章目录
Quick Start Keys
Head Ctrl + 1 2 3...
Increase Crtl + =
Table Ctrl + T
Order list Ctrl + Shift +[
Unorder list Ctrl + Shift +]
Strong Ctrl + B
Emphasis Ctrl + i
Underline Ctrl + u
Strike Alt + Shift +5
HyperLink Ctrl + k
Image Ctrl + Shift + I
Comments
Headers
Headers use 1-6 hash(#) characters at the start of the line.
# This is an H1
## This is an H2
### This is an H3
H3
H4
Lists
Input * list item will create an unordered list
Input 1. list item will create an ordered list
## un-ordered list
* red
* green
* blue
## ordered list
1. red
2. green
3. blue
- red
- green
- blue
-
red
-
green
-
blue
Code Blocks
/**
* Check whether customer is ready to provider service or not
* @param customerCodeMapping the code of the customer auto generated by the
* configuration flow
* @return whether customer is ready to provider service or not
*/
public boolean isCustomerHealthy(String customerCodeMapping) {
return remote.isCustomerHealthy(customerCodeMapping);
}
syntax highlighting:
```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
Tables
## table just use as follow
|first|second|
first | second |
---|---|
star | zhong |
demo | demo |
Footnotes
You can create footnotes like this [^footnote]
create a footnotes like this[^foot like this]
Horizontal rules
Input *** or --- to create a horizontal rules
Links
This is [an example](http://example.net/)
[This link](http://example.net/) has no title attribute.
This is a link for Baidu
URLS
Typora allows us to insert urls
<url>
<www.gogole.com>
Images
We can input ![]() to insert images
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-RahTAEtL-1569832780208)(C:\Users\star.zhong\Desktop\java反射png.png)]
Strong
use ** ** to make the words strong
**Strong**
__Strong__
Strong
Strikethrough
Use the ~~text~~ to create strikethrough text
Mistaken text. becomes Mistaken text
Underlines
Use <u>Underline</u>
Underline
Emoji
:smile:.
?
?
HTML
use `<span style="color:red">this text is red</span>
this text is red