From d7f6edfec40513227dde37d41d3b573821dd77be Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Thu, 22 Aug 2024 22:35:33 +0300 Subject: [PATCH 1/2] Add git to be allowed to execute --- config/_default/security.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/security.toml b/config/_default/security.toml index ab24e26..f31776a 100644 --- a/config/_default/security.toml +++ b/config/_default/security.toml @@ -1,7 +1,7 @@ enableInlineShortcodes = false [exec] -allow = ['^asciidoctor$', '^dart-sass-embedded$', '^go$', '^npx$', '^postcss$'] +allow = ['^asciidoctor$', '^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', 'git'] osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|GO*)$'] [funcs] From b6d38e79e98f6effd470e84f87b245d90d8e5320 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Thu, 22 Aug 2024 22:35:55 +0300 Subject: [PATCH 2/2] Remove html5s backend, it's not working with current asciidoctor --- config/_default/markup.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/_default/markup.toml b/config/_default/markup.toml index f54cdd4..4a4a0ab 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -1,7 +1,7 @@ [asciidocExt] workingFolderCurrent = true -extensions = ["asciidoctor-html5s"] -backend = "html5s" +#extensions = ["asciidoctor-html5s"] +backend = "html5" [asciidocExt.attributes] source-highlighter = "rouge"