当前位置:网站首页>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
边栏推荐
- C# F23. Stringsimilarity Library: String repeatability, text similarity, anti plagiarism
- Metalama简介4.使用Fabric操作项目或命名空间
- 论文解读(CGC)《CGC: Contrastive Graph Clustering for Community Detection and Tracking》
- VMware virtual machines export hard disk vmdk files using esxi
- SynchronousQueue 源码解析
- Optimize connections using connection groups (IM 6)
- Database Navigator 使用默认MySQL连接提示:The server time zone value ‘Öйú±ê׼ʱ¼ä’ is unrecognized or repres
- 【Redis 系列】redis 学习十三,Redis 常问简单面试题
- QT interprocess communication
- 【unity笔记】L4Unity中的基础光照
猜你喜欢

Win10 splash screen after startup

Basic software testing Day2 - Case Execution

没有空闲服务器?导入 OVF 镜像快速体验 SmartX 超融合社区版

How do programmers finalize nucleic acid statistics with 130 lines of code

力扣刷题之完全二叉树的节点个数

How to solve the computer system card?

QT interprocess communication

C set Logo Icon and shortcut icon

Qt绘制文字

QT draw text
随机推荐
[redis series] redis learning 13. Redis often asks simple interview questions
一个平面设计师的异想世界|ONES 人物
Stacks and queues a
第二十五课 类的静态成员变量
C# F23. Stringsimilarity Library: String repeatability, text similarity, anti plagiarism
STM32CubeProgrammer基础使用说明
AI 视频云 VS 窄带高清,谁是视频时代的宠儿
消息队列概述
运行报错:找不到或无法加载主类 com.xxx.Application
Why is the premise of hash% length = = hash & (length-1) that length is the nth power of 2
Lesson 26 static member functions of classes
worder字体网页字体对照表
QT interprocess communication
Array---
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
Qt绘制图像
A graphic designer's fantasy world | ones characters
Nativeformysql connects to MySQL 8 prompt: 1251 - client does not support authentication protocol
Idea code formatting plug-in save actions
Windows11 安装MySQL服务 提示:Install/Remove of the Service Denied