diff options
author | EuAndreh <eu@euandre.org> | 2020-02-06 00:49:45 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-02-06 00:49:56 -0300 |
commit | e21509373ec6198062080d2957142907df316eff (patch) | |
tree | 6b5cbb9a751fba507c61498b5a8693c4ca0ec2bc | |
parent | Update code highlight CSS class (diff) | |
download | euandre.org-e21509373ec6198062080d2957142907df316eff.tar.gz euandre.org-e21509373ec6198062080d2957142907df316eff.tar.xz |
Use pandoc to render markdown
-rw-r--r-- | Gemfile | 4 | ||||
-rw-r--r-- | Gemfile.lock | 5 | ||||
-rw-r--r-- | _config.yml | 5 | ||||
-rw-r--r-- | gemset.nix | 21 |
4 files changed, 35 insertions, 0 deletions
@@ -1,3 +1,7 @@ source "https://rubygems.org" gem "jekyll" + +group :jekyll_plugins do + gem "jekyll-pandoc" +end diff --git a/Gemfile.lock b/Gemfile.lock index 58faf53..5567a1a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -27,6 +27,9 @@ GEM pathutil (~> 0.9) rouge (>= 1.7, < 4) safe_yaml (~> 1.0) + jekyll-pandoc (2.0.1) + jekyll (>= 3.0) + pandoc-ruby (~> 2.0, >= 2.0.0) jekyll-sass-converter (1.5.2) sass (~> 3.4) jekyll-watch (2.2.1) @@ -37,6 +40,7 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) + pandoc-ruby (2.0.2) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (3.1.1) @@ -56,6 +60,7 @@ PLATFORMS DEPENDENCIES jekyll + jekyll-pandoc BUNDLED WITH 1.17.3 diff --git a/_config.yml b/_config.yml index 8eabae1..3812668 100644 --- a/_config.yml +++ b/_config.yml @@ -5,6 +5,11 @@ author: name: EuAndreh email: eu@euandre.org +plugins: + - jekyll-pandoc + +markdown: Pandoc + exclude: - Gemfile - Gemfile.lock @@ -103,6 +103,17 @@ }; version = "3.8.5"; }; + jekyll-pandoc = { + dependencies = ["jekyll" "pandoc-ruby"]; + groups = ["jekyll_plugins"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0yvgwiwc4b0n7a1c12jp2wgxirj6k5sdi78qmxkh9lr3xnladxip"; + type = "gem"; + }; + version = "2.0.1"; + }; jekyll-sass-converter = { dependencies = ["sass"]; groups = ["default"]; @@ -166,6 +177,16 @@ }; version = "0.3.6"; }; + pandoc-ruby = { + groups = ["default" "jekyll_plugins"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1spvmwkdd90f0pswcvq2zf2pmf89gaq0sicmbrcpz3m984d5yyax"; + type = "gem"; + }; + version = "2.0.2"; + }; pathutil = { dependencies = ["forwardable-extended"]; groups = ["default"]; |