87 Commits

Author SHA1 Message Date
Max Reznik
ec081e4919 Merge branch 'topic/vss_extra' into 'master'
Use vss-text and vss-extra dependencies

See merge request eng/ide/markdown!34
2025-11-19 13:15:42 +00:00
Maxim Reznik
9aa85156d0 Use vss-text and vss-extra dependencies 2025-11-19 11:43:44 +02:00
Maxim Reznik
3ce99094bc Skip leading spaces in ATX headers 2025-11-19 11:43:44 +02:00
Max Reznik
339171e289 Merge branch 'topic/init' into 'master'
Add `Initialize` procedure

See merge request eng/ide/markdown!33
2025-11-19 08:45:56 +00:00
Maxim Reznik
96ec9c3e4e Add Initialize procedure
to allow task-safe initialization.
2025-11-18 23:41:03 +02:00
Max Reznik
f136af2505 Merge branch 'topic/fix_img_attr' into 'master'
Look for image attributes just after image markup

Closes #8

See merge request eng/ide/markdown!32
v26.0.0
2025-07-01 14:27:46 +00:00
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
Max Reznik
a9c362da32 Merge branch 'topic/inlines' into 'master'
Add soft/hard line breaks markup parsing.

Closes #7

See merge request eng/ide/markdown!31
2025-06-17 14:00:14 +00: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
b19c3263dd Merge branch 'topic/vadim/extensions' into 'master'
Enable GNATdoc extension in single place.

See merge request eng/ide/markdown!30
2025-06-10 09:55:14 +00:00
Vadim Godunko
b27e5c2b4a Enable GNATdoc extension in single place. 2025-06-10 13:48:29 +04:00
Max Reznik
37b32f1425 Merge branch 'topic/inlines' into 'master'
Add Link_Attributes extension

See merge request eng/ide/markdown!29
2025-06-04 13:56:19 +00:00
Maxim Reznik
451ddcfb5b Add Link_Attributes extension
to allow attributes on links and images:

```
![image](foo.jpg){#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
Max Reznik
3c34339bb1 Merge branch 'topic/fx_gnatdoc' into 'master'
Use custom indent in code_block for gnatdoc

Closes #5

See merge request eng/ide/markdown!28
2025-05-14 12:00:08 +00: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
Max Reznik
109a374723 Merge branch 'topic/rename' into 'master'
Rename `Element` and `Index` to avoid compiler bug

See merge request eng/ide/markdown!27
2025-04-25 14:38:27 +00:00
Maxim Reznik
a83ee26dfa Rename Element and Index to avoid compiler bug 2025-04-24 13:03:51 +03:00