Andrey Makarov
4bfc5a9551
Rst test check messages ( fix #17280 ) ( #17338 )
2021-03-17 20:13:04 +01:00
Andrey Makarov
144e338abb
allow short-style rst references with symbols ( #17372 )
2021-03-17 18:08:13 +01:00
Andrey Makarov
d97bf4f1c8
fix RST parsing when no indent after enum.item ( fix #17249 ) ( #17257 )
2021-03-12 08:33:21 +01:00
Andrey Makarov
02f4464058
RST heading improvements ( fix #17091 ) ( #17195 )
2021-03-02 16:41:10 +01:00
Andrey Makarov
fab1618eb4
make rst.nim use object variant ( #17138 )
...
* make rst.nim use object variant
* add workaround
* fix mistake
2021-02-22 11:00:31 +01:00
Andrey Makarov
d1fec552d0
stricter checks for RST headlines ( #17089 )
2021-02-20 18:01:45 +01:00
Andrey Makarov
35bd39a9d0
RST: implement footnotes and citations ( #16960 )
...
* RST: implement footnotes and citations
* manual fixup of nimdoc.out.css
* remove unused code
* shorter printing code
* Update lib/packages/docutils/rst.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-02-15 14:12:40 +01:00
Andrey Makarov
8053ccde2f
parse RST headings when EOF follows them ( #17014 )
2021-02-12 15:08:09 +01:00
Andrey Makarov
fd5c8ef208
RST: implement internal targets ( #16614 )
2021-01-11 19:51:04 +01:00
Andrey Makarov
5984f7a7dd
RST: improve line blocks ( #16518 )
2020-12-31 11:20:04 +01:00
Andrey Makarov
e70ac0f34c
RST: fix directive with fields ( #16490 ) ( #16493 )
...
* RST: fix directive with fields (#16490 )
* Update tests/stdlib/trstgen.nim
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-12-29 03:32:11 +01:00
flywind
6d442a40a6
use doAssert in tests ( #16486 )
2020-12-28 14:13:21 +01:00
Andrey Makarov
2bdc479622
RST: implement admonitions ( #16438 )
2020-12-27 11:16:12 +01:00
Andrey Makarov
9674eb3ca6
RST enumlist followup ( #16382 )
...
* fix matching of enumerator #)
* RST: markdown list with auto-enumerator `1`
2020-12-19 10:33:10 +01:00
Andrey Makarov
e843492b13
doc/rst2html: some few fixes for enumerated and bullet lists ( #16295 )
...
* fix bullet/enumarated lists with many blank lines
* fix enumerated list parsing
* fix parse failure when next line after list empty
* implement arbitrary start of enumerator
* check that enumerators are in order
* remove redundant start=x if x=1 or a
* add some doc on implemented features
* update start in rst_examples.rst
* allow upper-case letters + more docs
2020-12-14 18:10:39 +01:00
Xabier Bello
4c533b2d92
Added Python to highlite module. ( #16286 )
...
* Added Python to highlite module.
* Added the keywords for Python
* Refactored the 'pythonLikeNextToken' into 'nimNextToken':
- `lang` property added to GeneralTokenizer object, is set in `getNextToken`.
- `nimNextToken` accepts `keywords` parameter, used for languages different
from Nim.
- Multiline comment available only for `langNim`.
2020-12-08 10:44:07 +01:00
Andrey Makarov
6877e0c8a3
RST tables: fix latex col number; allow less than three of = ( #16040 )
2020-12-04 08:50:17 +01:00
flywind
bc1db0d6f1
move rest of tests to testament ( #16140 )
...
* move rest of tests to testament
* Update tests/stdlib/tsums.nim
2020-11-27 20:47:49 +01:00
Miran
ee78d76108
rst: add support for markdown tables ( #15854 )
...
* rst: add support for markdown tables
* change template into proc
* don't create unnecessary `seq[string]`
2020-11-10 09:41:26 +01:00
Miran
1494d88fa2
rst: parse brackets individually, fixes #10475 ( #10997 )
2019-04-10 15:55:57 +02:00
Arne Döring
9c2365d5c2
activated more tests, allow input in test spec
2018-11-23 11:58:28 +01:00
Felix Krause
6fe916fc77
Fixes to YAML highlighting support, added tests
2016-04-01 21:35:46 +02:00