# Introduction

All contents are also published on <https://owent.net>

[![GitHub Actions status](https://github.com/owent/blog-hugo/workflows/CI/badge.svg)](https://github.com/owent/blog-hugo/actions)

## About Me

See [About](https://blog.owent.net/_index)

## Notice

新博客系统采用 [Hugo](https://gohugo.io/) ， 主题是自己开发的 [hugo-theme-distinctionpp](https://github.com/owt5008137/hugo-theme-distinctionpp) 。

```bash
# We use Graphviz to generate graph and use OptiPNG to make png files smaller,
# install
choco install --yes Graphviz OptiPNG
pacman -S mingw-w64-x86_64-graphviz mingw-w64-x86_64-optipng
sudo apt install -y graphviz optipng
sudo yum install -y graphviz optipng

# run
dot -Tpng -O 1807-02.dot
optipng -o6 1807-02.dot.png
# trimage -f 1807-02.dot.png
```

## Search Engine Support

* Google
  * <https://cse.google.com>
  * URL: //google.com/search
  * 搜索词参数: q=搜索内容
  * 站内限制参数: sitesearch=域名
* Bing&#x20;
  * <https://blogs.msdn.microsoft.com/zxue/2009/07/31/adding-microsoft-bing-to-your-web-site/>
  * URL: //[www.bing.com/search](http://www.bing.com/search)
  * 搜索词参数: q=搜索内容
  * 站内限制参数: q1=site:域名
* DuckDuckGo
  * <https://duckduckgo.com/search_box>
  * <http://patdryburgh.com/blog/adding-a-custom-duckduckgo-search-bar-to-your-site/>
  * <http://duckduckgo.com/params.html>
  * URL: //duckduckgo.com/
  * 搜索词参数: q=搜索内容
  * 站内限制参数: sites=域名
* Baidu
  * <http://zhanzhang.baidu.com/guide/index>
  * <http://zn.baidu.com/cse/wiki/index?category_id=25>
  * URL: //zhannei.baidu.com/cse/site
  * 搜索词参数: query=搜索内容
  * 站内限制参数: cc=域名
* Sogou
  * <http://fuwu.sogou.com/daima/code.html>
  * URL: //[www.sogou.com/web](http://www.sogou.com/web)
  * 搜索词参数: query=搜索内容
  * 站内限制参数: insite=域名

## Plugins for gitbook

* [toc](https://plugins.gitbook.com/plugin/toc)
* [mathjax](https://plugins.gitbook.com/plugin/mathjax)

### Tex/Latex and [MathJax](https://www.mathjax.org/) and [KaTex](https://github.com/Khan/KaTeX)

### Online [MathJax](https://www.mathjax.org/) Editor

1. <https://zohooo.github.io/jaxedit/>
2. <http://zh.numberempire.com/texequationeditor/equationeditor.php>

### Supported LaTeX/Tex commands on [MathJax](https://www.mathjax.org/) or [KaTex](https://github.com/Khan/KaTeX)

1. <https://docs.mathjax.org/en/latest/tex.html#supported-latex-commands>
2. <http://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm>
3. <https://khan.github.io/KaTeX/function-support.html>
