Reformat code block

This commit is contained in:
HustLion
2016-07-27 19:31:21 +08:00
parent 1026ad7011
commit 22fc99d521

View File

@@ -17,11 +17,11 @@ The code below would render the following image
<td> <td>
<pre> <pre>
<code> <code>
graph TD; graph TD;
A-->B; A-->B;
A-->C; A-->C;
B-->D; B-->D;
C-->D; C-->D;
</code> </code>
</pre> </pre>
</td> </td>
@@ -33,17 +33,17 @@ The code below would render the following image
<td> <td>
<pre> <pre>
<code> <code>
sequenceDiagram sequenceDiagram
participant Alice participant Alice
participant Bob participant Bob
Alice->>John: Hello John, how are you? Alice->>John: Hello John, how are you?
loop Healthcheck loop Healthcheck
John->>John: Fight against hypochondria John->>John: Fight against hypochondria
end end
Note right of John: Rational thoughts &lt;br/>prevail... Note right of John: Rational thoughts &lt;br/>prevail...
John-->>Alice: Great! John-->>Alice: Great!
John->>Bob: How about you? John->>Bob: How about you?
Bob-->>John: Jolly good! Bob-->>John: Jolly good!
</code> </code>
</pre> </pre>
</td> </td>
@@ -55,20 +55,20 @@ The code below would render the following image
<td> <td>
<pre> <pre>
<code> <code>
classDiagram classDiagram
Class01 <|-- AveryLongClass : Cool Class01 <|-- AveryLongClass : Cool
Class03 *-- Class04 Class03 *-- Class04
Class05 o-- Class06 Class05 o-- Class06
Class07 .. Class08 Class07 .. Class08
Class09 --> C2 : Where am i? Class09 --> C2 : Where am i?
Class09 --* C3 Class09 --* C3
Class09 --|> Class07 Class09 --|> Class07
Class07 : equals() Class07 : equals()
Class07 : Object[] elementData Class07 : Object[] elementData
Class01 : size() Class01 : size()
Class01 : int chimp Class01 : int chimp
Class01 : int gorilla Class01 : int gorilla
Class08 <--> C2: Cool label Class08 <--> C2: Cool label
</code> </code>
</pre> </pre>
</td> </td>