From 690f4c08eb55870009997f757847ce00e1f9a3ab Mon Sep 17 00:00:00 2001 From: Thomas Quinot Date: Sun, 23 Mar 2025 14:58:15 +0100 Subject: [PATCH] Add figure plugin --- Gemfile | 2 ++ Gemfile.lock | 2 ++ _config.yml | 1 + _source/assets/main.scss | 4 ++++ 4 files changed, 9 insertions(+) diff --git a/Gemfile b/Gemfile index 467edeb..3d60167 100644 --- a/Gemfile +++ b/Gemfile @@ -33,3 +33,5 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] gem "jekyll-openmoji", "~> 0.1.6" + +gem "jekyll-figure", "~> 0.2.0" diff --git a/Gemfile.lock b/Gemfile.lock index 6e20758..24e4943 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -54,6 +54,7 @@ GEM webrick (~> 1.7) jekyll-feed (0.17.0) jekyll (>= 3.7, < 5.0) + jekyll-figure (0.2.0) jekyll-openmoji (0.1.6) html-pipeline (~> 2.14) html-pipeline-negarmoji (~> 0.1.6) @@ -110,6 +111,7 @@ DEPENDENCIES http_parser.rb (~> 0.6.0) jekyll (~> 4.3.2) jekyll-feed (~> 0.12) + jekyll-figure (~> 0.2.0) jekyll-openmoji (~> 0.1.6) minima (~> 2.5) tzinfo (>= 1, < 3) diff --git a/_config.yml b/_config.yml index 6aabfb2..e56772f 100644 --- a/_config.yml +++ b/_config.yml @@ -31,6 +31,7 @@ theme: minima plugins: - jekyll-feed - jekyll-openmoji + - jekyll-figure # Exclude from processing. # The following items will not be processed, by default. diff --git a/_source/assets/main.scss b/_source/assets/main.scss index f91c744..d262b3a 100644 --- a/_source/assets/main.scss +++ b/_source/assets/main.scss @@ -8,3 +8,7 @@ text-decoration: overline; } +figcaption { + font-style: italic; +} +