我的第一篇正经blog
主要目的是学习markdown
标题
使用# mytext 来表示一级标题
使用## mytext2 来表示二级标题 以此类推
注意: # 与 text 间有空格
段落与换行
enter*2 -> 段落
space * 2(or more than 2) + enter -> 换行
here is 换行
换行也支持html 的 br 语法
maybe is ok?
强调
加粗
here is BLOD
use ** +blod text+ **
注意 ** 与text间不能有空格
斜体
here is ltalic
use * +ltalic+ *
注意 * 与text间不能有空格
加粗+斜体
here is blod+ltalic
use *** +text+ ***
注意 * 与text间不能有空格
引用
here is 引用
写到0:31了现在
有点东西
不知道三层可以吗,试试
好玩
use > + test
use >> + test 嵌套引用
use > + - + test 实现第三行的效果
> 后面可以加入其他文本格式
如:#
here
-
- here
列表
有序列表
- test1
- test2
- test3
感觉和直接写没什么区别
错误的,有区别,感觉字体,间隔什么的不一样了,但是注意 x. 后面要加空格
试试错误的写法
1.test1
2.test2
3.test3
看出区别了吧,这就是不加空格
无序列表
- test1
- test2
- test3
use - + test
嵌套
- test1
- test2
- test2.1
- test2.2
- test3
use tab before x.
test1
test2
test2.1
test2.2
use enter no - for test (before & back)can have a test between 2.2 and 2.3
maybe I can use > as well
test2.3
2.3.1
2.3.2
use * replace -
test3
嵌套代码块
Open the file.
Find the following code block on line 21:
<html> <head> <title>Test</title> </head>just like have a test between , but you should have 2tab
Update the title to match the name of your website.
代码
here is nano
use ` + test +`
no need space between test and `
**注意** ` is not '
` is key ~ not key "
转义反引号
if you have ` in your nano use `` replace `
example:here is your `nano`
代码块
要创建代码块,请将代码块的每一行缩进至少四个空格或一个制表符。
nano
i can't use tab
but I can use 4 space
hard for me
maybe have some tip I don't know
注意 nano 与其他test 中间要有enter
分割线
test1
test2
use more than 3 -
and shuold have enter between other text
链接语法
[超链接显示名](超链接地址)
example:
here is my blog
给链接加title, 鼠标停在链接上时,显示titel
[超链接显示名](超链接地址 "超链接title")
example:
here is my blog
网址和email地址
use < + URL or email >
example:
here is my blog https://holmex.novashen.top/
带格式化的链接
在链接语法前后增加星号。 要将链接表示为代码,请在方括号中添加反引号。
example:
here is my blog
add **
here is my blog
add *
here is my blog
add `` in []
引用类型链接
参考样式链接分为两部分:与文本保持内联的部分以及存储在文件中其他位置的部分,以使文本易于阅读。
第一部分:
引用类型的链接的第一部分使用两组括号进行格式设置。
第一组方括号包围应显示为链接的文本。
第二组括号显示了一个标签,该标签用于指向您存储在文档其他位置的链接。
example:
my blog
[my blog](https://holmex.novashen.top/\)
第二部分:
- 放在括号中的标签,其后紧跟一个冒号和至少一个空格(例如[label]:)。
- 链接的URL,可以选择将其括在尖括号中。
- 链接的可选标题,可以将其括在双引号,单引号或括号中。
example:
[1]:https://holmex.novashen.top/ "一个小傻逼的blog"
不同的 Markdown 应用程序处理URL中间的空格方式不一样。为了兼容性,请尽量使用%20代替空格。
图片
use 
example:
-> A
idon't know what is 图片alt, whatever, it seems useless.
链接图片
[A}(link)
if click the photo , comes to link.
转义字符
use \ before a
the same for cpp
example:
\' -> '
可做转义的字符
\ backslash
` backtick (see also escaping backticks in code)
* asterisk
_ underscore
{ } curly braces
[ ] brackets
( ) parentheses
# pound sign
+ plus sign
- minus sign (hyphen)
. dot
! exclamation mark
| pipe (see also escaping pipe in tables)
Markdown 内嵌 HTML 标签
行级內联标签
Markdown 对于 HTML 的行级内联标签不受限,及可以直接使用HTML 的语法
This word is bold. This word is italic.
区块标签
前后加空行
This is a regular paragraph.
| Foo |
This is another regular paragraph.
注意:
尽量不要使用制表符(tabs)或空格(spaces)对 HTML 标签做缩进,否则将影响格式。
终于写完了,谁还记得我最开始是打算学习电路硬件知识,找个地方放笔记来着呢。