asciidoctor-revealjs 3.0.0.pre.rc1 → 4.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.adoc +1 -1
  3. data/README.adoc +416 -64
  4. data/Rakefile +30 -7
  5. data/asciidoctor-revealjs.gemspec +6 -4
  6. data/bin/asciidoctor-revealjs +7 -0
  7. data/examples/a11y-dark.css +99 -0
  8. data/examples/autoslide.adoc +22 -0
  9. data/examples/custom-layout.adoc +10 -0
  10. data/examples/customcss.adoc +1 -1
  11. data/examples/data-attributes.adoc +245 -0
  12. data/examples/docinfo-footer-revealjs.html +10 -0
  13. data/examples/docinfo-revealjs.html +7 -0
  14. data/examples/font-awesome-specific-version.adoc +11 -0
  15. data/examples/font-awesome.adoc +23 -4
  16. data/examples/font-awesome.css +3 -0
  17. data/examples/footnotes.adoc +46 -0
  18. data/examples/fragments.adoc +44 -0
  19. data/examples/fragments.css +18 -0
  20. data/examples/grid-layout-3x2.adoc +50 -0
  21. data/examples/grid-layout-docinfo-revealjs.html +11 -0
  22. data/examples/grid-layout.adoc +194 -0
  23. data/examples/history-hash.adoc +19 -0
  24. data/examples/history-regression-tests.adoc +0 -5
  25. data/examples/history.adoc +4 -4
  26. data/examples/images/asciidoctor-logo.svg +102 -0
  27. data/examples/images/cute-cat-1.jpg +0 -0
  28. data/examples/images/cute-cat-2.jpg +0 -0
  29. data/examples/images/cute-cat-3.jpg +0 -0
  30. data/examples/images/flock-of-seagulls_daniel-simion.mp3 +0 -0
  31. data/examples/issue-grid-layout-images.adoc +25 -0
  32. data/examples/level-sectnums.adoc +24 -0
  33. data/examples/links-preview.adoc +32 -0
  34. data/examples/links.adoc +39 -0
  35. data/examples/mathjax-cdn.adoc +21 -0
  36. data/examples/mathjax.adoc +20 -0
  37. data/examples/release-4.0.adoc +192 -0
  38. data/examples/release-4.0.css +23 -0
  39. data/examples/release-4.1.adoc +133 -0
  40. data/examples/release-4.1.css +50 -0
  41. data/examples/revealjs-custom-theme.adoc +10 -0
  42. data/examples/source-coderay.adoc +15 -0
  43. data/examples/source-emphasis.adoc +128 -0
  44. data/examples/source-highlightjs-html.adoc +1 -1
  45. data/examples/source-highlightjs-languages.adoc +27 -0
  46. data/examples/source-highlightjs.adoc +85 -2
  47. data/examples/source-pygments.adoc +12 -0
  48. data/examples/source-rouge-docinfo.html +8 -0
  49. data/examples/source-rouge.adoc +18 -0
  50. data/examples/steps.adoc +87 -0
  51. data/examples/text-alignments.adoc +44 -0
  52. data/examples/video.adoc +30 -8
  53. data/examples/with-docinfo-shared.adoc +13 -0
  54. data/lib/asciidoctor-revealjs/converter.rb +1053 -769
  55. data/lib/asciidoctor-revealjs/highlightjs.rb +333 -2
  56. data/lib/asciidoctor-revealjs/version.rb +1 -1
  57. data/templates/admonition.html.slim +1 -1
  58. data/templates/asciidoctor-compatibility.css +390 -0
  59. data/templates/audio.html.slim +1 -1
  60. data/templates/colist.html.slim +1 -1
  61. data/templates/dlist.html.slim +3 -3
  62. data/templates/document.html.slim +76 -59
  63. data/templates/example.html.slim +1 -1
  64. data/templates/helpers.rb +170 -5
  65. data/templates/image.html.slim +3 -3
  66. data/templates/inline_anchor.html.slim +6 -4
  67. data/templates/inline_button.html.slim +2 -1
  68. data/templates/inline_footnote.html.slim +11 -4
  69. data/templates/inline_image.html.slim +5 -8
  70. data/templates/inline_kbd.html.slim +3 -2
  71. data/templates/inline_menu.html.slim +4 -3
  72. data/templates/inline_quoted.html.slim +13 -21
  73. data/templates/listing.html.slim +15 -10
  74. data/templates/literal.html.slim +1 -1
  75. data/templates/olist.html.slim +2 -2
  76. data/templates/open.html.slim +3 -3
  77. data/templates/paragraph.html.slim +1 -1
  78. data/templates/quote.html.slim +1 -1
  79. data/templates/section.html.slim +51 -43
  80. data/templates/sidebar.html.slim +1 -1
  81. data/templates/stem.html.slim +1 -1
  82. data/templates/stretch_nested_elements.js.slim +65 -0
  83. data/templates/table.html.slim +3 -2
  84. data/templates/title_slide.html.slim +28 -0
  85. data/templates/ulist.html.slim +3 -3
  86. data/templates/verse.html.slim +1 -1
  87. data/templates/video.html.slim +14 -8
  88. metadata +79 -16
  89. data/CHANGELOG.adoc +0 -396
  90. data/HACKING.adoc +0 -343
  91. data/examples/revealjs-features.adoc +0 -23
  92. data/templates/asciidoctor_revealjs.css.slim +0 -59
@@ -0,0 +1,28 @@
1
+ - bg_image = (attr? 'title-slide-background-image') ? (image_uri(attr 'title-slide-background-image')) : nil
2
+ - bg_video = (attr? 'title-slide-background-video') ? (media_uri(attr 'title-slide-background-video')) : nil
3
+ section.title(class = role
4
+ data-state='title'
5
+ data-transition=(attr 'title-slide-transition')
6
+ data-transition-speed=(attr 'title-slide-transition-speed')
7
+ data-background=(attr 'title-slide-background')
8
+ data-background-size=(attr 'title-slide-background-size')
9
+ data-background-image=bg_image
10
+ data-background-video=bg_video
11
+ data-background-video-loop=(attr 'title-slide-background-video-loop')
12
+ data-background-video-muted=(attr 'title-slide-background-video-muted')
13
+ data-background-opacity=(attr 'title-slide-background-opacity')
14
+ data-background-iframe=(attr 'title-slide-background-iframe')
15
+ data-background-color=(attr 'title-slide-background-color')
16
+ data-background-repeat=(attr 'title-slide-background-repeat')
17
+ data-background-position=(attr 'title-slide-background-position')
18
+ data-background-transition=(attr 'title-slide-background-transition'))
19
+ - if (_title_obj = doctitle partition: true, use_fallback: true).subtitle?
20
+ h1=slice_text _title_obj.title, (_slice = header.option? :slice)
21
+ h2=slice_text _title_obj.subtitle, _slice
22
+ - else
23
+ h1=@header.title
24
+ - preamble = @document.find_by context: :preamble
25
+ - unless preamble.nil? or preamble.length == 0
26
+ div.preamble=preamble.pop.content
27
+ - unless author.nil?
28
+ p.author: small=author
@@ -6,16 +6,16 @@
6
6
  - if @document.attr? :icons, 'font'
7
7
  - marker_checked = '<i class="icon-check"></i>'
8
8
  - marker_unchecked = '<i class="icon-check-empty"></i>'
9
- - else
9
+ - else
10
10
  / could use &#9745 (checked ballot) and &#9744 (ballot) w/o font instead
11
11
  - marker_checked = '<input type="checkbox" data-item-complete="1" checked disabled>'
12
12
  - marker_unchecked = '<input type="checkbox" data-item-complete="0" disabled>'
13
- .ulist id=@id class=[checklist,@style,role]
13
+ = html_tag('div', { :id => @id, :class => ['ulist', checklist, @style, role] }.merge(data_attrs(@attributes)))
14
14
  - if title?
15
15
  .title=title
16
16
  ul class=(checklist || @style)
17
17
  - items.each do |item|
18
- li class=('fragment' if (option? :step) || (has_role? 'step'))
18
+ li class=('fragment' if (option? :step) || (has_role? 'step') || (attr? 'step'))
19
19
  p
20
20
  - if checklist && (item.attr? :checkbox)
21
21
  =%(#{(item.attr? :checked) ? marker_checked : marker_unchecked}#{item.text})
@@ -1,4 +1,4 @@
1
- .verseblock id=@id class=role
1
+ = html_tag('div', { :id => @id, :class => ['verseblock', role, ('fragment' if (option? :step) || (attr? 'step'))] }.merge(data_attrs(@attributes)))
2
2
  - if title?
3
3
  .title=title
4
4
  pre.content=content
@@ -4,7 +4,7 @@
4
4
  - width = (attr? :width) ? (attr :width) : "100%"
5
5
  - height = (attr? :height) ? (attr :height) : "100%"
6
6
  / we apply revealjs stretch class to the videoblock take all the place we can
7
- .videoblock id=@id class=[@style,role,(no_stretch ? nil : "stretch")]
7
+ = html_tag('div', { :id => @id, :class => ['videoblock', @style, role, (no_stretch ? nil : 'stretch'), ('fragment' if (option? :step) || (has_role? 'step') || (attr? 'step'))] }.merge(data_attrs(@attributes)))
8
8
  - if title?
9
9
  .title=captioned_title
10
10
  - case attr :poster
@@ -12,14 +12,16 @@
12
12
  - unless (asset_uri_scheme = (attr :asset_uri_scheme, 'https')).empty?
13
13
  - asset_uri_scheme = %(#{asset_uri_scheme}:)
14
14
  - start_anchor = (attr? :start) ? "#at=#{attr :start}" : nil
15
- - delimiter = '?'
16
- - loop_param = (option? 'loop') ? "#{delimiter}loop=1" : nil
17
- - src = %(#{asset_uri_scheme}//player.vimeo.com/video/#{attr :target}#{start_anchor}#{loop_param})
15
+ - delimiter = ['?']
16
+ - loop_param = (option? 'loop') ? %(#{delimiter.pop || '&amp;'}loop=1) : ''
17
+ - muted_param = (option? 'muted') ? %(#{delimiter.pop || '&amp;'}muted=1) : ''
18
+ - src = %(#{asset_uri_scheme}//player.vimeo.com/video/#{attr :target}#{loop_param}#{muted_param}#{start_anchor})
19
+ / We need to delegate autoplay into the iframe starting with Chrome 62 (and other browsers too)
20
+ / See https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#iframe
18
21
  iframe(width=(width) height=(height) src=src frameborder=0
19
22
  webkitAllowFullScreen=true mozallowfullscreen=true allowFullScreen=true
20
- data-autoplay=(option? 'autoplay'))
21
- / data-autoplay is not supported on vimeo videos
22
- / upstream: https://github.com/hakimel/reveal.js/issues/388
23
+ data-autoplay=(option? 'autoplay')
24
+ allow=((option? 'autoplay') ? "autoplay" : nil))
23
25
  - when 'youtube'
24
26
  - unless (asset_uri_scheme = (attr :asset_uri_scheme, 'https')).empty?
25
27
  - asset_uri_scheme = %(#{asset_uri_scheme}:)
@@ -27,11 +29,15 @@
27
29
  - params << "start=#{attr :start}" if attr? :start
28
30
  - params << "end=#{attr :end}" if attr? :end
29
31
  - params << "loop=1" if option? 'loop'
32
+ - params << "mute=1" if option? 'muted'
30
33
  - params << "controls=0" if option? 'nocontrols'
31
34
  - src = %(#{asset_uri_scheme}//www.youtube.com/embed/#{attr :target}?#{params * '&amp;'})
35
+ / We need to delegate autoplay into the iframe starting with Chrome 62 (and other browsers too)
36
+ / See https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#iframe
32
37
  iframe(width=(width) height=(height) src=src
33
38
  frameborder=0 allowfullscreen=!(option? 'nofullscreen')
34
- data-autoplay=(option? 'autoplay'))
39
+ data-autoplay=(option? 'autoplay')
40
+ allow=((option? 'autoplay') ? "autoplay" : nil))
35
41
  - else
36
42
  video(src=media_uri(attr :target) width=(width) height=(height)
37
43
  poster=((attr :poster) ? media_uri(attr :poster) : nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-revealjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.pre.rc1
4
+ version: 4.1.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Bilodeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-26 00:00:00.000000000 Z
11
+ date: 2020-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -64,42 +64,70 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 10.4.2
67
+ version: 13.0.0
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 10.4.2
74
+ version: 13.0.0
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: asciidoctor-doctest
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - '='
80
80
  - !ruby/object:Gem::Version
81
- version: 2.0.0.beta.5
81
+ version: 2.0.0.beta.7
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - '='
87
87
  - !ruby/object:Gem::Version
88
- version: 2.0.0.beta.5
88
+ version: 2.0.0.beta.7
89
+ - !ruby/object:Gem::Dependency
90
+ name: minitest
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '5.14'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '5.14'
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: pry
91
105
  requirement: !ruby/object:Gem::Requirement
92
106
  requirements:
93
107
  - - "~>"
94
108
  - !ruby/object:Gem::Version
95
- version: 0.10.4
109
+ version: 0.12.0
96
110
  type: :development
97
111
  prerelease: false
98
112
  version_requirements: !ruby/object:Gem::Requirement
99
113
  requirements:
100
114
  - - "~>"
101
115
  - !ruby/object:Gem::Version
102
- version: 0.10.4
116
+ version: 0.12.0
117
+ - !ruby/object:Gem::Dependency
118
+ name: irb
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
103
131
  - !ruby/object:Gem::Dependency
104
132
  name: pry-byebug
105
133
  requirement: !ruby/object:Gem::Requirement
@@ -148,14 +176,14 @@ dependencies:
148
176
  requirements:
149
177
  - - "~>"
150
178
  - !ruby/object:Gem::Version
151
- version: 0.4.2
179
+ version: 0.6.0
152
180
  type: :development
153
181
  prerelease: false
154
182
  version_requirements: !ruby/object:Gem::Requirement
155
183
  requirements:
156
184
  - - "~>"
157
185
  - !ruby/object:Gem::Version
158
- version: 0.4.2
186
+ version: 0.6.0
159
187
  - !ruby/object:Gem::Dependency
160
188
  name: slim
161
189
  requirement: !ruby/object:Gem::Requirement
@@ -208,40 +236,67 @@ extensions: []
208
236
  extra_rdoc_files:
209
237
  - README.adoc
210
238
  - LICENSE.adoc
211
- - HACKING.adoc
212
239
  files:
213
- - CHANGELOG.adoc
214
240
  - Gemfile
215
- - HACKING.adoc
216
241
  - LICENSE.adoc
217
242
  - README.adoc
218
243
  - Rakefile
219
244
  - asciidoctor-revealjs.gemspec
220
245
  - bin/asciidoctor-revealjs
221
246
  - examples/README.adoc
247
+ - examples/a11y-dark.css
222
248
  - examples/admonitions-icons.adoc
223
249
  - examples/admonitions.adoc
250
+ - examples/autoslide.adoc
224
251
  - examples/background-color.adoc
225
252
  - examples/background-color.css
226
253
  - examples/concealed-slide-titles.adoc
254
+ - examples/custom-layout.adoc
227
255
  - examples/customcss.adoc
228
256
  - examples/customcss.css
257
+ - examples/data-attributes.adoc
229
258
  - examples/data-background-newstyle.adoc
230
259
  - examples/data-background-oldstyle.adoc
260
+ - examples/docinfo-footer-revealjs.html
261
+ - examples/docinfo-revealjs.html
262
+ - examples/font-awesome-specific-version.adoc
231
263
  - examples/font-awesome.adoc
264
+ - examples/font-awesome.css
265
+ - examples/footnotes.adoc
266
+ - examples/fragments.adoc
267
+ - examples/fragments.css
268
+ - examples/grid-layout-3x2.adoc
269
+ - examples/grid-layout-docinfo-revealjs.html
270
+ - examples/grid-layout.adoc
271
+ - examples/history-hash.adoc
232
272
  - examples/history-regression-tests.adoc
233
273
  - examples/history.adoc
234
274
  - examples/images.adoc
235
275
  - examples/images/70s.jpg
276
+ - examples/images/asciidoctor-logo.svg
236
277
  - examples/images/bio.jpg
237
278
  - examples/images/cover.jpg
279
+ - examples/images/cute-cat-1.jpg
280
+ - examples/images/cute-cat-2.jpg
281
+ - examples/images/cute-cat-3.jpg
282
+ - examples/images/flock-of-seagulls_daniel-simion.mp3
238
283
  - examples/images/meme-2.jpg
239
284
  - examples/images/meme-7.png
240
285
  - examples/images/web_surfing_time.gif
286
+ - examples/issue-grid-layout-images.adoc
241
287
  - examples/keyboard-shortcuts.adoc
242
288
  - examples/level-sections.adoc
289
+ - examples/level-sectnums.adoc
290
+ - examples/links-preview.adoc
291
+ - examples/links.adoc
292
+ - examples/mathjax-cdn.adoc
293
+ - examples/mathjax.adoc
243
294
  - examples/multi-destination-content.adoc
244
- - examples/revealjs-features.adoc
295
+ - examples/release-4.0.adoc
296
+ - examples/release-4.0.css
297
+ - examples/release-4.1.adoc
298
+ - examples/release-4.1.css
299
+ - examples/revealjs-custom-theme.adoc
245
300
  - examples/revealjs-plugin-activation.adoc
246
301
  - examples/revealjs-plugins-conf.js
247
302
  - examples/revealjs-plugins.adoc
@@ -293,13 +348,18 @@ files:
293
348
  - examples/slide-state.css
294
349
  - examples/source-callouts.adoc
295
350
  - examples/source-coderay.adoc
351
+ - examples/source-emphasis.adoc
296
352
  - examples/source-highlightjs-html.adoc
353
+ - examples/source-highlightjs-languages.adoc
297
354
  - examples/source-highlightjs.adoc
298
355
  - examples/source-prettify.adoc
299
356
  - examples/source-pygments.adoc
357
+ - examples/source-rouge-docinfo.html
300
358
  - examples/source-rouge.adoc
301
359
  - examples/speaker-notes.adoc
360
+ - examples/steps.adoc
302
361
  - examples/tables-styles.adoc
362
+ - examples/text-alignments.adoc
303
363
  - examples/theme-custom.adoc
304
364
  - examples/theme-custom.css
305
365
  - examples/title-preamble.adoc
@@ -310,13 +370,14 @@ files:
310
370
  - examples/transitions.adoc
311
371
  - examples/vertical-slides.adoc
312
372
  - examples/video.adoc
373
+ - examples/with-docinfo-shared.adoc
313
374
  - lib/asciidoctor-revealjs.rb
314
375
  - lib/asciidoctor-revealjs/converter.rb
315
376
  - lib/asciidoctor-revealjs/highlightjs.rb
316
377
  - lib/asciidoctor-revealjs/version.rb
317
378
  - lib/asciidoctor-templates-compiler.rb
318
379
  - templates/admonition.html.slim
319
- - templates/asciidoctor_revealjs.css.slim
380
+ - templates/asciidoctor-compatibility.css
320
381
  - templates/audio.html.slim
321
382
  - templates/colist.html.slim
322
383
  - templates/dlist.html.slim
@@ -351,8 +412,10 @@ files:
351
412
  - templates/section.html.slim
352
413
  - templates/sidebar.html.slim
353
414
  - templates/stem.html.slim
415
+ - templates/stretch_nested_elements.js.slim
354
416
  - templates/table.html.slim
355
417
  - templates/thematic_break.html.slim
418
+ - templates/title_slide.html.slim
356
419
  - templates/toc.html.slim
357
420
  - templates/ulist.html.slim
358
421
  - templates/verse.html.slim
@@ -376,7 +439,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
376
439
  - !ruby/object:Gem::Version
377
440
  version: 1.3.1
378
441
  requirements: []
379
- rubygems_version: 3.0.6
442
+ rubygems_version: 3.1.4
380
443
  signing_key:
381
444
  specification_version: 4
382
445
  summary: A reveal.js converter for Asciidoctor. Write your slides in AsciiDoc!
@@ -1,396 +0,0 @@
1
- = {project-name} Changelog
2
- :project-name: asciidoctor-reveal.js
3
- :uri-repo: https://github.com/asciidoctor/asciidoctor-reveal.js
4
- :uri-issue: {uri-repo}/issues/
5
-
6
- This document provides a high-level view of the changes introduced in {project-name} by release.
7
- For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
8
-
9
- == master (unreleased)
10
-
11
- Upgrade considerations::
12
- * Node.js packaging changes!
13
- With the arrival of Asciidoctor.js 2.0.0 you can now use a command line interface (CLI) just like with Asciidoctor Ruby:
14
-
15
- $(npm bin)/asciidoctor -r @asciidoctor/reveal.js -b revealjs presentation.adoc
16
- +
17
- If you want to keep generating your reveal.js presentations using the Node.js API, you need to change the following code.
18
- Instead of:
19
-
20
- var asciidoctorRevealjs = require('asciidoctor-reveal.js');
21
- asciidoctorRevealjs.register()
22
- +
23
- Use:
24
-
25
- var asciidoctor = require('@asciidoctor/core')()
26
- var asciidoctorRevealjs = require('@asciidoctor/reveal.js')
27
- asciidoctorRevealjs.register()
28
- +
29
- * Node.js package name changed from `asciidoctor-reveal.js` to `@asciidoctor/reveal.js` ({uri-issue}252[#252], {uri-issue}291[#291])
30
- * Custom CSS might require adjustments.
31
- Source and listing block encapsulation changed due to our migration to Asciidoctor 2.0.0 Syntax Highlighter API.
32
- See {uri-issue}287[#287].
33
- * Upgraded to Font-Awesome 5.8.2 from 4.3.0 which contains some backward incompatible changes ({uri-issue}268[#268])
34
- * {project-name} now requires Asciidoctor 2.0.0+ or Asciidoctor.js 2.0.0+ ({uri-issue}290[#290])
35
- * Dropped support for end-of-life Ruby version 2.1 and 2.2 ({uri-issue}247[#247])
36
-
37
- Compliance::
38
- * Added support for table frame, grid, header and alignment options ({uri-issue}29[#29], {uri-issue}42[#42], {uri-issue}56[#56], {uri-issue}288[#288])
39
- * Added support for Reveal.js data-background-opacity ({uri-issue}269[#269])
40
- * Added support for Reveal.js data-background-position ({uri-issue}273[#273], {uri-issue}274[#274])
41
-
42
- Enhancements::
43
- * Support for Asciidoctor.js 2.0.0+ which brings a command line interface ({uri-issue}254[#254])
44
- * Migrated to Asciidoctor 2.0.0 new https://github.com/asciidoctor/asciidoctor/releases/tag/v2.0.0[Syntax Highlighter API] ({uri-issue}261[#261], {uri-issue}287[#287])
45
- * Added support for Reveal.js PDF export options ({uri-issue}277[#277])
46
- * Upgraded to Font-Awesome 5.8.2 ({uri-issue}268[#268])
47
- * We now accept `reveal.js` as converter/backend name in addition to `revealjs` ({uri-issue}253[#253], {uri-issue}297[#297])
48
- * Babel integration example API updated to use {project-name} 2.x API ({uri-issue}285[#285])
49
- * Node.js package clean-ups ({uri-issue}279[#279], {uri-issue}281[#281], {uri-issue}282[#282])
50
- * Upgrade Opal to use a compatible version with Asciidoctor.js 2.0.3 ({uri-issue}289[#289])
51
- * Documentation improvements ({uri-issue}292[#292])
52
- * Improvements to tests ({uri-issue}294[#294])
53
-
54
- Bug Fixes::
55
- * Babel integration example updated for security ({uri-issue}285[#285])
56
-
57
- Infrastructure::
58
- * Updated Travis' JRuby to fix issues with bundler ({uri-issue}295[#295])
59
-
60
-
61
- == 2.0.1 (2019-12-04)
62
-
63
- Important Bug Fix::
64
- * Fixed an issue that caused all `reveal.js` options in CamelCase to use the default value instead of one specified as an AsciiDoc attribute ({uri-issue}263[#263], {uri-issue}267[#267])
65
-
66
- Compliance::
67
- * Dropped support for verse table cells ({uri-issue}246[#246]).
68
- Asciidoctor 2.0 dropped it, we followed.
69
-
70
- Enhancements::
71
- * Documentation improvements ({uri-issue}264[#264], {uri-issue}278[#278], {uri-issue}280[#280])
72
-
73
- Bug Fixes::
74
- * Yarn.lock updates for security ({uri-issue}283[#283])
75
-
76
- === Release meta
77
-
78
- * Released on: 2019-12-04
79
- * Released by: Olivier Bilodeau
80
- * Release whisky: Lot No. 40 Single Copper Pot Still Rye Whisky
81
-
82
- {uri-repo}/releases/tag/v2.0.1[git tag] |
83
- {uri-repo}/compare/v2.0.0...v2.0.1[full diff]
84
-
85
- === Credits
86
-
87
- Thanks to the following people who contributed to this release:
88
-
89
- Benjamin Schmid, Guillaume Grossetie, Olivier Bilodeau
90
-
91
-
92
- == 2.0.0 (2019-02-28)
93
-
94
- Upgrade considerations::
95
- * Node.js API change!
96
- If you generate your reveal.js presentations using the node/javascript toolchain, you need to change how the {project-name} back-end is registered to Asciidoctor.js.
97
- Instead of `require('asciidoctor-reveal.js')` you need to do:
98
-
99
- var asciidoctorRevealjs = require('asciidoctor-reveal.js');
100
- asciidoctorRevealjs.register()
101
- +
102
- This change enables new use cases like embedding a presentation in a React web app.
103
-
104
- * Anchor links generated by {project-name} will change from now on when revealjs_history is set to true (default is false).
105
- This is the consequence of upstream fixing a long standing issue (see https://github.com/hakimel/reveal.js/pull/1230[#1230] and https://github.com/hakimel/reveal.js/pull/2037[#2037]) and us removing a workaround (see {uri-issue}232[#232]).
106
- Explicit anchors are not affected.
107
- * Custom CSS might require adjustments.
108
- Source and listing block are less deeply nested into `div` blocks now.
109
- See {uri-issue}195[#195] and {uri-issue}223[#223].
110
- * The reveal.js `marked` and `markdown` plugins are disabled by default now.
111
- It is unlikely that they could have been used anyway.
112
- See {uri-issue}204[#204].
113
- * Dropped the ability to override the Reveal.JS theme and transitions dynamically with the URL query.
114
- Was not compatible with Reveal.JS 3.x series released 4 years ago.
115
-
116
- Enhancements::
117
- * Easier speaker notes: a `.notes` role that apply to many AsciiDoc blocks (open, sidebar and admonition) ({uri-issue}202[#202])
118
- * Added a role `right` that would apply a `float: right` to any block where it would be assigned ({uri-issue}197[#197], {uri-issue}213[#213], {uri-issue}215[#215])
119
- * Allow the background color of slides to be set using CSS ({uri-issue}16[#16], {uri-issue}220[#220], {uri-issue}226[#226], {uri-issue}229[#229])
120
- * Reveal.js's fragmentInURL option now supported ({uri-issue}206[#206], {uri-issue}214[#214])
121
- * Documentation improvements ({uri-issue}141[#141], {uri-issue}182[#182], {uri-issue}190[#190], {uri-issue}203[#203], {uri-issue}215[#215], {uri-issue}216[#216], {uri-issue}222[#222])
122
- * Support for Asciidoctor.js 1.5.6 and build simplification ({uri-issue}189[#189], {uri-issue}217[#217])
123
- * Support to specify and use reveal.js plugins without modifying {project-name}'s source code ({uri-issue}196[#196], {uri-issue}118[#118], {uri-issue}201[#201], {uri-issue}204[#204])
124
- * Node / Javascript back-end is now loaded on-demand with the `register()` method.
125
- This allows embedding {project-name} into React or any other modern Javascript environment.
126
- ({uri-issue}205[#205], {uri-issue}218[#218], {uri-issue}219[#219])
127
- * `revealjsdir` attribute is set to a more sensible default when running under Node.js ({uri-issue}191[#191], {uri-issue}228[#228])
128
- * Node / Javascript back-end updated to use Asciidoctor.js 1.5.9.
129
- This extension is built with Opal 0.11.99.dev (6703d8d) in order to be compatible.
130
- ({uri-issue}227[#227], {uri-issue}240[#240])
131
-
132
- Compliance::
133
- * AsciiDoc source callout icons now work ({uri-issue}54[#54], {uri-issue}168[#168], {uri-issue}224[#224])
134
- * New reveal.js 3.7.0 features supported: `controlsTutorial`, `controlsLayout`, `controlsBackArrows`, new `slideNumber` formats, `showSlideNumber`, `autoSlideMethod`, `parallaxBackgroundHorizontal`, `parallaxBackgroundVertical` and `display` configuration parameters are now supported ({uri-issue}212[#212], {uri-issue}239[#239], {uri-issue}208[#208], {uri-issue}242[#242])
135
- * Asciidoctor 2.0 ready ({uri-issue}245[#245])
136
-
137
- Bug Fixes::
138
- * Reveal.js' `stretch` class now works with listing blocks ({uri-issue}195[#195], {uri-issue}223[#223])
139
- * Auto-generated slide IDs with unallowed characters (for revealjs history) now work properly.
140
- Upstream reveal.js fixed a bug in 3.7.0 (https://github.com/hakimel/reveal.js/pull/2037[#2037]) and we removed our broken workaround.
141
- ({uri-issue}192[#192], {uri-issue}232[#232])
142
-
143
- Infrastructure::
144
- * Travis testing prepared for upcoming Asciidoctor 2.0 ({uri-issue}216[#216])
145
- * Travis testing for Ruby 2.6 ({uri-issue}243[#243])
146
-
147
- === Release meta
148
-
149
- * Released on: 2019-02-28
150
- * Released by: Olivier Bilodeau
151
- * Release beer: President's Choice Blonde Brew De-alcoholized Beer (Sober February Successfully Completed!)
152
-
153
- {uri-repo}/releases/tag/v2.0.0[git tag] |
154
- {uri-repo}/compare/v1.1.3...v2.0.0[full diff] |
155
- {uri-repo}/milestone/6[milestone]
156
-
157
- === Credits
158
-
159
- Thanks to the following people who contributed to this release:
160
-
161
- a4z, Dan Allen, Guillaume Grossetie, Harald, Jakub Jirutka, Olivier Bilodeau, stevewillson, Vivien Didelot
162
-
163
-
164
- == 1.1.3 (2018-01-31)
165
-
166
- A repackage of 1.1.2 with a fix for Ruby 2.5 environments
167
-
168
- Bug fixes::
169
- * Worked around a problem in ruby-beautify with the compiled Slim template under Ruby 2.5
170
-
171
- === Release meta
172
-
173
- * Released on: 2018-01-31
174
- * Released by: Olivier Bilodeau
175
- * Release coffee: Santropol Dark Espresso
176
-
177
- {uri-repo}/releases/tag/v1.1.3[git tag] |
178
- {uri-repo}/compare/v1.1.2...v1.1.3[full diff]
179
-
180
- === Credits
181
-
182
- Thanks to the following people who contributed to this release:
183
-
184
- Jakub Jirutka, Olivier Bilodeau
185
-
186
-
187
- == 1.1.2 (2018-01-30)
188
-
189
- NOTE: No packaged version of this release were produced.
190
-
191
- A bugfix release due to a problem rendering tables using the Javascript /
192
- Node.js toolchain.
193
-
194
- Enhancements::
195
- * Documentation improvements ({uri-issue}181[#181])
196
-
197
- Bug fixes::
198
- * Fixed crash with presentations with a table used from Javascript/Node.js setup ({uri-issue}178[#178])
199
-
200
- === Release meta
201
-
202
- * Released on: 2018-01-30
203
- * Released by: Olivier Bilodeau
204
- * Release beer: A sad Belgian Moon in a Smoke Meat joint
205
-
206
- {uri-repo}/releases/tag/v1.1.2[git tag] |
207
- {uri-repo}/compare/v1.1.1...v1.1.2[full diff]
208
-
209
- === Credits
210
-
211
- Thanks to the following people who contributed to this release:
212
-
213
- Guillaume Grossetie, Tobias Placht, Olivier Bilodeau
214
-
215
-
216
- == 1.1.1 (2018-01-03)
217
-
218
- An emergency bugfix release due to a problem in the Ruby Gem package
219
-
220
- Enhancements::
221
- * Documentation improvements ({uri-issue}163[#163], {uri-issue}165[#165], {uri-issue}169[#169], {uri-issue}173[#173], {uri-issue}175[#175])
222
-
223
- Compliance::
224
- * Code listing callouts now work properly ({uri-issue}22[#22], {uri-issue}166[#166], {uri-issue}167[#167])
225
- * More source code listing examples and tests ({uri-issue}163[#163], {uri-issue}170[#170])
226
-
227
- Bug fixes::
228
- * The version 1.1.0 Ruby Gem was broken due to a packaging error ({uri-issue}172[#172])
229
-
230
- === Release meta
231
-
232
- * Released on: 2018-01-03
233
- * Released by: Olivier Bilodeau
234
- * Release beer: Croque-Mort Double IPA, À la fût
235
-
236
- {uri-repo}/releases/tag/v1.1.1[git tag] |
237
- {uri-repo}/compare/v1.1.0...v1.1.1[full diff] |
238
- {uri-repo}/milestone/5[milestone]
239
-
240
- === Credits
241
-
242
- Thanks to the following people who contributed to this release:
243
-
244
- Dietrich Schulten, Olivier Bilodeau
245
-
246
-
247
- == 1.1.0 (2017-12-25) - @obilodeau
248
-
249
- Enhancements::
250
- * Support for Reveal.JS 3.5.0+ ({uri-issue}146[#146], {uri-issue}151[#151])
251
- * Support for Asciidoctor 1.5.6 ({uri-issue}132[#132], {uri-issue}136[#136], {uri-issue}142[#142])
252
- * Support for Asciidoctor.js 1.5.6-preview.4 ({uri-issue}130[#130], {uri-issue}143[#143], {uri-issue}156[#156])
253
- * Compiling slim templates to Ruby allows us to drop Jade templates for Asciidoctor.js users
254
- ({uri-issue}63[#63], {uri-issue}131[#131])
255
- * Documentation polish ({uri-issue}153[#153], {uri-issue}158[#158] and more)
256
-
257
- Compliance::
258
- * Users of Asciidoctor (Ruby) and Asciidoctor.js (Javascript) now run the same set of templates meaning that we achieved feature parity between the two implementations
259
- ({uri-issue}63[#63], {uri-issue}131[#131])
260
-
261
- Bug fixes::
262
- * Reveal.js https://github.com/hakimel/reveal.js/#configuration[history feature] now works.
263
- We are working around Reveal.js' section id character limits.
264
- ({uri-issue}127[#127], {uri-issue}150[#150], https://github.com/hakimel/reveal.js/issues/1346[hakimel/reveal.js#1346])
265
-
266
- Infrastructure::
267
- * https://github.com/asciidoctor/asciidoctor-doctest[Asciidoctor-doctest] integration.
268
- This layer of automated testing should help prevent regressions and improve our development process.
269
- ({uri-issue}92[#92], {uri-issue}116[#116])
270
- * Travis-CI integration to automatically run doctests and examples AsciiDoc conversions
271
- * Travis-CI tests are triggered by changes done in Asciidoctor.
272
- We will detect upstream changes affecting us sooner.
273
- * Smoke tests for our Javascript / Node / Asciidoctor.js toolchain (integrated in Travis-CI also)
274
- * `npm run examples` will convert all examples using the Javascript / Node / Asciidoctor.js toolchain ({uri-issue}149[#149])
275
- * `rake examples:serve` will run a Web server from `examples/` so you can preview rendered examples ({uri-issue}154[#154])
276
-
277
- === Release meta
278
-
279
- {uri-repo}/releases/tag/v1.1.0[git tag] |
280
- {uri-repo}/compare/v1.0.4...v1.1.0[full diff]
281
-
282
- === Credits
283
-
284
- Thanks to the following people who contributed to this release:
285
-
286
- @jirutka, Dan Allen, Guillaume Grossetie, Jacob Aae Mikkelsen, Olivier Bilodeau, Rahul Somasunderam
287
-
288
-
289
- == 1.0.4 (2017-09-27) - @obilodeau
290
-
291
- Bug fixes::
292
- * Dependency problems leading to crashes when used from Asciidoctor.js ({uri-issue}145[#145])
293
-
294
- === Release meta
295
-
296
- {uri-repo}/releases/tag/v1.0.4[git tag] |
297
- {uri-repo}/compare/v1.0.3...v1.0.4[full diff]
298
-
299
- === Credits
300
-
301
- Thanks to the following people who contributed to this release:
302
-
303
- Olivier Bilodeau, Guillaume Grossetie
304
-
305
-
306
- == 1.0.3 (2017-08-28) - @obilodeau
307
-
308
- Enhancements::
309
- * Documentation improvements
310
-
311
- Compliance::
312
- * Added `data-state: title` to the title slide ({uri-issue}123[#123])
313
-
314
- Bug fixes::
315
- * Pinned Asciidoctor version requirement to 1.5.4 to avoid dealing with {uri-issue}132[#132] in the 1.0.x series
316
- * Fixed consistency issues with boolean values handling in revealjs settings ({uri-issue}125[#125])
317
-
318
- === Release meta
319
-
320
- {uri-repo}/releases/tag/v1.0.3[git tag] |
321
- {uri-repo}/compare/v1.0.2...v1.0.3[full diff]
322
-
323
- === Credits
324
-
325
- Thanks to the following people who contributed to this release:
326
-
327
- Dan Allen, nipa, Olivier Bilodeau, Pi3r
328
-
329
-
330
- == 1.0.2 (2016-12-22) - @obilodeau
331
-
332
- Enhancements::
333
- * Ruby back-end is now compiled in Javascript with Opal (#115)
334
- * Documentation improvements
335
-
336
- === Release meta
337
-
338
- {uri-repo}/issues?q=milestone%3A1.0.2[issues resolved] |
339
- {uri-repo}/releases/tag/v1.0.2[git tag] |
340
- {uri-repo}/compare/v1.0.1...v1.0.2[full diff]
341
-
342
- === Credits
343
-
344
- Thanks to the following people who contributed to this release:
345
-
346
- Dan Allen, Guillaume Grossetie, Olivier Bilodeau
347
-
348
-
349
- == 1.0.1 (2016-10-12) - @obilodeau
350
-
351
- Enhancements::
352
- * Documentation: aligned release process for both npm and ruby gems packages
353
- * npm package in sync with ruby gem
354
-
355
- === Release meta
356
-
357
- Released by @obilodeau
358
-
359
- {uri-repo}/issues?q=milestone%3A1.0.1[issues resolved] |
360
- {uri-repo}/releases/tag/v1.0.1[git tag] |
361
- {uri-repo}/compare/v1.0.0...v1.0.1[full diff]
362
-
363
- === Credits
364
-
365
- Thanks to the following people who contributed to this release:
366
-
367
- Olivier Bilodeau
368
-
369
-
370
- == 1.0.0 (2016-10-06) - @obilodeau
371
-
372
- Since this is the first ever "release" of asciidoctor-reveal.js (we used to do continuous improvements w/o releases in the past), this list focuses on the major enhancements introduced over the last few weeks.
373
-
374
- Enhancements::
375
- * Initial release
376
- * Ruby package (#93)
377
- * Node package (#95)
378
- * `:customcss:` attribute for easy per-presentation CSS (#85)
379
- * Video support improvements (#81)
380
- * Reveal.js `data-state` support (#61)
381
- * Subtitle partioning (#70)
382
- * Background image rework (#52)
383
- * `:imagesdir:` properly enforced (#17, #67)
384
-
385
- === Release meta
386
-
387
- Released by @obilodeau
388
-
389
- {uri-repo}/issues?q=milestone%3A1.0.0[issues resolved] |
390
- {uri-repo}/releases/tag/v1.0.0[git tag]
391
-
392
- === Credits
393
-
394
- Thanks to the following people who contributed to this release:
395
-
396
- Alexander Heusingfeld, Andrea Bedini, Antoine Sabot-Durand, Brian Street, Charles Moulliard, Dan Allen, Danny Hyun, Emmanuel Bernard, gtoast, Guillaume Grossetie, Jacob Aae Mikkelsen, Jakub Jirutka, Jozef Skrabo, Julien Grenier, Julien Kirch, kubamarchwicki, lifei, Nico Rikken, nipa, Olivier Bilodeau, Patrick van Dissel, phrix32, Rahman Usta, Robert Panzer, Rob Winch, Thomas and Wendell Smith