22 Commits

Author SHA1 Message Date
Maxim Reznik
002b07e7c3 Fix compilation warnings. 2023-05-12 15:05:09 +03:00
Vadim Godunko
b258322882 Ada 2022 compatibilty. 2023-05-12 15:27:52 +04:00
Maxim Reznik
c32ad791aa Take list item indent into account
If a list item has an indent, then take it into account when
consuming indenting spaces in subsequent lines.

Fix #1
2023-04-19 16:12:39 +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
690464cab8 Add autolink simple inline parser. 2022-11-23 19:30:24 +02: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
31a93ae4f7 Implement thematic breaks 2022-11-11 10:33:49 +02:00
Maxim Reznik
00747acd16 Implement ATX headings 2022-11-10 18:07:52 +02:00
Maxim Reznik
d20139070d Implement inline links. 2022-11-10 17:49:35 +02:00
Maxim Reznik
dee2389875 Add a draft for inline parsers 2022-11-03 17:38:46 +02:00
Maxim Reznik
23d3086f48 Introduce inline markup parser
Replace Wrap_List_Items procedure with Complete_Parsing.
Use inline markup parser in paragraph to create annotation list.
2022-11-03 17:38:46 +02:00
Maxim Reznik
ae3afbedf9 Add block quote parser 2022-09-02 10:46:58 +03: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
ba362ec567 Add list items markups. 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
8e9c1f3476 Move Reference/Unreference to Markdown.Implementation 2022-06-30 15:58:07 +03:00
Maxim Reznik
54302c9e19 Add Ada 2012 syntax sugar to iterate over blocks. 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
Maxim Reznik
54efbf376b Add initial code 2022-06-04 12:37:06 +03:00