29 Commits

Author SHA1 Message Date
Vadim Godunko
1b8287e93b Fix Ada code to prevent raise of Constraint_Error
(cherry picked from commit 2bce193284)
2024-12-17 09:58:15 +00:00
Maxim Reznik
218fa0bff0 Add explicit enabling of GFM extension 2024-05-01 20:09:41 +03:00
Maxim Reznik
d42f19bf66 Implement GFM table extension 2024-05-01 19:27:12 +03:00
Maxim Reznik
2bcae5f4d8 Add Is_Loose property to lists 2024-05-01 19:25:18 +03:00
Vadim Godunko
a37fc8c044 Merge branch 'topic/vadim/inline' into 'master'
Enable support of code span inline by GNATdoc.

See merge request eng/ide/markdown!19
2024-04-18 17:49:01 +00:00
Vadim Godunko
92856a4bd3 Enable support of code span inline by GNATdoc. 2024-04-12 17:14:37 +04:00
Maxim Reznik
899f34424b Add raw HTML blocks 2024-03-30 18:32:54 +02:00
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