From 1c3d56ed306436f09f36f9c2029e3cbfdf59b78f Mon Sep 17 00:00:00 2001 From: Maxim Reznik Date: Mon, 12 May 2025 22:40:35 +0300 Subject: [PATCH] Add required pandoc version and a structure comment. --- README.md | 6 +++++- source/aqs2mdx.adb | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f3830d8..e518f4c 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,13 @@ These scripts convert the WiKi book to ada-lang.io markdown. +## Requirements + +You need `pandoc-2.9.2.1`, `curl`, `sed` installed. + ## Build and run -You need `pandoc`, `curl`, `sed` installed. Build a pandoc filter with Alire: +Build a pandoc filter with Alire: alr build diff --git a/source/aqs2mdx.adb b/source/aqs2mdx.adb index f175412..a4c2bc7 100644 --- a/source/aqs2mdx.adb +++ b/source/aqs2mdx.adb @@ -98,6 +98,13 @@ procedure Aqs2mdx is -- Flatting tables because no multiline tables in .md declare + -- Table structure in pandoc-types-1.20. See + -- https://hackage.haskell.org/package/pandoc-types-1.20/docs/ + -- Text-Pandoc-Definition.html + -- + -- 1 2 3 4 5 + -- Table [Inline] [Alignment] [Double] [TableCell] [[TableCell]] + Content : constant League.JSON.Arrays.JSON_Array := Block (+"c").To_Array;