revealing 1.0.7 → 1.0.8
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.
- checksums.yaml +4 -4
- data/README.markdown +2 -1
- data/lib/revealing/tasks.rb +4 -0
- data/lib/revealing/version.rb +1 -1
- data/templates/mathjax/config.js +5 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84a0a3762d9de3110603c7a614a68c63cd51753b24298c4c8af9c57551a5e2b9
|
4
|
+
data.tar.gz: 7b495015e7571389a28faffb08ffec1fbaf5e8c83ca240cbf5e9e0937cb08353
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3842d2a06aa8dae722c81c0475096a808a44955106f00dd681da92b66ac34c1fe08bd8ad9f86dc05cdfcbd4bfef16cb2bc78f58c928726ec15fd45d05679b2aa
|
7
|
+
data.tar.gz: efd07443ff09568c7b5f591890a24fbb96db37df4a7977f6651ef44673f9378bba04a2939d39ab1f33abf1ac31c1294207237657330c52835475d27466c06279
|
data/README.markdown
CHANGED
@@ -37,12 +37,12 @@ Unique features:
|
|
37
37
|
|
38
38
|
# TODO
|
39
39
|
|
40
|
-
1. Add mathjax (copy to target if present, otherwise use CDN)
|
41
40
|
1. Read desired dependencies (URLs or version numbers) from ENV vars or a YAML file (with sensible defaults coming from this project)
|
42
41
|
1. Re-add ditaa processing, or replace with [mermaid-filter](https://github.com/raghur/mermaid-filter)
|
43
42
|
|
44
43
|
Milestone: 1.1
|
45
44
|
|
45
|
+
1. Allow self-hosted mathjax (copy to target)
|
46
46
|
1. Charts using [vega-lite](https://vega.github.io/vega-lite/usage/embed.html)
|
47
47
|
1. Add guard-livereload to the generated project
|
48
48
|
1. Expose customization of
|
@@ -51,6 +51,7 @@ Milestone: 1.1
|
|
51
51
|
* theme
|
52
52
|
* slideNumber
|
53
53
|
* history
|
54
|
+
* metadata (e.g. `lang=de_DE`)
|
54
55
|
1. Provide a docker image so that we can run without installing everything
|
55
56
|
1. PDF output
|
56
57
|
1. Make the initial set of files more meaningful (e.g. add the project name, `git config user.name` etc.)
|
data/lib/revealing/tasks.rb
CHANGED
@@ -33,6 +33,8 @@ load "#{__dir__}/tasks/reveal.js.rake"
|
|
33
33
|
|
34
34
|
git_dirty_file DIRTY_FILE
|
35
35
|
|
36
|
+
MATH_JAX_VERSION = '2.7.5'
|
37
|
+
|
36
38
|
desc "Build #{TARGET_FILE}"
|
37
39
|
file TARGET_FILE => [ TARGET_DIR, REVEAL_JS_TARGET_DIR, GPP_FILE, DIRTY_FILE] + ASSETS + RESIZED_ASSETS + HEADERS do
|
38
40
|
sh %(pandoc
|
@@ -45,6 +47,8 @@ file TARGET_FILE => [ TARGET_DIR, REVEAL_JS_TARGET_DIR, GPP_FILE, DIRTY_FILE] +
|
|
45
47
|
--variable slideNumber=true
|
46
48
|
--variable history=true
|
47
49
|
--variable revealjs-url=#{REVEAL_JS}
|
50
|
+
--mathjax=https://cdnjs.cloudflare.com/ajax/libs/mathjax/#{MATH_JAX_VERSION}/MathJax.js?config=TeX-AMS_CHTML-full
|
51
|
+
--include-in-header=#{__dir__ + '/../../templates/mathjax/config.js'}
|
48
52
|
#{HEADERS.map { |h| "--include-in-header=#{h}" }.join("\n")}
|
49
53
|
#{GPP_FILE}
|
50
54
|
).split("\n").join(' ')
|
data/lib/revealing/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: revealing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steffen Uhlig
|
@@ -211,6 +211,7 @@ files:
|
|
211
211
|
- templates/init/README.markdown
|
212
212
|
- templates/init/Rakefile
|
213
213
|
- templates/init/src/index.markdown
|
214
|
+
- templates/mathjax/config.js
|
214
215
|
homepage:
|
215
216
|
licenses:
|
216
217
|
- MIT
|