目录

new_home


迁移 直接跑路

又一次一时兴起, 这次惨遭毒手的是 vercel + github + hugo.

不说了, 静态博客真香, LNMP 还是不适合懒人.

新博客功能演示

数学公式: $$ F(\omega) = \int_{-\infty}^{\infty}{f(t)e^{-j{\omega}t}}{\rm d}t \newline f(t) = \int_{-\infty}^{\infty}{F(\omega)e^{j{\omega}t}}{\rm d}\omega $$

代码演示:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
-- font: sarasa-mono-sc
-- using it to get better support for East Asian Characters especially Simplified Chinese.
-- use haskell because it's beautiful
-- and also can show whether you got font ligatures.

quicksort1 :: (Ord a) => [a] -> [a]
quicksort1 [] = []
quicksort1 (x:xs) =
    let smallerSorted = quicksort1 [a | a <- xs, a <= x]
        biggerSorted = quicksort1 [a | a <- xs, a > x]
    in  smallerSorted ++ [x] ++ biggerSorted
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#include<stdio.h>

int
main(int *argc, char **argv)
{
    printf("%s, %s\n", argv[1], argv[2]);
    printf("输入两参数如上↑\n");
    // 你可以发现中英文完全对齐
    // 只是英文好挤好怪啊(恼
    return 0;
}

flow chart: (unsupported)

1
2
3
4
5
6
7
8
    st=>start: Start
    op=>operation: Your Operation
    cond=>condition: Yes or No?
    e=>end

    st->op->cond
    cond(yes)->e
    cond(no)->op

sequence diagrams: (unsupported)

1
2
3
    Client->Server: 你有 10492 的资源嘛?
    Note right of Server: 稍加思索...
    Server->Client: "http:200 OK:{state: 404}"

mermaid: