Commit Graph

15 Commits

Author SHA1 Message Date
Folkert Kevelam
384443692c Add an initial solution to the parsing of definition lists for MDX
MDX does not follow the 'standard' way of parsing defintion lists.
Instead, this commit adds a small filter that basically hacks some
html tags to the source definition list.
2025-06-07 19:41:37 +02:00
Maxim Reznik
1a75f9620f Avoid abbreviations 2025-05-31 14:20:27 +03:00
Folkert Kevelam
1eb07a262c
Add options for multi column code examples (#8)
* Reformat Blocks with a hashed_map

In the package Pandoc a function called `Get_Type()` is defined,
which takes a JSON block and returns the pandoc assigned type.

The main code of the `Traverse_Block` function is changed to
use an enumeration of Pandoc types instead of comparing string.

* Rename Package to reduce text

* Correct indent

* Add functions for creating Div's and Attributes

* Change table with codeblocks to nested div's

* Add sidebar_position for Ada_Style_Guide.mdx
2025-05-31 13:59:57 +03:00
Maxim Reznik
72c71e2a70 Rewrite to work with pandoc-3.1.3
Refs #7
2025-05-12 23:24:18 +03:00
Maxim Reznik
1c3d56ed30 Add required pandoc version and a structure comment. 2025-05-12 22:40:35 +03:00
Maxim Reznik
ef2f6df2b0 Split long sections into subdirectories.
I've found, that wikibook has just part of Section 5, so I converted
missing text from html and put it on the wikibook. I put here the
conversion script just in case. Probably we can reuse it if we
will work on restoring links present in HTML, but lost on wikibook.
2023-04-21 14:19:07 +03:00
Maxim Reznik
b1eb1a2eb2 Fix markdown to match one expected by yarn format. 2022-09-26 13:51:50 +03:00
Paul Jarrett
453daed416 Remove draft status of style guide
Draft prevents the guide from showing up when built.
2022-09-26 13:50:17 +03:00
Maxim Reznik
0c45391362 Replace "wikilinks" links
with absolute links to wikipedia and wikibooks.
Fix #2
2022-09-26 13:49:50 +03:00
Maxim Reznik
181c366690 Add an empty line before :::note admonitions
to avoid broken notes after applying `yarn format`.
2022-09-26 13:49:31 +03:00
Maxim Reznik
c34b061dff Move CC SA license note at the end of each page. 2022-09-12 15:01:24 +03:00
Maxim Reznik
a262903d0a Add license note to each page. 2022-09-11 18:19:29 +03:00
Maxim Reznik
e7096e302e Drop slug from the index page. 2022-09-10 11:30:51 +03:00
Maxim Reznik
fb06c44f34 Import initial sources 2022-09-10 10:47:13 +03:00
Maxim Reznik
50351eab25
Initial commit 2022-09-10 10:32:14 +03:00