markdown 使用 笔记

  markdown使用笔记

Welcome to MarkdownPad 2

MarkdownPad is a full-featured Markdown editor for Windows.

Built exclusively for Markdown

Enjoy first-class Markdown support with easy access to Markdown syntax and convenient keyboard shortcuts.

Give them a try:

  • Bold (Ctrl+B) and Italic (Ctrl+I)
  • Quotes (Ctrl+Q)
  • Code blocks (Ctrl+K)
  • Headings 1, 2, 3 (Ctrl+1, Ctrl+2, Ctrl+3)
  • Lists (Ctrl+U and Ctrl+Shift+O)

See your changes instantly with LivePreview

Don’t guess if your hyperlink syntax is correct; LivePreview will show you exactly what your document looks like every time you press a key.

Make it your own

Fonts, color schemes, layouts and stylesheets are all 100% customizable so you can turn MarkdownPad into your perfect editor.

A robust editor for advanced Markdown users

MarkdownPad supports multiple Markdown processing engines, including standard Markdown, Markdown Extra (with Table support) and GitHub Flavored Markdown.

With a tabbed document interface, PDF export, a built-in image uploader, session management, spell check, auto-save, syntax highlighting and a built-in CSS management interface, there’s no limit to what you can do with MarkdownPad.

表格的使用

使用 | 来分隔不同的单元格,使用 - 来分隔表头和其他行:

1
2
3
4
name | age
---- | ---
LiSi | 12
LiHua | 32
name age
LiSi 12
LiHua 32

为了美观,可以使用空格对齐不同行的单元格,并在左右两侧都使用 | 来标记单元格边界:

1
2
3
4
|   name  | age |
| ------- | --- |
| LiSi | 12 |
| LiHua | 32 |

name age
LiSi 12
LiHua 32
1
2
3
:--- 代表左对齐
:--: 代表居中对齐
---: 代表右对齐

名称 关键字 调用的js 说明
AppleScript applescript shBrushAppleScript.js
ActionScript 3.0 actionscript3 , as3 shBrushAS3.js
Shell bash , shell shBrushBash.js
ColdFusion coldfusion , cf shBrushColdFusion.js
C cpp , c shBrushCpp.js
C# c# , c-sharp , csharp shBrushCSharp.js
CSS css shBrushCss.js
Delphi delphi , pascal , pas shBrushDelphi.js
diff&patch diff patch shBrushDiff.js 用代码版本库时,遇到代码冲突,其语法就是这个.
Erlang erl , erlang shBrushErlang.js
Groovy groovy shBrushGroovy.js
Java java shBrushJava.js
JavaFX jfx , javafx shBrushJavaFX.js
JavaScript js , jscript , javascript shBrushJScript.js
Perl perl , pl , Perl shBrushPerl.js
PHP php shBrushPhp.js
text text , plain shBrushPlain.js 就是普通文本.
Python py , python shBrushPython.js
Ruby ruby , rails , ror , rb shBrushRuby.js
SASS&SCSS sass , scss shBrushSass.js
Scala scala shBrushScala.js
SQL sql shBrushSql.js
Visual Basic vb , vbnet shBrushVb.js
XML xml , xhtml , xslt , html shBrushXml.js
Objective C objc , obj-c shBrushObjectiveC.js
F# f# f-sharp , fsharp shBrushFSharp.js
xpp , dynamics-xpp shBrushDynamics.js
R r , s , splus shBrushR.js
matlab matlab shBrushMatlab.js
swift swift shBrushSwift.js
GO go , golang shBrushGo.js

1

References

[1] writing
[2] Learning-Markdown (Markdown 入门参考)
[3] 博客园markdown代码块支持的语言
[4] 注释(Comment)
[5] 复杂excel转html
[6] excel csv markdown url html 转各种格式
[7] Markdown 语法介绍
[8] Markdown: 语法