Skip to content

Files

Latest commit

ca0626c · Dec 16, 2017

History

History
58 lines (42 loc) · 1.86 KB

markdown-example.md

File metadata and controls

58 lines (42 loc) · 1.86 KB

Markdown 语法示例

===================

标题

H2

H3

H4

H5
H6

SmartyPants

SmartyPants converts ASCII punctuation characters into "smart" typographic punctuation HTML entities. For example:

ASCII HTML
Single backticks 'Isn't this fun?' 'Isn't this fun?'
Quotes "Isn't this fun?" "Isn't this fun?"
Dashes -- is en-dash, --- is em-dash -- is en-dash, --- is em-dash

![aa](http://latex.codecogs.com/gif.latex?\\frac{\\partial J}{\partial \theta_k^{(j)}}=\sum_{i:r(i,j)=1}{\big((\theta^{(j)})^Tx^{(i)}-y^{(i,j)}\big)x_k^{(i)}}+\lambda \xtheta_k^{(j)})

KaTeX

You can render LaTeX mathematical expressions using KaTeX:

The Gamma function satisfying Γ ( n ) = ( n 1 ) ! n N is via the Euler integral

Γ ( z ) = 0 t z 1 e t d t , .

You can find more information about LaTeX mathematical expressions here.

UML diagrams

You can render UML diagrams using Mermaid. For example, this will produce a sequence diagram:

Loading
sequenceDiagram
客户端 ->>  服务端: Hello Bob, how are you?
服务端 -->> 服务1: xxx
服务端 -->> 服务2: How about you John?
服务1  --x  服务端: I am good thanks!
Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.
服务2  -x   服务端: I am good thanks!

And this will produce a flow chart:

Loading
graph LR
A[Square Rect] -- Link text --> B((Circle))
A --> C(Round Rect)
B --> D{Rhombus}
C --> D