功能测试

由于 reveal.js 的 markdown 功能和 latex 之间存在 bug,因此尝试采用 html 语法来写。
此外,mkdocs 也存在不能引用 .md 的特性。这篇文档仅作为调试用例。 这里我是将后缀修改为 .md2 来实现的。
这页下方是直接 html 里写的,此页之后都是直接调用的外部 .md 文件。

$\LaTeX$ 测试

$$ \begin{aligned} &x \\ \{&x\} \end{aligned} $$

代码测试


>>> import antigravity
>>> print(b"\x01\x02\x03")
>>> a = 2

逐步代码测试

void solve()
{
    auto fib = [&](this auto self, int n)
    { 
        if(n == 0) return 0;
        if(n == 1) return 1;
        return self(n-2) + self(n-1);
    };
    for(int i=0; i<=10; i++)
    {
        cout<<fib(i)<<"\n";
    }
    return;
}

  • 淡入
  • 淡出
  • 向上淡入
  • 向下淡入
  • 向左淡入
  • 向右淡入
  • 缩小
  • 放大
  • 滚入
  • 高亮红色