mirror of https://github.com/lukechilds/node.git
Browse Source
Add checks that make sure the doctool parses metadata correctly. PR-URL: https://github.com/nodejs/node/pull/6495 Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>process-exit-stdio-flushing
Anna Henningsen
9 years ago
3 changed files with 88 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||||
|
# Sample Markdown with YAML info |
||||
|
|
||||
|
## Foobar |
||||
|
<!-- YAML |
||||
|
added: v1.0.0 |
||||
|
--> |
||||
|
|
||||
|
Describe `Foobar` in more detail here. |
||||
|
|
||||
|
## Deprecated thingy |
||||
|
<!-- YAML |
||||
|
added: v1.0.0 |
||||
|
deprecated: v2.0.0 |
||||
|
--> |
||||
|
|
||||
|
Describe `Deprecated thingy` in more detail here. |
||||
|
|
||||
|
## Something |
||||
|
<!-- This is not a metadata comment --> |
||||
|
|
||||
|
Describe `Something` in more detail here. |
Loading…
Reference in new issue