Maxim Reznik
5e21f26c27
Fix spell checker warnings
2025-07-01 15:26:52 +03:00
Maxim Reznik
ae17f8985e
Look for image attributes just after image markup
...
Fix #8
2025-07-01 14:51:51 +03:00
Maxim Reznik
85cc4d500e
Add soft/hard line breaks markup parsing.
2025-06-17 15:17:28 +03:00
Maxim Reznik
fa52b59e48
Allow code spans nested in other markups
2025-06-17 12:55:12 +03:00
Maxim Reznik
1d28a8505a
Don't process delimiters after ] in links/images
...
by mark them as deleted. Consider `[*test](url*)`; this shouldn't
parse as italic.
2025-06-10 13:14:37 +03:00
Vadim Godunko
b27e5c2b4a
Enable GNATdoc extension in single place.
2025-06-10 13:48:29 +04:00
Maxim Reznik
451ddcfb5b
Add Link_Attributes extension
...
to allow attributes on links and images:
```
{#id .class width=30 height=20px}
```
Move HTML attribute list type to a dedicated package.
Move common HTML attribute regexp patterns to a dedicated package.
Introduce Extension_Set type and `Set_Extensions` procedure.
See
https://garrettgman.github.io/rmarkdown/authoring_pandoc_markdown.html#links
2025-06-04 13:51:29 +03:00
Maxim Reznik
5090cae75d
Rename Annotation to Inline
...
and Annotated_Text to Inline_Vector.
2025-06-03 18:45:04 +03:00
Maxim Reznik
30a08b061d
Rewrite annotated text as a vector of inline events
2025-06-03 18:37:05 +03:00
Maxim Reznik
82d27b0f92
Rename Inlines.Inline_Parsers to Inlines.Parsers
2025-05-27 14:39:55 +03:00
Maxim Reznik
e02d4be93a
Rename Markdown.Annotations to Markdown.Inlines.
2025-05-27 14:36:46 +03:00
Maxim Reznik
fa69030abb
Rename Markdown.Inline_Parsers
...
to Markdown.Annotations.Inline_Parsers.
2025-05-27 14:33:42 +03: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
a83ee26dfa
Rename Element and Index to avoid compiler bug
2025-04-24 13:03:51 +03:00
Maxim Reznik
f4c742944c
Implement "image" markup
...
Refs #4
2025-04-16 20:13:17 +03:00
Maxim Reznik
23ebc9c968
Make calls to the Is_Assigned shortcut a little shorter.
...
Fixes #3
2024-12-17 16:55:44 +02:00
Maxim Reznik
d3c2c12983
Fix spellchecks issues
2024-12-17 16:50:08 +02:00
Vadim Godunko
2bce193284
Fix Ada code to prevent raise of Constraint_Error
2024-12-09 07:41:58 +04:00
Vadim Godunko
4b6ecae7d7
Protect from null data.
2024-11-28 17:49:48 +04: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