diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2022-08-23 21:49:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 14:49:53 -0400 |
commit | 14656154efa2b3f08a341742c697fd1064f40166 (patch) | |
tree | 36c9d2b28f6a4f3f227d60f653bc00fa05784fae /compiler/vmconv.nim | |
parent | f4af9e955b64e8fd055da2c85b1846ca5cd1d663 (diff) | |
download | Nim-14656154efa2b3f08a341742c697fd1064f40166.tar.gz |
Add `doctype: RST|Markdown|RstMarkdown` pragma (#20252)
* Add `doctype: RST|Markdown|RstMarkdown` pragma Implements https://github.com/nim-lang/RFCs/issues/68 , see also discussion in https://github.com/nim-lang/Nim/issues/17987 The permitted values: * `markdown`, which is default. It still contains nearly all of the RST supported but it is assumed that in time we will give up most or all RST features in this mode * `rst`, without any extensions * `RstMarkdown` — compatibility with Nim 1.x. It's basically RST with those Markdown features enabled that don't conflict with RST. * Apply suggestions from code review Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> * Additional fix in spirit of review * Fix test after #20188 Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
Diffstat (limited to 'compiler/vmconv.nim')
0 files changed, 0 insertions, 0 deletions