thredded-markdown_katex 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/thredded/markdown_katex.rb +2 -0
- data/lib/thredded/markdown_katex/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ed96f469b7fdcc68693ae31f109cd9a0155917d26b1245a1b4c23f66580c4cce
|
4
|
+
data.tar.gz: d78fe5092eac6466efea45d80df1b0c19ef6b154d570137f1f25e1c451b02ef6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4d4b92e522785dad84adfd325e50cdae9145052daad8ce6053d6ceaa9f70fb6e663457fe114597a01f4f21f269e5b0bc4fa45cc3a599dbe0244416b920f677a
|
7
|
+
data.tar.gz: ede7ca868117f825cafe819a95687ef39749217066d581f7419a83a6f5de0fbe1a56fab1854a0f283469178a38bbc04d97892118da84d00ab9c97056c6a432da
|
@@ -25,6 +25,8 @@ module Thredded
|
|
25
25
|
# KaTeX engine for versions of Kramdown that do not have it built-in:
|
26
26
|
if Gem::Version.new(Kramdown::VERSION) < Gem::Version.new('1.17.0')
|
27
27
|
require 'thredded/markdown_katex/kramdown/katex_converter'
|
28
|
+
else
|
29
|
+
require 'kramdown-math-katex'
|
28
30
|
end
|
29
31
|
Thredded::HtmlPipeline::KramdownFilter.options.update(options)
|
30
32
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thredded-markdown_katex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Mazovetskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katex
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.4.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: kramdown-math-katex
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
160
|
version: '0'
|
147
161
|
requirements: []
|
148
162
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.7.8
|
150
164
|
signing_key:
|
151
165
|
specification_version: 4
|
152
166
|
summary: Adds TeX math support to Thredded markup via KaTeX.
|