asciidoctor-revealjs 5.0.1 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3164360d02dbc7dafab8ac1567d4a790f858a90c6da317528aead0fe1335ecce
4
- data.tar.gz: 9740b93e816563985092a5c1e08fef9c6869b48b4021efaadd7c5dff86ee1f4b
3
+ metadata.gz: 451c358338a13a536e6bd42880f315b7dbd188629c1f5f89fe4a480a6a31048e
4
+ data.tar.gz: 6c2984f72229dd50c38bf6ef8c61357c0faf906ca8563c586c4eeded3ed35a89
5
5
  SHA512:
6
- metadata.gz: f524101f147f51b0813eb3403deecfe967f2e68c344be30e2050847722854bdb62da9a149d860cfc8861feca91135ce57261c18c05a654a730dbe2f246a2e850
7
- data.tar.gz: c48ab897877a4831d209d724114dec9aa1c68188f9ab8b836db09f231f4bc85768f20275d433a4d301b04ad56639ec4922017bee63026d997aa5d7d1c686a9a1
6
+ metadata.gz: fd44d33a8862240fc69f4e1737ed2a796010861028a1b33998b2b35a793a7a71a17b7171059b5faf31418a9fca27eb94eff5bc58b773f9fa7aadb6b2eb7cb0d2
7
+ data.tar.gz: 1f812c46d9426d55ab8802473050ef52c74ccb668bc8e2ec81ad1d4e7878e5e2518094ee179f778073240cf28809451d4feace83ae2ce528bdb2585bd42d0c16
data/Gemfile CHANGED
@@ -4,8 +4,8 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  group :development do
7
- # Asciidoctor.js 2.0.0 requires an unreleased Opal 0.11.99.dev (d136ea8)
8
- gem 'opal', :git => 'https://github.com/opal/opal.git', :ref => 'd136ea8'
7
+ # Asciidoctor.js 3.0.0 requires Opal 1.7.3
8
+ gem 'opal', '1.7.3'
9
9
  # Asciidoctor Doctest based on Nokogiri 1.13
10
10
  gem 'asciidoctor-doctest', git: 'https://github.com/ggrossetie/asciidoctor-doctest.git', :ref => 'c2cba5240'
11
11
  end
data/Rakefile CHANGED
@@ -151,6 +151,9 @@ namespace :examples do
151
151
  FileUtils.cp 'examples/release-4.1.html', "#{PUBLIC_DIR}/release-4.1.html"
152
152
  FileUtils.cp 'examples/release-4.1.css', "#{PUBLIC_DIR}/release-4.1.css"
153
153
  FileUtils.cp 'examples/a11y-dark.css', "#{PUBLIC_DIR}/a11y-dark.css"
154
+ FileUtils.cp 'examples/release-5.1.html', "#{PUBLIC_DIR}/release-5.1.html"
155
+ FileUtils.cp 'examples/release-5.1.css', "#{PUBLIC_DIR}/release-5.1.css"
156
+ FileUtils.cp 'examples/release-5.2.html', "#{PUBLIC_DIR}/release-5.2.html"
154
157
  end
155
158
  end
156
159
 
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.add_development_dependency 'rake', '~> 13.0.0'
36
36
  # Overriden in Gemfile
37
37
  #s.add_development_dependency 'asciidoctor-doctest', '= 2.0.0.beta.7'
38
- s.add_development_dependency 'minitest', '~> 5.14'
38
+ s.add_development_dependency 'minitest', [ '~> 5.24.0', '< 5.25']
39
39
  if RUBY_ENGINE != 'jruby'
40
40
  s.add_development_dependency 'pry', '~> 0.12.0'
41
41
  s.add_development_dependency 'irb'
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
43
43
  s.add_development_dependency 'pygments.rb'
44
44
  end
45
45
  s.add_development_dependency 'colorize'
46
- s.add_development_dependency 'asciidoctor-templates-compiler', '~> 0.6.0'
46
+ s.add_development_dependency 'asciidoctor-templates-compiler', '~> 0.7.0'
47
47
  s.add_development_dependency 'slim', '~> 3.0.6'
48
48
  s.add_development_dependency 'slim-htag', '~> 0.1.0'
49
49
  s.add_development_dependency 'rouge'
@@ -0,0 +1,43 @@
1
+ = Asciidoctor reveal.js 5.1
2
+ //:stem:
3
+ :source-highlighter: highlight.js
4
+ :highlightjs-theme: a11y-dark.css
5
+ :highlightjs-languages: asciidoc
6
+ :icons: font
7
+ :imagesdir: images/
8
+ // reveal.js config
9
+ :customcss: release-5.1.css
10
+ :revealjs_theme: moon
11
+ :revealjs_hash: true
12
+ :revealjs_width: 1080
13
+
14
+ == New Features icon:rocket[set=fas]
15
+
16
+ [background-gradient="linear-gradient(to bottom, #002b36, #00b4e0)"]
17
+ == Gradient slide backgrounds
18
+
19
+ [.big-fish]
20
+ 🐟
21
+
22
+ [background-gradient="radial-gradient(#002b36, #00b4e0)"]
23
+ === Radial gradient
24
+
25
+ [.big-fish]
26
+ 🐳
27
+
28
+ == Typesetting Libraries
29
+
30
+ [latexmath]
31
+ ++++
32
+ \lim_{n \to \infty}\frac{n}{\sqrt[n]{n!}} = {\large e}
33
+ ++++
34
+
35
+
36
+ [transition=fade,transition-speed=slow]
37
+ == Learn More!
38
+
39
+ * https://github.com/asciidoctor/asciidoctor-reveal.js/[Asciidoctor reveal.js]
40
+ * https://revealjs.com[reveal.js]
41
+ * https://github.com/asciidoctor/asciidoctor/[Asciidoctor]
42
+ * https://asciidoc.org/[What is AsciiDoc?]
43
+ * https://github.com/asciidoctor/asciidoctor-reveal.js/raw/master/examples/release-5.1.adoc[Source of this presentation (AsciiDoc)]
@@ -0,0 +1,7 @@
1
+ h1 {
2
+ text-wrap: balance;
3
+ }
4
+
5
+ .big-fish {
6
+ font-size: 3em;
7
+ }
@@ -0,0 +1,49 @@
1
+ = Asciidoctor reveal.js 5.2
2
+ //:stem:
3
+ :source-highlighter: highlight.js
4
+ :highlightjs-theme: a11y-dark.css
5
+ :highlightjs-languages: asciidoc
6
+ :icons: font
7
+ :imagesdir: images/
8
+ // reveal.js config
9
+ :customcss: release-5.1.css
10
+ :revealjs_theme: moon
11
+ :revealjs_hash: true
12
+ :revealjs_width: 1080
13
+
14
+ == New Features icon:rocket[set=fas]
15
+
16
+ == Iterating through callouts
17
+ [source, javascript]
18
+ ----
19
+ let a = 2; <1>
20
+ let b = 3; <2>
21
+ console.log(a+b); <3>
22
+ ----
23
+ [%step]
24
+ <1> It is now possible to iterate through callout lists...
25
+ <2> using the `%step` attribute...
26
+ <3> to explain code more easily !
27
+
28
+ == Synchronising step-by-step syntax highlighting
29
+ [.fragment, java, highlight="1|2|3", step=0]
30
+ ----
31
+ Optional<String> foo();
32
+ Optional<String> bar();
33
+ Optional<String> foobar();
34
+ ----
35
+ [.fragment, data-fragment-index=0]
36
+ step-by-step syntax highlighting
37
+ [.fragment, data-fragment-index=1]
38
+ In combination with data-fragment-index
39
+ [.fragment, data-fragment-index=2]
40
+ Allow synchronized fragment display
41
+
42
+ [transition=fade,transition-speed=slow]
43
+ == Learn More!
44
+
45
+ * https://github.com/asciidoctor/asciidoctor-reveal.js/[Asciidoctor reveal.js]
46
+ * https://revealjs.com[reveal.js]
47
+ * https://github.com/asciidoctor/asciidoctor/[Asciidoctor]
48
+ * https://asciidoc.org/[What is AsciiDoc?]
49
+ * https://github.com/asciidoctor/asciidoctor-reveal.js/raw/master/examples/release-5.1.adoc[Source of this presentation (AsciiDoc)]
data/examples/steps.adoc CHANGED
@@ -85,3 +85,16 @@ but in [.step.highlight-red]#rising every time we fall#.
85
85
  . [.step]#Protons#
86
86
  . [.step]#Electrons#
87
87
  . [.step]#Neutrons#
88
+
89
+ == On a code callout list
90
+
91
+ [source, html]
92
+ ----
93
+ <b>complex code</b> <!--1-->
94
+ <b>more complex code</b> <!--2-->
95
+ <b>most complex code</b> <!--3-->
96
+ ----
97
+ [%step]
98
+ <1> complex code needs a callout
99
+ <2> as much as a more complex code
100
+ <3> but less than the most complex code