在线Markdown编辑器 | ||||||||||||||||||||||||||||||||||||||||||||||||||
主题 Themes x 1 # 欢迎使用 Markdown在线编辑器 MarkdownEditor 2 3 **Markdown是一种轻量级的「标记语言」** 4 5 6  7 8 9 Markdown是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定的格式。它允许人们使用易读易写的纯文本格式编写文档,然后转换成格式丰富的HTML页面,Markdown文件的后缀名便是“.md” 10 11 12 ## MdEditor是一个在线编辑Markdown文档的编辑器 13 14 *MdEditor扩展了Markdown的功能(如表格、脚注、内嵌HTML等等),以使让Markdown转换成更多的格式,和更丰富的展示效果,这些功能原初的Markdown尚不具备。* 15 16 > Markdown增强版中比较有名的有Markdown Extra、MultiMarkdown、 Maruku等。这些衍生版本要么基于工具,如~~Pandoc~~,Pandao;要么基于网站,如GitHub和Wikipedia,在语法上基本兼容,但在一些语法和渲染效果上有改动。 17 18 MdEditor源于Pandao的JavaScript开源项目,开源地址[Editor.md](https://github.com/pandao/editor.md "Editor.md"),并在MIT开源协议的许可范围内进行了优化,以适应广大用户群体的需求。向优秀的markdown开源编辑器原作者Pandao致敬。 19 20 21  22 23 24 25 ## MdEditor的功能列表演示 26 27 # 标题H1 28 29 ## 标题H2 30 31 ### 标题H3 32 33 #### 标题H4 34 35 ##### 标题H5 36 37 ###### 标题H5 38 39 ### 字符效果和横线等 40 ---- 41 42 ~~删除线~~ <s>删除线(开启识别HTML标签时)</s> 43 44 *斜体字* _斜体字_ 45 46 **粗体** __粗体__ 47 48 ***粗斜体*** ___粗斜体___ 49 50 上标:X<sub>2</sub>,下标:O<sup>2</sup> 51 52 **缩写(同HTML的abbr标签)** 53 > 即更长的单词或短语的缩写形式,前提是开启识别HTML标签时,已默认开启 54 55 The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>. 56 ### 引用 Blockquotes 57 58 > 引用文本 Blockquotes 59 60 引用的行内混合 Blockquotes 61 62 > 引用:如果想要插入空白换行`即<br />标签`,在插入处先键入两个以上的空格然后回车即可,[普通链接](http://www.txttool.com/)。 63 64 ### 锚点与链接 Links 65 [普通链接](http://www.txttool.com/) 66 [普通链接带标题](http://www.txttool.com/ "普通链接带标题") 67 直接链接:<http://www.txttool.com/> 68 [锚点链接][anchor-id] 69 [anchor-id]: http://www.txttool.com/ 70 [mailto:test.test@gmail.com](mailto:test.test@gmail.com) 71 GFM a-tail link @pandao 72 邮箱地址自动链接 test.test@gmail.com www@vip.qq.com 73 > @pandao 74 75 ### 多语言代码高亮 Codes 76 77 #### 行内代码 Inline code 78 79 80 执行命令:`npm install marked` 81 82 #### 缩进风格 83 84 即缩进四个空格,也做为实现类似 `<pre>` 预格式化文本 ( Preformatted Text ) 的功能。 85 86 <?php 87 echo "Hello world!"; 88 ?> 89 预格式化文本: 90 91 | First Header | Second Header | 92 | ------------- | ------------- | 93 | Content Cell | Content Cell | 94 | Content Cell | Content Cell | 95 96 #### JS代码 97 ```javascript 98 function test() { 99 console.log("Hello world!"); 100 } 101 ``` 102 103 #### HTML 代码 HTML codes 104 ```html 105
106 <html> 107 <head> 108 <mate charest="utf-8" /> 109 <meta name="keywords" content="Editor.md, Markdown, Editor" /> 110 <title>Hello world!</title> 111 <style type="text/css"> 112 body{font-size:14px;color:#444;font-family: "Microsoft Yahei", Tahoma, "Hiragino Sans GB", Arial;background:#fff;} 113 ul{list-style: none;} 114 img{border:none;vertical-align: middle;} 115 </style> 116 </head> 117 <body> 118 <h1 class="text-xxl">Hello world!</h1> 119 <p class="text-green">Plain text</p> 120 </body> 121 </html> 122 ``` 123 ### 图片 Images 124 125 图片加链接 (Image + Link): 126 127 128 [](http://www.txttool.com/images/atxttoold.png "txttool.com") 129 130 > Follow your heart. 131 132 ---- 133 ### 列表 Lists 134 135 #### 无序列表(减号)Unordered Lists (-) 136 137 - 列表一 138 - 列表二 139 - 列表三 140 141 #### 无序列表(星号)Unordered Lists (*) 142 143 * 列表一 144 * 列表二 145 * 列表三 146 147 #### 无序列表(加号和嵌套)Unordered Lists (+) 148 + 列表一 149 + 列表二 150 + 列表二-1 151 + 列表二-2 152 + 列表二-3 153 + 列表三 154 * 列表一 155 * 列表二 156 * 列表三 157 158 #### 有序列表 Ordered Lists (-) 159 160 1. 第一行 161 2. 第二行 162 3. 第三行 163 164 #### GFM task list 165 166 - [x] GFM task list 1 167 - [x] GFM task list 2 168 - GFM task list 3 169 - GFM task list 3-1 170 - GFM task list 3-2 171 - GFM task list 3-3 172 - GFM task list 4 173 - GFM task list 4-1 174 - GFM task list 4-2 175 176 ---- 177 178 ### 绘制表格 Tables 179 180 | 项目 | 价格 | 数量 | 181 | -------- | -----: | :----: | 182 | 计算机 | $1600 | 5 | 183 | 手机 | $12 | 12 | 184 | 管线 | $1 | 234 | 185 186 First Header | Second Header 187 ------------- | ------------- 188 Content Cell | Content Cell 189 Content Cell | Content Cell 190 191 | First Header | Second Header | 192 | ------------- | ------------- | 193 | Content Cell | Content Cell | 194 | Content Cell | Content Cell | 195 196 | Function name | Description | 197 | ------------- | ------------------------------ | 198 | `help()` | Display the help window. | 199 | `destroy()` | **Destroy your computer!** | 200 201 | Left-Aligned | Center Aligned | Right Aligned | 202 | :------------ |:---------------:| -----:| 203 | col 3 is | some wordy text | $1600 | 204 | col 2 is | centered | $12 | 205 | zebra stripes | are neat | $1 | 206 207 | Item | Value | 208 | --------- | -----:| 209 | Computer | $1600 | 210 | Phone | $12 | 211 | Pipe | $1 | 212 213 ---- 214 215 #### 特殊符号 HTML Entities Codes 216 217 © & ¨ ™ ¡ £ 218 & < > ¥ € ® ± ¶ § ¦ ¯ « · 219 220 X² Y³ ¾ ¼ × ÷ » 221 222 18ºC " ' 223 224 [========] 225 226 ### Emoji表情 :smiley: 227 228 > Blockquotes :star: 229 230 #### GFM task lists & Emoji & fontAwesome icon emoji & editormd logo emoji :editormd-logo-5x: 231 232 - [x] :smiley: @mentions, :smiley: #refs, [links](), **formatting**, and <del>tags</del> supported :editormd-logo:; 233 - [x] list syntax required (any unordered or ordered list supported) :editormd-logo-3x:; 234 - [x] [ ] :smiley: this is a complete item :smiley:; 235 - []this is an incomplete item [test link](#) :fa-star: @pandao; 236 - [ ]this is an incomplete item :fa-star: :fa-gear:; 237 - :smiley: this is an incomplete item [test link](#) :fa-star: :fa-gear:; 238 - :smiley: this is :fa-star: :fa-gear: an incomplete item [test link](#); 239 240 #### 反斜杠 Escape 241 242 \*literal asterisks\* 243 244 [========] 245 ### 科学公式 TeX(KaTeX) 246 247 $$E=mc^2$$ 248 249 行内的公式$$E=mc^2$$行内的公式,行内的$$E=mc^2$$公式。 250 251 $$x > y$$ 252 253 $$\(\sqrt{3x-1}+(1+x)^2\)$$ 254 255 $$\sin(\alpha)^{\theta}=\sum_{i=0}^{n}(x^i + \cos(f))$$ 256 257 多行公式: 258 259 ```math 260 \displaystyle 261 \left( \sum\_{k=1}^n a\_k b\_k \right)^2 262 \leq 263 \left( \sum\_{k=1}^n a\_k^2 \right) 264 \left( \sum\_{k=1}^n b\_k^2 \right) 265 ``` 266 ```katex 267 \displaystyle 268 \frac{1}{ 269 \Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{ 270 \frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} { 271 1+\frac{e^{-6\pi}} 272 {1+\frac{e^{-8\pi}} 273 {1+\cdots} } 274 } 275 } 276 ``` 277 ```latex 278 f(x) = \int_{-\infty}^\infty 279 \hat f(\xi)\,e^{2 \pi i \xi x} 280 \,d\xi 281 ``` 282 ### 分页符 Page break 283 284 > Print Test: Ctrl + P 285 286 [========] 287 288 ### 绘制流程图 Flowchart 289 290 ```flow 291 st=>start: 用户登陆 292 op=>operation: 登陆操作 293 cond=>condition: 登陆成功 Yes or No? 294 e=>end: 进入后台 295 296 st->op->cond 297 cond(yes)->e 298 cond(no)->op 299 ``` 300 [========] 301 302 ### 绘制序列图 Sequence Diagram 303 304 ```seq 305 Andrew->China: Says Hello 306 Note right of China: China thinks\nabout it 307 China-->Andrew: How are you? 308 Andrew->>China: I am good thanks! 309 ``` 310 ### End 311 欢迎使用 Markdown在线编辑器 MarkdownEditorMarkdown是一种轻量级的「标记语言」 Markdown是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定的格式。它允许人们使用易读易写的纯文本格式编写文档,然后转换成格式丰富的HTML页面,Markdown文件的后缀名便是“.md” MdEditor是一个在线编辑Markdown文档的编辑器MdEditor扩展了Markdown的功能(如表格、脚注、内嵌HTML等等),以使让Markdown转换成更多的格式,和更丰富的展示效果,这些功能原初的Markdown尚不具备。
MdEditor源于Pandao的JavaScript开源项目,开源地址Editor.md,并在MIT开源协议的许可范围内进行了优化,以适应广大用户群体的需求。向优秀的markdown开源编辑器原作者Pandao致敬。 MdEditor的功能列表演示标题H1标题H2标题H3标题H4标题H5标题H5字符效果和横线等
斜体字 斜体字 粗体 粗体 粗斜体 粗斜体 上标:X<sub>2</sub>,下标:O<sup>2</sup> 缩写(同HTML的abbr标签)
The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>. 引用 Blockquotes
引用的行内混合 Blockquotes
锚点与链接 Links普通链接 mailto:test.test@gmail.com 多语言代码高亮 Codes行内代码 Inline code执行命令: 缩进风格即缩进四个空格,也做为实现类似
预格式化文本:
JS代码
HTML 代码 HTML codes
图片 Images图片加链接 (Image + Link):
列表 Lists无序列表(减号)Unordered Lists (-)
无序列表(星号)Unordered Lists (*)
无序列表(加号和嵌套)Unordered Lists (+)
有序列表 Ordered Lists (-)
GFM task list
绘制表格 Tables
特殊符号 HTML Entities Codes© & ¨ ™ ¡ £ X² Y³ ¾ ¼ × ÷ » 18ºC " ' Emoji表情
GFM task lists & Emoji & fontAwesome icon emoji & editormd logo emoji
反斜杠 Escape*literal asterisks* 科学公式 TeX(KaTeX)E=mc^2 行内的公式E=mc^2行内的公式,行内的E=mc^2公式。 x > y (\sqrt{3x-1}+(1+x)^2) \sin(\alpha)^{\theta}=\sum_{i=0}^{n}(x^i + \cos(f)) 多行公式: \displaystyle \left( \sum\_{k=1}^n a\_k b\_k \right)^2 \leq \left( \sum\_{k=1}^n a\_k^2 \right) \left( \sum\_{k=1}^n b\_k^2 \right) \displaystyle \frac{1}{ \Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{ \frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} { 1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } } f(x) = \int_{-\infty}^\infty \hat f(\xi)\,e^{2 \pi i \xi x} \,d\xi 分页符 Page break
绘制流程图 Flowchart绘制序列图 Sequence DiagramEnd |
||||||||||||||||||||||||||||||||||||||||||||||||||
搜索/替换 搜索:按Ctrl+F / Command+F 替换:按Ctrl+Shift+F / Command+Option+F 全部替换:按Ctrl+Shift+R / Command+Option+R |
Markdown编辑器
Copyright © 2014 TXT文本处理工具 - 在线文本工具 All Rights Reserved
晋ICP备14006235号-16
晋公网安备 14108102000020号
执行时间: 0.092509031295776 seconds