当前位置:网站首页>Markdown grammar learning
Markdown grammar learning
2022-04-23 12:21:00 【Phoenix1st】
Markdown Grammar learning
Brief introduction Markdown Basic syntax and extended syntax GFM
1 Basic grammar
All marking symbols must be half width ( english ) Punctuation
1.1 typeface
- title
- grammar : The bottom line (—) and #
- Title Format “# + Space + Title Content ”
- Insert... At the beginning of the line #
- "#" The number of = The level of the title
- # Add a space after it
- Up to six levels of titles
- Use standard
- Just use #
- It is recommended to leave a blank line before and after the title , Unless at the beginning of the text
- "#" Leave a space between and the text
- "#" Don't have punctuation marks before and after
- Keep the title short
- Bold and italic
- bold , Two - Or two * The parcel
- Italics , One - Or a * The parcel
- It is recommended to use only *
1.2 Paragraphs and line breaks
- list
- Ordered list , Numbers + English period + Space + List content
- Unordered list ,*/+/- + Space + List content
- Nested list , Press... Before the lower list tab
- Ordered lists and unordered lists can be nested with each other
- Split line
- 3 Or 3 More than one */- To mark
- There can be no other characters in the line
- You can put a space in the middle of the marker
1.3 picture
- grammar ,! + [] + ()
- Picture alternative text can be empty
- Picture address , It could be a local path , But it is suggested that the network address
1.4 written words
- Text links
- grammar ,[] + ()
- After too many connections , Poor readability
- Reference connection
- grammar ,[ Link text ][ Link tags ];[ Link tags ]: Link address
- Link tags are not case sensitive
- The defined links are suggested at the end of the page
- Link address must be in http/https start
- network connections
- grammar ,"< + URL + >"
- Link tags should be meaningful
- network address There is no need to With http or https start
1.5 Inline code and code blocks
- Inline code
- use ` The parcel
- Code block
- use 3 individual ` The parcel
- Use standard
- When escaping or emphasizing certain characters , It can also be used. ` The parcel
- When the code exceeds one line , Code block recommended
- Use fence code blocks ,3 individual ` start
1.6 quote
- grammar ,> + Quotes
- Multiline references , Insert... At the beginning of each line >
- References can be nested
2 Extended syntax GFM
GFM,GitHub Flavored Markdown
2.1 Delete line
- grammar , Two ~~ The parcel ,
Be deleted
2.2 expression
- grammar , use : Wrap it up ,
2.3 form
- grammar
| Header 1| Header 2| Header 3|
|-|-|-|
| Content 1| Content 2| Content 3|
Header 1 | Header 2 | Header 3 |
---|---|---|
Content 1 | Content 2 | Content 3 |
- explain
- Cell uses | Separate , The first and last are |
- Spaces between cells are removed
- Header and other lines are used — To separate
- Table alignment
- Align left , :…
- Right alignment ,…:
- Align center ,:…:
- Block level elements cannot be inserted into tables
2.5 Task list
- grammar ,- + Space + [ Space /X/x] + Space + Written content
- Hello
2.6 Anchor point
[ Anchor description ][# Anchor name ]
Anchor names cannot have spaces or special symbols
attach
1. Markdown Mathematical formula grammar
版权声明
本文为[Phoenix1st]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231215229408.html
边栏推荐
- 一个平面设计师的异想世界|ONES 人物
- Tan Xiang, CEO of Kechuang · Pera software: the essence of zero trust is digital security. To B should also deeply study the user's mind
- How to switch PHP version in Windows 2008 system
- Win10 splash screen after startup
- Fastjson 2 is coming, the performance continues to improve, and it can fight for another ten years
- On using go language to create websocket service
- How do traditional enterprises cope with digital transformation? These books give you the answer
- c# 设置logo图标和快捷方式的图标
- ThinkPHP adds image text watermark to generate promotion poster with QR code
- Qt一个进程运行另一个进程
猜你喜欢
PSCP basic usage
Message queuing overview
《通用数据保护条例》(GDPR)系列解读三:欧洲子公司如何向国内母公司回传数据?
QT one process runs another
为什么要有包装类,顺便说一说基本数据类型、包装类、String类该如何转换?
运行报错:找不到或无法加载主类 com.xxx.Application
网络信息安全之零信任
One way ANOVA of SPSS
Tan Xiang, CEO of Kechuang · Pera software: the essence of zero trust is digital security. To B should also deeply study the user's mind
在 VSCode 中调试 Jest 的测试用例,VSCode调试Jest测试用例报错basedir=$(dirname “$(echo “$0“ | sed -e ‘s,\\,/,g‘)“)解决
随机推荐
Metalama简介4.使用Fabric操作项目或命名空间
Array---
力扣-70.爬楼梯
Idea code formatting plug-in save actions
How does sqlserver insert or update the number of weeks of the day instead of text
Source code analysis of synchronousqueue
Tan Xiang, CEO of Kechuang · Pera software: the essence of zero trust is digital security. To B should also deeply study the user's mind
How to switch PHP version in Windows 2008 system
On lambda powertools typescript
QT draw text
Win10 splash screen after startup
Tips for installing MySQL service in windows11: Install / Remove of the Service denied
Intelligent multi line elastic cloud adds independent IP address. How to realize multi line function?
《通用数据保护条例》(GDPR)系列解读三:欧洲子公司如何向国内母公司回传数据?
Chapter 4: enable and disable im column storage for materialized view (IM 4.6)
魔域来了H5游戏详细图文架设教程
力扣刷题之完全二叉树的节点个数
如果你是一个Golang面试官,你会问哪些问题?
Master slave replication configuration of MySQL
Next. JS static data generation and server-side rendering