zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Markdown兼容性测试

2023-03-07 09:08:58 时间

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

前言

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

基本功能

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

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

列表

无序列表:

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

有序列表:

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

任务列表:

  • 吃饭?
  • 睡觉?
  • 写代码

引用

一个伟人曾经说过:

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

图片

普通图片:

只带 ALT (即 title) 的图片:

公众号

只带介绍的图片:

这是一段介绍

全带:

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) || (Z==1)

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) || (N!=V)

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
}

拓展功能

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

内联HTML

直接内联一个: 绿色的strong

数学公式

TODO

后记

大概就是这样。