From 89e02146c8699ce65833484f2d99597dc5f8cc50 Mon Sep 17 00:00:00 2001 From: Piotr Spieker Date: Sun, 10 Nov 2024 08:49:18 +0100 Subject: [PATCH] Fix collapsible sections --- Gemfile | 1 + _config.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/Gemfile b/Gemfile index 90fb16f9..516d2cce 100644 --- a/Gemfile +++ b/Gemfile @@ -9,6 +9,7 @@ gem "github-pages", "~> 232", group: :jekyll_plugins # If you have any plugins, put them here! group :jekyll_plugins do gem "jekyll-feed", "~> 0.12" + gem 'jekyll-commonmark-ghpages', "~> 0.5.1" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/_config.yml b/_config.yml index e843765d..100338af 100644 --- a/_config.yml +++ b/_config.yml @@ -18,6 +18,14 @@ sass: sass_dir: docs/assets/_sass +# Support collapsible details/summary sections +markdown: CommonMarkGhPages + +commonmark: + options: ["UNSAFE", "SMART", "FOOTNOTES"] + extensions: ["strikethrough", "autolink", "table", "tagfilter"] + + # Tell Jekyll to use README.md and docs/ only. # # For some reason exluding root and then including only these does not work,