Markdown兼容性测试

一篇测试文章,主要用来观察对应 markdown 的实现功能。

前言

没什么好说的,测试下段落。

基本功能

这里测试一些基本功能。比如

  • 正常: 你好
  • 粗体: 你好
  • 斜体: 你好
  • 斜体: 你好
  • 引用: 你好
  • 删除: 你好

无序列表:

  • 第一个
  • 第二个
  • 第三个

有序列表:

  1. 第一个
  2. 第二个
  3. 第三个

任务列表:

  • 吃饭🍚
  • 睡觉🛌
  • 写代码

一个伟人曾经说过:

横眉冷对千夫指,俯首甘为孺子牛 —— 鲁迅

普通图片:

/img/2014-12-12-markdown-test/0.jpg

只带 ALT (即 title) 的图片:

公众号

只带介绍的图片:

/img/2014-12-12-markdown-test/0.jpg
这是一段介绍

全带:

公众号: 有价值炮灰
exploit, explore, expose!

Condition Code Meaning (for cmp or subs) Flags Tested
eq Equal Z==1
ne Not equal Z==0
hs / cs Unsigned higher or same (or carry set) C==1
lo / cc Unsigned lower (or carry clear) C==0
mi Negative. The mnemonic stands for “minus” N==1
pl Positive or zero. The mnemonic stands for “plus” N==0
vs Signed overflow. The mnemonic stands for “V set” V==1
vc No signed overflow. The mnemonic stands for “V clear” V==0
hi Unsigned higher (C==1) && (Z==0)
ls Unsigned lower or same `(C==0)
ge Signed greater than or equal N==V
lt Signed less than N!=V
gt Signed greater than (Z==0) && (N==V)
le Signed less than or equal `(Z==1)
al (or omitted) Always executed None tested.

这个很重要,因为俺经常写代码。

python 代码:

import this
# function
def hello():
    print("hello, world")

c++代码:

#include <iostream>
// usless using
using namespace std;
int main() {
    std::cout << "hello, world" << std::endl
    return 0;
}

汇编代码:

; intel
xor eax, eax
; arm
add r1, r0, #0x10

JSON:

{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}

拓展功能

一些平时不怎么用,但是很多渲染引擎都支持的功能。

直接内联一个: 绿色的strong

TODO

后记

大概就是这样。