任何理论都要不断接受实践的检验 。
前言
此Blog网站由Hexo提供模板的(hueman)和引擎,考虑到笔者的水平且网站模板经过了修改,在这里放置一篇TestBlog来测试功能是否正常。
测试
HEXO文章模板
以下代码为此行以上内容的源文本
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 --- title: 这是一篇TestBlog categories: - 生活 - 搞事情吖tags: - 测试date: 2020-03-15 14:53:03 --- {% asset_img 0001-0500_ x264[00_00_ 01--00_00_ 21].gif %} {% blockquote 胡福明,《实践是检验真理的唯一标准》 %} `<span style="font-size:24px">` **任何理论都要不断接受实践的检验** 。{% endblockquote %} <!-- toc --> [toc] # 前言 此Blog网站由Hexo提供模板的(hueman)和引擎,考虑到笔者的水平且网站模板经过了修改,在这里放置一篇TestBlog来测试功能是否正常。 <!-- more --> # 测试 ## HEXO文章模板 以下代码为此行上面的内容的源文本
MD语法
这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本。
这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本,这里插入大量的文字来模拟真实的文本。
This is test.This is test This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.
This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.This is test.
, . · ; : ‘’ “” [] |
“” ‘’ …… 【】 ; , 。 ? 、
我们要走出去
1 2 3 plugins : lightgallery : true # options : true , false justifiedgallery : true # options : true , false
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 import numpy as npimport matplotlib.pyplot as pltiter_func = lambda z,c:(z**2 + c) def calc_steps (c, max_iter_num=128 ) : z = complex (0 ,0 ) num = 0 while abs (z) < 2 and num < max_iter_num: z = iter_func(z,c) num += 1 return num def display_mandelbrot (x_num=1000 ,y_num=1000 ): X, Y = np.meshgrid(np.linspace(xa,xb,x_num + 1 ), np.linspace(yb,ya,y_num+1 )) C = X + Y*1j result = np.zeros((y_num+1 , x_num+1 )) for i in range (y_num+1 ): print (i) for j in range (x_num+1 ) : result[i,j] = calc_steps(C[i,j]) plt.imshow(result,interpolation="bilinear" ,cmap = plt.cm.hot, vmax = abs (result).max (),vmin=abs (result).min (), extent=[xa,xb,ya,yb]) plt.show() if __name__ == "__main__" : xa = -0.75 xb = -0.5 ya = 0.25 yb = 0.5 display_mandelbrot(1000 ,1000 )
printf("test");
1 2 3 4 - test - test - test - test
dfdf
dfdf
df
dd
eee
1 2 3 4 5 1. dfdf2. dfdf 1. df 2. dd 1. eee
First Header
Second Header
Content Cell
Content Cell
Content Cell
Content Cell
1 2 3 4 | First Header | Second Header | | :----------: | :-----------: | | Content Cell | Content Cell | | Content Cell | Content Cell |
You can create footnotes like this.
1 2 You can create footnotes like this[^footnote]. [^footnote ]: Here is the *text* of the **footnote**.
test[^test]
1 [text ]:https://yuanz1949.github.io
这是尝试引用test
苑长的Index
1 [苑长的Index ](https://yuanz1949.github.io/ "这是注释" )
https://yuanz1949.github.io
1 <https://yuanz1949.github.io>
text
1 <span style ="color:red" > text</span >
test ==text== test test
test test
1 test ==text== **test** `test` *test* ***test* **
test test test test
1 <sub > </sub > test<sub > </sub > <sub > test</sub > <u > test</u > ++test++ <test >
😄 ◀
1 :smile: :arrow_backward:
H2 O X2
1 H<sub > 2</sub > O X<sup > 2</sup >
The HTML specification is maintained by the W3C .
1 2 3 4 5 <p > The <abbr title ="Hyper Text Markup Language" > HTML</abbr > specification is maintained by the <abbr title ="World Wide Web Consortium" > W3C</abbr > .</p >
尝试搜索互联网以找到答案
艾瑞克.史蒂文.雷蒙德(Eric Steven Raymond)&瑞克.莫恩(Rick Moen)@《提问的艺术》
1 2 3 > **尝试搜索互联网以找到答案** > > 艾瑞克.史蒂文.雷蒙德(Eric Steven Raymond)&瑞克.莫恩(Rick Moen)@[《提问的艺术》 ](http://tieba.github.io/common/howtoask.html )
1 ![zhihu ](https://pic4.zhimg.com/v2-b757330367850e9db5078be3b6c395d8_xl.jpg "这是注释" )
1 2 3 4 5 <iframe height ='265' scrolling ='no' title ='Fancy Animated SVG Menu' src ='http://codepen.io/jeangontijo/embed/OxVywj/?height=265&theme-id=0&default-tab=css,result&embed-version=2' frameborder ='no' allowtransparency ='true' allowfullscreen ='true' style ='width: 100%;' ></iframe >
1 2 3 4 <video src ='{% asset_path 0001-0500_x264.mp4 %}' type ='video/mp4' controls ='controls' width ='100%' height ='100%' ></video >
```\sequence # 没有“\”
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob–>Alice: I am good thanks!
```
```\flow # 没有“\”
st=>start: Start
op=>operation: Your Operation
cond=>condition: Yes or No?
e=>end
st->op->cond
cond(yes)->e
cond(no)->op
```
公式
$$
\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
\mathbf{i} & \mathbf{j} & \mathbf{k} \
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \
\frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \
\end{vmatrix}
$$
1 2 3 4 5 6 7 $ $ \mathbf {V}_ 1 \times \mathbf {V}_ 2 = \begin {vmatrix}\mathbf {i} & \mathbf {j} & \mathbf {k} \\ \frac {\partial X}{\partial u} & \frac {\partial Y}{\partial u} & 0 \\ \frac {\partial X}{\partial v} & \frac {\partial Y}{\partial v} & 0 \\ \end {vmatrix}$ $
$$
\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
\mathbf{i} & \mathbf{j} & \mathbf{k} \\
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\
\frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \\
\end{vmatrix}
$$
1 2 3 4 5 6 7 $ $ \mathbf {V}_ 1 \times \mathbf {V}_ 2 = \begin {vmatrix}\mathbf {i} & \mathbf {j} & \mathbf {k} \\ \\ \frac {\partial X}{\partial u} & \frac {\partial Y}{\partial u} & 0 \\ \\ \frac {\partial X}{\partial v} & \frac {\partial Y}{\partial v} & 0 \\ \\ \end {vmatrix}$ $
$lim_{x \to \infty} \exp(-x) = 0)$
1 $ lim_ {x \to \infty } \exp (-x) = 0)$
\(\lim_{x \to \infty} \exp(-x) = 0\)
1 \( \lim \_ {x \to \infty } \exp (-x) = 0\)
(ax^2 + bx + c = 0)
(ax^2 + bx + c = 0)
$$
That is test
$$
$2^2$ $H_2O$ $That is my blog!$
1 $ 2^ 2$ $ H_ 2O$ $ That is my blog!$
(2^2) (H_2O) (That is my blog!)
1 \( 2^ 2\) \( H_ 2O\) \( That is my blog!\)
$$
\begin{aligned} f_Y(y) & = f_X[h(y)]|h’(y)| \[2ex] & = f_X[h(y)]h’(y) \[2ex] & = \frac{1}{\theta}e{-\frac{x}{\theta}}[\frac{dx}{dy}(-\frac{\theta}{ln(1-y)})] \[2ex] & = \frac{1}{\theta}e {-\frac{-\frac{\theta}{ln(1-y)}}{\theta}}\frac{\theta}{1-y} \[2ex] & = \frac{1}{\theta}e^{ln(1-y)}\frac{\theta}{1-y} \[2ex] & = \frac{1-y}{\theta}\frac{\theta}{1-y} \[2ex] & = 1 \end{aligned}
$$
1 2 3 $ $ \begin {aligned} f_ Y(y) & = f_ X[h(y)]|h'(y)| \\ [2ex] & = f_ X[h(y)]h'(y) \\ [2ex] & = \frac {1}{\theta }e<sup>{-\frac {x}{\theta }}[\frac {dx}{dy}(-\frac {\theta }{ln(1-y)})] \\ [2ex] & = \frac {1}{\theta }e</sup>{-\frac {-\frac {\theta }{ln(1-y)}}{\theta }}\frac {\theta }{1-y} \\ [2ex] & = \frac {1}{\theta }e^ {ln(1-y)}\frac {\theta }{1-y} \\ [2ex] & = \frac {1-y}{\theta }\frac {\theta }{1-y} \\ [2ex] & = 1 \end {aligned}$ $
$$
\begin{aligned} f_Y(y) & = f_X[h(y)]|h’(y)| \\[2ex] & = f_X[h(y)]h’(y) \\[2ex] & = \frac{1}{\theta}e{-\frac{x}{\theta}}[\frac{dx}{dy}(-\frac{\theta}{ln(1-y)})] \\[2ex] & = \frac{1}{\theta}e {-\frac{-\frac{\theta}{ln(1-y)}}{\theta}}\frac{\theta}{1-y} \\[2ex] & = \frac{1}{\theta}e^{ln(1-y)}\frac{\theta}{1-y} \\[2ex] & = \frac{1-y}{\theta}\frac{\theta}{1-y} \\[2ex] & = 1 \end{aligned}
$$
1 2 3 $ $ \begin {aligned} f_ Y(y) & = f_ X[h(y)]|h'(y)| \\ \\ [2ex] & = f_ X[h(y)]h'(y) \\ \\ [2ex] & = \frac {1}{\theta }e<sup>{-\frac {x}{\theta }}[\frac {dx}{dy}(-\frac {\theta }{ln(1-y)})] \\ \\ [2ex] & = \frac {1}{\theta }e</sup>{-\frac {-\frac {\theta }{ln(1-y)}}{\theta }}\frac {\theta }{1-y} \\ \\ [2ex] & = \frac {1}{\theta }e^ {ln(1-y)}\frac {\theta }{1-y} \\ \\ [2ex] & = \frac {1-y}{\theta }\frac {\theta }{1-y} \\ \\ [2ex] & = 1 \end {aligned}$ $
Hexo标签插件
That’s testing.
1 2 3 {% blockquote %} That's testing. {% endblockquote %}
这是一篇TestBlog
1 2 3 {% blockquote 苑金浩 https://yuanz1949.github.io/ %} 这是一篇TestBlog {% endblockquote %}
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
1 2 3 {% blockquote David Levithan, Wide Awake %} Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy. {% endblockquote %}
NEW: DevDocs now comes with syntax highlighting. http://devdocs.io
1 2 3 {% blockquote @DevDocs https://twitter.com/devdocs/status/356095192085962752 %} NEW: DevDocs now comes with syntax highlighting. http://devdocs.io {% endblockquote %}
Every interaction is both precious and an opportunity to delight.
1 2 3 {% blockquote Seth Godin http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html Welcome to Island Marketing %} Every interaction is both precious and an opportunity to delight. {% endblockquote %}
text.html www.example.com example.html
1 2 3 {% codeblock text.html lang:html www.example.com example.html %} alert('Hello World!'); {% endcodeblock %}
1 2 3 {% codeblock [title] [lang:language] [url] [link text] [additional options] %} code snippet {% endcodeblock %}
Additional Options
Description
Default
line_number
Show line number
true
highlight
Enable code highlighting
true
first_line
Specify the first line number
1
mark
Line highlight specific line(s), each value separated by a comma. Specify number range using a dash Example:mark:1,4-7,10
will mark line 1, 4 to 7 and 10.
wrap
Wrap the code block in``
true
``` [language] [title] [url] [link text] code snippet ```
pullquote content
1 2 3 {% pullquote test %} pullquote content {% endpullquote %}
1 {% iframe url [width] [height] %}
1 {% img [class names] /path/to/image [width] [height] '"title text" "alt text"' %}
1 {% include_code [title] [lang:language] [from:line] [to:line] path/to/file %}
baidu
1 {% link text url [external] [title] %}
/post/about/
1 {% post_path filename %}
about
1 {% post_link filename [title] [escape] %}
/post/zhe-shi-yi-pian-testblog/0001-0500_x264.mp4
1 {% asset_path 0001-0500_x264.mp4 %}
1 {% asset_img 0001-0500_x264[00_00_01--00_00_21].gif YJH %}
YJH
1 {% asset_link 0001-0500_x264.mp4 YJH %}
1 2 3 {% asset_path slug %} {% asset_ img slug [title] %}{% asset_link slug [title] %}