mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Correct table documentation in Remarkup reference
Summary: Ref T10570. Earlier work on that task made tables activate even if indented so they work in quoted blocks. However, the documentation doesn't explicitly mark them in code blocks, so it turned them into markup. Test Plan: Used `bin/diviner generate` to regenerate documentation, verified it now renders properly. {F1205818} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10570 Differential Revision: https://secure.phabricator.com/D15619
This commit is contained in:
parent
4d9bbc539e
commit
1bd33ad759
1 changed files with 28 additions and 24 deletions
|
@ -532,10 +532,12 @@ escape HTML and preserve line breaks).
|
|||
|
||||
Remarkup supports simple table syntax. For example, this:
|
||||
|
||||
| Fruit | Color | Price | Peel?
|
||||
| ----- | ----- | ----- | -----
|
||||
| Apple | red | `$0.93` | no
|
||||
| Banana | yellow | `$0.19` | **YES**
|
||||
```
|
||||
| Fruit | Color | Price | Peel?
|
||||
| ----- | ----- | ----- | -----
|
||||
| Apple | red | `$0.93` | no
|
||||
| Banana | yellow | `$0.19` | **YES**
|
||||
```
|
||||
|
||||
...produces this:
|
||||
|
||||
|
@ -546,26 +548,28 @@ Remarkup supports simple table syntax. For example, this:
|
|||
|
||||
Remarkup also supports a simplified HTML table syntax. For example, this:
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Fruit</th>
|
||||
<th>Color</th>
|
||||
<th>Price</th>
|
||||
<th>Peel?</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Apple</td>
|
||||
<td>red</td>
|
||||
<td>`$0.93`</td>
|
||||
<td>no</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Banana</td>
|
||||
<td>yellow</td>
|
||||
<td>`$0.19`</td>
|
||||
<td>**YES**</td>
|
||||
</tr>
|
||||
</table>
|
||||
```
|
||||
<table>
|
||||
<tr>
|
||||
<th>Fruit</th>
|
||||
<th>Color</th>
|
||||
<th>Price</th>
|
||||
<th>Peel?</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Apple</td>
|
||||
<td>red</td>
|
||||
<td>`$0.93`</td>
|
||||
<td>no</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Banana</td>
|
||||
<td>yellow</td>
|
||||
<td>`$0.19`</td>
|
||||
<td>**YES**</td>
|
||||
</tr>
|
||||
</table>
|
||||
```
|
||||
|
||||
...produces this:
|
||||
|
||||
|
|
Loading…
Reference in a new issue