jekyll-div-markdown 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/jekyll-div-markdown.rb +12 -0
  3. metadata +72 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fb17ec69c1403722af7dc69a0bb8fea23951130a3a1ee43c4647d968899c666d
4
+ data.tar.gz: 15543beb04ef002813fe0b7c18ab5d7012206e054076251e4b9dc02c23f68cd8
5
+ SHA512:
6
+ metadata.gz: 441f66ecbef654bc5626aa2de3e58a3c0e0e073abe4137da1ca9153499b50befe891fe64e09e5d6ea6e329ae21c01f2e9d25f688accbd7e1cd311a5f5b5fb5ec
7
+ data.tar.gz: 6a5cc637345c0877c86b44973096f79e78d4905c607191cfb0322a0cc9e603840e16155c9a156d6e60ca457a040caef0d637a6b0052bc0a6da38b8e7b615bc79
@@ -0,0 +1,12 @@
1
+ require "jekyll"
2
+
3
+ module Jekyll
4
+ class DivMarkdown < Liquid::Block
5
+ def render(context)
6
+ text = super
7
+ "<div markdown=\"1\">\n #{text} \n</div>"
8
+ end
9
+ end
10
+ end
11
+
12
+ Liquid::Template.register_tag('div_markdown', Jekyll::DivMarkdown)
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-div-markdown
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
5
+ platform: ruby
6
+ authors:
7
+ - Amit Seal Ami
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.0.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.0.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
41
+ description: A liquid block that allows you to use markdown in kramdown div block.
42
+ This is my first gem/first ruby anything. May or may not work!
43
+ email: lordamit@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - lib/jekyll-div-markdown.rb
49
+ homepage: https://github.com/LordAmit/jekyll-div-markdown
50
+ licenses:
51
+ - MIT
52
+ metadata: {}
53
+ post_install_message:
54
+ rdoc_options: []
55
+ require_paths:
56
+ - lib
57
+ required_ruby_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ requirements: []
68
+ rubygems_version: 3.0.6
69
+ signing_key:
70
+ specification_version: 4
71
+ summary: A liquid block that allows you to use markdown in kramdown div block
72
+ test_files: []