Markdown

语法

*斜体*
**加粗**
==高亮==
`行内代码`
~~删除线~~
[链接](https://example.org/)
<u>下划线<u>

Reference-style links

[label 1][reference link]  
[label 2][reference link]

[reference link]: [https://www.google.com](https://www.google.com/)

Footnotes

Here is a simple footnote1.

A footnote can also have multiple lines2.

You can also use words, to fit your writing style more closely3.

LaTeX 公式

$$E=mc^2$$

Markdown 代码块支持的语言

GitHub uses Linguist to perform language detection and syntax highlighting. Here a list of common languages that can be used with the backtick (see full list in Linguist - languages.yml).

名称关键字
Ccpp, c
C#csharp
CSScss
Delphidelphi, pascal, pas
Diffdiff patch
Erlangerl, erlang
GOgo, golang
Javajava
JavaScriptjs, jscript, javascript
JSONjson
PHPphp
Pythonpy, python
Rubyruby, rails, ror, rb
SASS & SCSSsass, scss
Shellsh, bash, zsh
SQLsql
Swiftswift
Texttext, plain
XMLxml, xhtml, xslt, html
YAMLyml

Front Matter

Front matter allows you to keep metadata attached to an instance of a content type—i.e., embedded inside a content file.

aliases: [/posts/my-old-url/]
tags: [investing, stock]

Footnotes

  1. My reference.

  2. Every new line should be prefixed with 2 spaces.
    This allows you to have a footnote with multiple lines.

  3. Named footnotes will still render with numbers instead of the text but allow easier identification and linking.
    This footnote also has been made with a different syntax using 4 spaces for new lines.


posted: