Test Blog

Table of Contents

Heading Test

Heading 2

Heading 2

Heading 3

  • Heading 4
    • Heading 5
      • Heading 6

Paragraph Test

Test paragraph

Hyperlink

footnoot

Please refer to wikipedia1

tables

basic table

a b c d e
1 2 3 4 5

alignment

N N^2 N^3 N^4 sqrt(n) sqrt[4](N)
1 1 1 1 1 1
2 4 8 16 1.4142136 1.1892071
3 9 27 81 1.7320508 1.3160740

Column Width and Alignment

1 one some
2 two boring
3 This is a long text column

Code hightlight

C/C++

#include <stdio.h>

int main(int argc, char *argv[])
{
    printf("Hello world\n");

    return 0;
}

elisp

(defun schspa/getposts (filePath)
  "Return posts file name"
  (seq-filter 'file-readable-p
              (mapcar (lambda (arg)
                        (expand-file-name arg schspa/blog-source-dir))
                      (schspa/readlines
                       (expand-file-name filePath schspa/blog-source-dir)))))

python

import os

if __name__ == '__main__':
    print 'Hello World'

Figure Test

plantuml sequence diagram

plantuml-test.png

Figure 1: test plantuml sequence diagram

Quote

老夫聊发少年狂,左牵黄,右擎苍,锦帽貂裘,千骑卷平冈。为报倾城随太守,亲射虎,看孙郎。
酒酣胸胆尚开张。鬓微霜,又何妨!持节云中,何日遣冯唐?会挽雕弓如满月,西北望,射天狼。

comments

Comments system is using utteranc, thanks to utterances

table-of-contents

orgmode can generate toc.

table-of-contents format

   <nav id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org6643354">Heading Test</a>
<ul>
<li><a href="#org0b39c3f">Heading 2</a></li>
<li><a href="#org7887bce">Heading 2</a>
<ul>
<li><a href="#org32dccc3">Heading 3</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#orgfe3f6ed">Paragraph Test</a></li>
<li><a href="#org8177082">Hyperlink</a>
<ul>
<li><a href="#org6dc4263">基本链接</a></li>
</ul>
</li>
<li><a href="#org03a351e">footnoot</a></li>
<li><a href="#org9529e2a">tables</a>
<ul>
<li><a href="#org27c362e">basic table</a></li>
<li><a href="#org2515b8d">alignment</a></li>
<li><a href="#org921cb3b">Column Width and Alignment</a></li>
</ul>
</li>
<li><a href="#orgdb2aa71">Code hightlight</a>
<ul>
<li><a href="#orgff68678">C/C++</a></li>
<li><a href="#org113870a">elisp</a></li>
<li><a href="#org8a45e1f">python</a></li>
</ul>
</li>
<li><a href="#org9c9bc61">Figure Test</a>
<ul>
<li><a href="#orgde3726c">plantuml sequence diagram</a></li>
</ul>
</li>
<li><a href="#org819e4f2">Quote</a></li>
<li><a href="#org8a11505">comments</a></li>
</ul>
</div>
</nav>

Footnotes:

Contact me via :)
虚怀乃若谷,水深则流缓。