Markdown模板

Heading-H1

Blockquote

1
2
// the hello world program
console.log('Hello World');

H2

PlainSup, BoldSub , Italic, Highlight, code, Footnote[1], Linking to Heading IDs, Strikethrough,

  • Unordered List First item
  1. Ordered List First item
  • [ ] Task List
  • [x] Completed
1
console.log("hello, world")

Charts (supported by Obsidian)

1
2
3
4
5
6
7
8
9
type: line
labels: [Monday,Tuesday,Wednesday,Thursday,Friday]
series:
- title: Title 1
data: [1,2,3,4,5]
- title: Title 2
data: [5,4,3,2,1]
- title: Title 3
data: [8,2,5,-1,4]

1
2
3
4
5
6
7
8
9
type: doughnut
labels: [Monday,Tuesday,Wednesday,Thursday,Friday]
series:
- title: Title 1
data: [1,2,3,4,5]
- title: Title 2
data: [5,4,3,2,1]
width: 40%
labelColors: true

Table

Name Gender Age
John Male 21
Hermione Female 18

Graph

Use mermaid:

graph LR
A[Apple]
B[Lemon]
A --"?"--> B

Latex

行内公式:

y=0nxy = \sum_{0}^{n}x

行间公式:y=0nxy = \sum_{0}^{n}x

Tips

markdown导出PDF时分页:
<div STYLE="page-break-after: always;"></div>

marp作品

  1. This is the footnote.

本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!