这篇文档在width>1384px时可以显示markdown原文与html渲染样式的对照,否则只会显示html样式

> 一开始就喜欢上了markdown,可无奈没有一个CSS样式表满意。
> 主要是想写博文的时候可以不用写一堆括号标签。然而编辑器中写好以后,发布到wordpress博客中又是另外一个CSS。
> 所以干脆重新做一套css,编辑器里一个css,博客上一个CSS!两张css关于文章样式方面几乎一样,博客那张有更多其他标签

 



##H2标签
###H3标签
####h4标签


-----
#### 有序列表: ####

1. Ordered list item
2. Ordered list item
3. Ordered list item

#### 无序列表("*"或者"-"+空格) ####

* Unordered list item
* Unordered list item
* Unordered list item

#### A标签 ####
<http://www.example.com>
#### 代码框 ####

##### 行内代码框
`Inline code`
##### 代码块,不会自动换行(TAB)
print('This is a code block')
print('The block must be preceded by a blank line')
print('Then indent at least 4 spaces or 1 tab')
print('Nesting does nothing. Your code is displayed Literally')
----
```
print('Hello world!')
```
You can also use waves (`~`) instead of back ticks (`` ` ``):
~~~
print('Hello world!')
~~~


#### 表格样式 ####
First Header | Second Header
------------ | -------------
Content Cell | Content Cell
Content Cell | Content Cell


设置对齐:
| Left Aligned  | Center Aligned  | Right Aligned |
|:------------- |:---------------:| -------------:|
| col 3 is      | some wordy text |         $1600 |
| col 2 is      | centered        |           $12 |
| zebra stripes | are neat        |            $1 |



#### 常用表 ####
|项目名称         | MD标记              | 网页中的结果         |
|-----------------|---------------------|----------------------|
|<em>强调         | *apple*或者 _apple_ | *apple* 或者 _apple_ |
|加粗强调         | **apple**           | **apple**            |
|A标签            | <http://t.co>       | <http://t.co>        |
|脚注             |“超凶!”[ ^1]      |“超凶!”[^1]        |
|删除线           | <del>Much wow</del> | <del>Much wow</del>  |
|下划线           | <u>So doge</u>      | <u>So dogeu>         |
|高亮             | <mark>So good</mark>| <mark>So good</mark> |
|上标             | hoge<sup>fuga</sup> | hoge<sup>fuga</sup>  |
|斜体             | <i>apple</i>        | <i>apple</i>         |







markdown pad2扩展语法中很多标签并不支持比如下划线,好在可以直接写html标签。


#### 一些markdown pad2的快捷键 ####
- **粗体** `Ctrl+B` *强调* `Ctrl+I`
- 引用 `Ctrl+Q`
- 代码块 `Ctrl+K`
- 标题 1, 2, 3 `Ctrl+1`, `Ctrl+2`, `Ctrl+3`
- 列表 `Ctrl+U` and `Ctrl+Shift+O`



[^1]:![超凶!](http://www.winotmk.com/wp-content/uploads/2017/01/2017012505105673.png)


一开始就喜欢上了markdown,可无奈没有一个CSS样式表满意。

主要是想写博文的时候可以不用写一堆括号标签。然而编辑器中写好以后,发布到wordpress博客中又是另外一个CSS。

所以干脆重新做一套css,编辑器里一个css,博客上一个CSS!两张css关于文章样式方面几乎一样,博客那张有更多其他标签

H2标签

H3标签

h4标签


有序列表:

  1. Ordered list item
  2. Ordered list item
  3. Ordered list item

无序列表(”*”或者”-“+空格)

  • Unordered list item
  • Unordered list item
  • Unordered list item

A标签

http://www.example.com

代码框

行内代码框

Inline code

代码块,不会自动换行(TAB)
print('This is a code block')
print('The block must be preceded by a blank line')
print('Then indent at least 4 spaces or 1 tab')
print('Nesting does nothing. Your code is displayed Literally')

print('Hello world!')

You can also use waves (~) instead of back ticks (`):

print('Hello world!')

表格样式

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell

设置对齐:

Left Aligned Center Aligned Right Aligned
col 3 is some wordy text $1600
col 2 is centered $12
zebra stripes are neat $1

常用表

项目名称 MD标记 网页中的结果
<em>强调 *apple*或者 _apple_ apple or apple
加粗强调 **apple** apple
A标签 <http://t.co> http://t.co
脚注 “超凶!”[ ^1] “超凶!”1
删除线 <del>Much wow</del> Much wow
下划线 <u>So doge</u> So doge
高亮 <mark>So good</mark> So good
上标 hoge<sup>fuga</sup> hogefuga
斜体 <i>apple</i> apple

markdown pad2扩展语法中中很多标签并不支持比如下划线,好在可以直接写html标签。

一些markdown pad2的快捷键

  • 粗体 Ctrl+B 强调 Ctrl+I
  • 引用 Ctrl+Q
  • 代码块 Ctrl+K
  • 标题 1, 2, 3 Ctrl+1, Ctrl+2, Ctrl+3
  • 列表 Ctrl+U and Ctrl+Shift+O

  1. 超凶! 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注


*

关闭菜单