当前位置:网站首页>Markdown advanced syntax, marktext compatible
Markdown advanced syntax, marktext compatible
2022-06-22 02:42:00 【The end of the world and you】
MarkDown Advanced Grammar
1. Metadata
Front matter Allows you to insert metadata into your document . The preceding content block must be written on the first line , And then everything else , As shown in the following example .
YAML
YAML The front-end content block starts and ends --- Line identification .
---
title: YAML front matter example
key: value
---
Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
Display style :
TOML
TOML The front-end content block starts and ends +++ Line identification .
+++
title = "YAML front matter example"
key = "value"
+++
Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
Display style :
JSON
JSON The preceding content block is composed of the beginning and the end ;;; Line or {} identification .
{
"title": YAML front matter example
"key": {
"subkey1": "value 1",
"subkey2": "value 2"
}
}
Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
Display style :
2. The mathematical formula
Inline mathematical formula
Put a line LaTeX Change to a dollar sign :$
For example, to show $\alpha \beta \gamma$ inline with other text, just wrap it in dollar signs.
Display style :
Block mathematical formula
Two consecutive dollar signs are used to represent multiline mathematical formulas :$$
for example , This :
$$
R_x=\begin{
pmatrix}
1 & 0 & 0 & 0\\
0 & cos(a) & -sin(a) & 0\\
0 & sin(a) & cos(a) & 0\\
0 & 0 & 0 & 1
\end{
pmatrix}
$$
or
$$
m=\frac{
b_y-a_y}{
b_x-a_x}
$$
Display style :
3. original HTML
Anything between <> Between looks like HTML The marked text will be parsed into the original HTML Mark and render as HTML Without escaping .
**Visit <a href="https://github.com">Jon Schlinkert's GitHub Profile</a>.**
Display style :
4. Escape with backslash
whatever ASCII Punctuation characters can be escaped with a single backslash .
Example :
\*this is not italic*
Display style :
边栏推荐
猜你喜欢

Ioerror: no translation files found for default language zh cn Solutions for

Development of power plant compliance test system with LabVIEW

Select for i/0 multiplexing

Asemi fast recovery diode FR107 parameter, FR107 real object, FR107 application

rt_ Message queue of thread

Chapter 24 image and video processing based on Simulink -- matlab in-depth learning and practical collation

MySQL 递归查找树形结构,这个方法太实用了!

智翔金泰冲刺科创板:年营收3919万亏损超3亿 拟募资40亿

如何选择合适的 Neo4j 版本(2022版)

fatal error: png++/png.hpp: 没有那个文件或目录
随机推荐
Introduction to Apache ActiveMQ Artemis
【2. 归并排序】
微软 IE 浏览器于 6 月 15 日被永久关闭
Transformation numérique des RH avec okr
Comprehensive interpretation by enterprise reviewers: enterprise growth of [State Grid] China Power Finance Co., Ltd
Unicode decodeerror appears: 'ASCII' codec can't decode byte 0xe9 in position 0: ordinal not in range solution
Game jam development cycle
PMP pre exam guide on June 25, you need to do these well
银联支付 返回商户 Nignx post请求405
Parallel search DSU
Neo4j 技能树正式发布,助你轻松掌握Neo4j图数据库
【9. 子矩阵和】
Paper notes: multi label learning ackel
Select for i/0 multiplexing
Wechat applet film and television comment exchange platform system graduation design (3) background function
Extending kubernetes API with CRD
What programming does a child learn?
使用 OKR 進行 HR 數字化轉型
Brief introduction to common pigtails of communication pigtails
【7. 高精度除法】