Markdown具有管道表语法,但在某些情况下还不够.
| table | syntax | without multiline cell content |
Run Code Online (Sandbox Code Playgroud)
因此,我们可以使用HTML表格标签.
<table>
<tr>
<td>
```csharp
const int x = 3;
const string y = "foo";
readonly Object obj = getObject();
```
</td>
<td>
```nemerle
def x : int = 3;
def y : string = "foo";
def obj : Object = getObject();
```
</td>
<td>
Variables defined with <code>def</code> cannot be changed once defined. This is similar to <code>readonly</code> or <code>const</code> in C# or <code>final</code> in Java. Most variables …Run Code Online (Sandbox Code Playgroud) markdown html-table syntax-highlighting github github-flavored-markdown