Skip to content

Commit

Permalink
Add deprecation note for pedantic mode
Browse files Browse the repository at this point in the history
Closes GH-470.
Closes GH-477.
Related-to GH-480.

Reviewed-by: Christian Murphy <[email protected]>
  • Loading branch information
wooorm authored Mar 28, 2020
1 parent a029045 commit 4a6dcc9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
18 changes: 4 additions & 14 deletions packages/remark-parse/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,20 +175,10 @@ referenced from inside other footnotes.

###### `options.pedantic`

Pedantic mode (`boolean`, default: `false`).

```markdown
Check out some_file_name.txt
```

Turns on:

* Emphasis (`_alpha_`) and importance (`__bravo__`) with underscores in words
* Unordered lists with different markers (`*`, `-`, `+`)
* If `commonmark` is also turned on, ordered lists with different markers
(`.`, `)`)
* And removes less spaces in list items (at most four, instead of the whole
indent)
⚠️ Pedantic was previously used to mimic old-style Markdown mode: no tables, no
fenced code, and with many bugs.
It’s currently still “working”, but please do not use it, it’ll be removed in
the future.

###### `options.blocks`

Expand Down
7 changes: 4 additions & 3 deletions packages/remark-stringify/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ Stringify for CommonMark compatible Markdown (`boolean`, default: `false`).

###### `options.pedantic`

Stringify for pedantic compatible markdown (`boolean`, default: `false`).

* Escape underscores in words
⚠️ Pedantic was previously used to mimic old-style Markdown mode: no tables, no
fenced code, and with many bugs.
It’s currently still “working”, but please do not use it, it’ll be removed in
the future.

###### `options.entities`

Expand Down

0 comments on commit 4a6dcc9

Please sign in to comment.