aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-06 00:49:45 -0300
committerEuAndreh <eu@euandre.org>2020-02-06 00:49:56 -0300
commite21509373ec6198062080d2957142907df316eff (patch)
tree6b5cbb9a751fba507c61498b5a8693c4ca0ec2bc
parentUpdate code highlight CSS class (diff)
downloadeuandre.org-e21509373ec6198062080d2957142907df316eff.tar.gz
euandre.org-e21509373ec6198062080d2957142907df316eff.tar.xz
Use pandoc to render markdown
-rw-r--r--Gemfile4
-rw-r--r--Gemfile.lock5
-rw-r--r--_config.yml5
-rw-r--r--gemset.nix21
4 files changed, 35 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index c99d6dd..08fa131 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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
diff --git a/gemset.nix b/gemset.nix
index 83eb445..c981ef3 100644
--- a/gemset.nix
+++ b/gemset.nix
@@ -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"];