summaryrefslogtreecommitdiff
path: root/src/_plugins/html-markdown.rb
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-12-15 10:45:58 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-12-15 10:45:58 +0100
commit5c086bc52fa3a226bcf706b1f420a5d98ea377dd (patch)
treeda5b28238542247efbe36c49cbc6cfd4e49f3e36 /src/_plugins/html-markdown.rb
parent64e0495846f8b680288280920cba6bcb28e4092f (diff)
Redo most of the blog in Hugo
Missing posts will have to be added later
Diffstat (limited to 'src/_plugins/html-markdown.rb')
-rw-r--r--src/_plugins/html-markdown.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/_plugins/html-markdown.rb b/src/_plugins/html-markdown.rb
deleted file mode 100644
index 7d60137..0000000
--- a/src/_plugins/html-markdown.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-module Jekyll
- class MarkdownBlock < Liquid::Block
- def initialize(tag_name, text, tokens)
- super
- end
-
- require "redcarpet"
-
- def render(context)
- content = super
-
- "#{Redcarpet::Markdown.new(Redcarpet::Render::HTML).render(content)}"
- end
- end
-end
-
-Liquid::Template.register_tag('markdown', Jekyll::MarkdownBlock)