0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/fixtures/doc_with_yaml.md
Karan Thakkar 6ae159fa35
doc: change broken fg(1) links to fg(1p)
The fg(1) links in the readline docs have moved
from `http://man7.org/linux/man-pages/man1/fg.1.html`
to `http://man7.org/linux/man-pages/man1/fg.1p.html`.
It also modifies the regex for replacing man page links
in docs by allowing optional character after number.
eg: fg(1) and fg(1p) will both be now parsed and replaced.

Fixes: https://github.com/nodejs/node/issues/11492
PR-URL: https://github.com/nodejs/node/pull/11504
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2017-02-24 02:43:25 +01:00

35 lines
593 B
Markdown

# Sample Markdown with YAML info
## Foobar
<!-- YAML
added: v1.0.0
-->
Describe `Foobar` in more detail here.
## Foobar II
<!-- YAML
added:
- v5.3.0
- v4.2.0
changes:
- version: v4.2.0
pr-url: https://github.com/nodejs/node/pull/3276
description: The `error` parameter can now be an arrow function.
-->
Describe `Foobar II` in more detail here. fg(1)
## Deprecated thingy
<!-- YAML
added: v1.0.0
deprecated: v2.0.0
-->
Describe `Deprecated thingy` in more detail here. fg(1p)
## Something
<!-- This is not a metadata comment -->
Describe `Something` in more detail here.