In this post, I will focus on use of Markdown and hexo push.
- title level
- insert a link
- highlight the code
- three lists of point
- insert a note”[^code]”
- bold fonts
- reference
- edit a formula
- draw a flow picture
reference website: Cmd Markdown reader
1. Title level
level 3-0
level 4-0
level 3-1
level 4-1
level 4-2
2. Insert a link.
Tim’s Blog
Tim’s Blog
### [Tim's Blog](https://timtingwei.github.io/) |
3. Highlight the code
|
|
4. three lists of point
Bulleted List
- first line
- second line
- third line
Numbered List
- first line
- second line
- third line
TODO list
- first todo
- second todo
- third todo -> Done
5. insert a note[^code]
LaTex formula support [LaTex][^LaTex]
high light code [code][^code]
insert a web note MathJax
6. bold fonts
bold fonts by adding two asteriskes * as prefix and suffix respectively
7. Reference
You can insert a reference by “>”,
and input enter to create a new line,
This is the end line. Until the next symbol occur.
8. edit a formula
$$E=mc^2$$ use $$
9.draw a flow picture
st=>start: Start |
[^LaTex]: support LaTex edit and display, such as: $\sum_{i=1}^n a_i=0$, visit MathJax for more information.
[^code]: include Java, Python, JavaScript etc.
补充
背景色灰
`gray background`
gray background
背景灰可以代替 反斜杠 \,去完成注释。这个很好用。原理估计和代码块差不多吧。
实现页面内跳转
[create an anchor](#anchors-in-markdown)
\===========
refwebsite:
anchors in markdown
skip into this title
删除线
~~删除一句~~
删除一句
~~删除
多行~~
删除
多行
~~删除包含语法[mituh’s notes][timtingwei.github.io]~~
删除包含语法[mituh’s notes][timtingwei.github.io]
====
不知道还有其他方法否?
\==========
refwebsite:
https://en.wikipedia.org/wiki/Markdown
插入图片
![Logo](/images/logo.png)
\===========
refwebsite:
hexo图片的其他用法:https://hexo.io/zh-cn/docs/asset-folders.html
https://webapps.stackexchange.com/questions/29602/markdown-to-insert-and-display-an-image-on-github-repo
标记文本颜色
<span style="color:blue">*This is Blue italic.*</span>
This is Blue italic.
<span style="color:red">**This is Red Bold.**</span>
This is Red Bold.
相比之下,
italic 给人轻松的感觉,
blod有种警告意味。
\===========
refwebsite:
https://stackoverflow.com/questions/35465557/how-to-apply-color-in-markdown
换行
段落前后是空行
段落内插入<br>
换行
test1
test2
test1 |
test1
test2
|
test1
test2test1<br>
test2<br>
\====
ref:
http://xianbai.me/learn-md/article/syntax/paragraphs-and-line-breaks.html
next one ?
以上是我的个人笔记收录,markdown主要用来写笔记和写博客
其他有什么好玩的用法,欢迎指教。
timtingwei@gmail.com