10 Commits

Author SHA1 Message Date
Maxim Reznik
96ec9c3e4e Add Initialize procedure
to allow task-safe initialization.
2025-11-18 23:41:03 +02:00
Maxim Reznik
be871dda4f Use custom indent in code_block for gnatdoc
Otherwise it skip extra character (4 chars instead of 3 spaces).

Fixes #5
2025-05-14 14:40:17 +03:00
Maxim Reznik
f9034de6d9 W216-024: Change LICENCE to Apache 2.0 with LLVM exceptions 2023-04-12 13:20:35 +03:00
Maxim Reznik
33db992d7e Add sumple inline parsers pass and code span support. 2022-11-22 19:20:46 +02:00
Maxim Reznik
0d1a7137e0 Implement fenced code block 2022-11-11 13:25:53 +02:00
Maxim Reznik
28f618ce51 Implement GNATdoc indented code blocks.
Add new testing executable. New procedure

    Markdown.Parsers.GNATdoc_Enable

configures the parser to accept GNATdoc code blocks.
2022-06-30 16:01:16 +03:00
Maxim Reznik
5a9f9c1bd8 Add lists and list items 2022-06-30 15:58:07 +03:00
Maxim Reznik
4dda4ed2c6 Use Match with From argument
instead of explicit copying of input substring. Replace Starts_With
with regexps. Create `Forward` to reuse.
2022-06-30 15:58:07 +03:00
Maxim Reznik
f9c78fbee2 Sime fixes for indented code blocks
* Take skipped characters into account (Input.First).
* Fix `Blank_3` regexp
* Ignore leading and trailing blank lines
2022-06-29 13:05:26 +03:00
Maxim Reznik
0bcd9dc792 Add indented code blocks 2022-06-16 12:55:57 +03:00