katex 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/katex/engine.rb +3 -2
- data/lib/katex/version.rb +2 -2
- data/vendor/katex/javascripts/katex.js +6 -5
- data/vendor/katex/sprockets/stylesheets/_katex.scss +23 -440
- data/vendor/katex/sprockets/stylesheets/katex.css.erb +23 -440
- data/vendor/katex/stylesheets/katex.css +1 -1
- metadata +2 -39
- data/vendor/katex/images/Image-Licensing-and-Technical-Notes.txt +0 -70
- data/vendor/katex/images/bcancel.svg +0 -1
- data/vendor/katex/images/cancel.svg +0 -1
- data/vendor/katex/images/doubleleftarrow.svg +0 -1
- data/vendor/katex/images/doubleleftrightarrow.svg +0 -1
- data/vendor/katex/images/doublerightarrow.svg +0 -1
- data/vendor/katex/images/hookleftarrow.svg +0 -1
- data/vendor/katex/images/hookrightarrow.svg +0 -1
- data/vendor/katex/images/leftarrow.svg +0 -1
- data/vendor/katex/images/leftdoublearrow.svg +0 -1
- data/vendor/katex/images/leftharpoon.svg +0 -1
- data/vendor/katex/images/leftharpoondown.svg +0 -1
- data/vendor/katex/images/leftrightarrow.svg +0 -1
- data/vendor/katex/images/leftrightharpoons.svg +0 -1
- data/vendor/katex/images/linesegment.svg +0 -1
- data/vendor/katex/images/longequal.svg +0 -1
- data/vendor/katex/images/mapsto.svg +0 -1
- data/vendor/katex/images/overbrace.svg +0 -1
- data/vendor/katex/images/overgroup.svg +0 -1
- data/vendor/katex/images/rightarrow.svg +0 -1
- data/vendor/katex/images/rightharpoon.svg +0 -1
- data/vendor/katex/images/rightharpoondown.svg +0 -1
- data/vendor/katex/images/rightleftharpoons.svg +0 -1
- data/vendor/katex/images/tilde1.svg +0 -1
- data/vendor/katex/images/tilde2.svg +0 -1
- data/vendor/katex/images/tilde3.svg +0 -1
- data/vendor/katex/images/tilde4.svg +0 -1
- data/vendor/katex/images/tofrom.svg +0 -1
- data/vendor/katex/images/twoheadleftarrow.svg +0 -1
- data/vendor/katex/images/twoheadrightarrow.svg +0 -1
- data/vendor/katex/images/underbrace.svg +0 -1
- data/vendor/katex/images/undergroup.svg +0 -11
- data/vendor/katex/images/widehat1.svg +0 -1
- data/vendor/katex/images/widehat2.svg +0 -1
- data/vendor/katex/images/widehat3.svg +0 -1
- data/vendor/katex/images/widehat4.svg +0 -1
- data/vendor/katex/images/xcancel.svg +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa62cb73860f84b850054f05dbff884bedbdd684
|
4
|
+
data.tar.gz: e1f1e3f3a0e6e2352ae1e99fa0b9a8b697717837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bc7e3f0baa6b7a52827ce634b8fe8afd51bbba08558c0fcbb95cefb20bfe55db826184f142924c9c3c62604dc9f952062ddb4108e5921c3bc56b7b32f65ffb8
|
7
|
+
data.tar.gz: f5d57c7c41dfcef10f36d22f884d319c8be41fbeccf066ea26281b931a136a29921bc1afd1b5529bc995521bcd3272083d180d678b05faa9a03f9aacdb761fa2
|
data/README.md
CHANGED
data/lib/katex/engine.rb
CHANGED
@@ -6,9 +6,10 @@ module Katex
|
|
6
6
|
initializer 'katex.assets' do |app|
|
7
7
|
# We deliberately do not place the assets in vendor/assets but in
|
8
8
|
# vendor/katex instead, as vendor/assets is added to asset paths
|
9
|
-
# by default but have to avoid including the non-sprockets stylesheet.
|
9
|
+
# by default but we have to avoid including the non-sprockets stylesheet.
|
10
10
|
%w[fonts javascripts images].each do |sub|
|
11
|
-
|
11
|
+
path = root.join('vendor', 'katex', sub).to_s
|
12
|
+
app.config.assets.paths << path if File.directory?(path)
|
12
13
|
end
|
13
14
|
# Use sprockets versions of katex CSS that use asset-path for
|
14
15
|
# referencing fonts.
|
data/lib/katex/version.rb
CHANGED