Markdown测试与记录

发布于 2020-02-27  534 次阅读


wordpress中markdown测试

这是一个二级标题 (ctrl+2

华丽的分割线(ctrl+h)


字体

这是粗体 (ctrl+b)
这是斜体 (ctrl+i)
这是删除线


列表

无序列表 (ctrl+u

  • 比喻
  • 拟人
  • 排比

有序列表

  1. 人生到处知何似,应似飞鸿踏雪泥。
  2. 何夜无月,何夜无松柏,但少闲人如吾两人者尔!
  3. 小舟从此逝,江海寄余生。

代码块

行内代码(ctrl+k):
print("Hello world!")
python代码块:

import pandas as pd

sample_data = pd.read_excel("sample_data.xlsx")
print(sample_data.head())

java代码块:

public class string_test {
    public static void main(String[] args) {
        String s = "hello";
        String t = s;
        s = "world";
        System.out.println(t);
}
}

链接

这是一个markdown的cheatsheet链接 (ctrl+l)

图片

待补充一张合适的图片