asciidoctor-revealjs 3.0.0 → 4.1.0.rc3

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 +390 -63
  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 +81 -18
  89. data/CHANGELOG.adoc +0 -425
  90. data/HACKING.adoc +0 -386
  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
4
+ version: 4.1.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Bilodeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-07 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
@@ -372,11 +435,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
372
435
  version: '0'
373
436
  required_rubygems_version: !ruby/object:Gem::Requirement
374
437
  requirements:
375
- - - ">="
438
+ - - ">"
376
439
  - !ruby/object:Gem::Version
377
- version: '0'
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,425 +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
- == 3.0.0 (2020-01-07)
10
-
11
- An API breaking release for Asciidoctor.js users that brings a bright future
12
- of long term stability.
13
- New Reveal.js features supported: background opacity, background positions, and PDF export.
14
- AsciiDoc table options now supported.
15
- A big FontAwesome update.
16
- Many other little improvements and polish.
17
-
18
- Special heads-up: we are already planning for another major release since Reveal.js 3.8 support will be considered a breaking change.
19
- They changed how it is loaded and requires a template change incompatible with Reveal.js 3.1-3.7.
20
-
21
- Upgrade considerations::
22
- * Node.js packaging changes!
23
- With the arrival of Asciidoctor.js 2.0.0 you can now use a command line interface (CLI) just like with Asciidoctor Ruby:
24
-
25
- $(npm bin)/asciidoctor -r @asciidoctor/reveal.js -b revealjs presentation.adoc
26
- +
27
- If you want to keep generating your reveal.js presentations using the Node.js API, you need to change the following code.
28
- Instead of:
29
-
30
- var asciidoctorRevealjs = require('asciidoctor-reveal.js');
31
- asciidoctorRevealjs.register()
32
- +
33
- Use:
34
-
35
- var asciidoctor = require('@asciidoctor/core')()
36
- var asciidoctorRevealjs = require('@asciidoctor/reveal.js')
37
- asciidoctorRevealjs.register()
38
- +
39
- * Node.js package name changed from `asciidoctor-reveal.js` to `@asciidoctor/reveal.js` ({uri-issue}252[#252], {uri-issue}291[#291])
40
- * Custom CSS might require adjustments.
41
- Source and listing block encapsulation changed due to our migration to Asciidoctor 2.0.0 Syntax Highlighter API.
42
- See {uri-issue}287[#287].
43
- * Upgraded to Font-Awesome 5.8.2 from 4.3.0 which contains some backward incompatible changes ({uri-issue}268[#268])
44
- * {project-name} now requires Asciidoctor 2.0.0+ or Asciidoctor.js 2.0.0+ ({uri-issue}290[#290])
45
- * Dropped support for end-of-life Ruby version 2.1 and 2.2 ({uri-issue}247[#247])
46
-
47
- Compliance::
48
- * 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])
49
- * Source code callout style aligned with Asciidoctor's ({uri-issue}293[#293], {uri-issue}300[#300])
50
- * Added support for Reveal.js data-background-opacity ({uri-issue}269[#269])
51
- * Added support for Reveal.js data-background-position ({uri-issue}273[#273], {uri-issue}274[#274])
52
- * Updated the process to include the generated converter in releases ({uri-issue}265[#265], {uri-issue}302[#302])
53
-
54
- Enhancements::
55
- * Support for Asciidoctor.js 2.0.0+ which brings a command line interface ({uri-issue}254[#254])
56
- * Process updates, narrower install version range and compatibility matrix regarding Asciidoctor.js ({uri-issue}187[#187], {uri-issue}303[#303])
57
- * 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])
58
- * Added support for Reveal.js PDF export options ({uri-issue}277[#277])
59
- * Upgraded to Font-Awesome 5.8.2 ({uri-issue}268[#268])
60
- * We now accept `reveal.js` as converter/backend name in addition to `revealjs` ({uri-issue}253[#253], {uri-issue}297[#297])
61
- * Babel integration example API updated to use {project-name} current API ({uri-issue}285[#285], {uri-issue}298[#298])
62
- * Node.js package clean-ups ({uri-issue}279[#279], {uri-issue}281[#281], {uri-issue}282[#282])
63
- * Upgrade Opal to use a compatible version with Asciidoctor.js 2.0.3 ({uri-issue}289[#289])
64
- * Documentation improvements ({uri-issue}292[#292], {uri-issue}302[#302])
65
- * Improvements to tests ({uri-issue}294[#294])
66
-
67
- Bug Fixes::
68
- * Babel integration example updated for security ({uri-issue}285[#285])
69
-
70
- Infrastructure::
71
- * Updated Travis' JRuby to fix issues with bundler ({uri-issue}295[#295])
72
-
73
- === Release meta
74
-
75
- * Released on: 2020-01-07
76
- * Released by: Olivier Bilodeau
77
- * Release beer: Porter Baltique Édition Spéciale 2019, Les Trois Mousquetaires
78
-
79
- {uri-repo}/releases/tag/v3.0.0[git tag] |
80
- {uri-repo}/compare/v2.0.1...v3.0.0[full diff] |
81
- {uri-repo}/milestone/7[milestone]
82
-
83
- === Credits
84
-
85
- Thanks to the following people who contributed to this release:
86
-
87
- Benjamin Schmid, Daniel Mulholland, Eiji Onchi, Gérald Quintana, Guillaume Grossetie and Olivier Bilodeau
88
-
89
-
90
- == 2.0.1 (2019-12-04)
91
-
92
- Important Bug Fix::
93
- * 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])
94
-
95
- Compliance::
96
- * Dropped support for verse table cells ({uri-issue}246[#246]).
97
- Asciidoctor 2.0 dropped it, we followed.
98
-
99
- Enhancements::
100
- * Documentation improvements ({uri-issue}264[#264], {uri-issue}278[#278], {uri-issue}280[#280])
101
-
102
- Bug Fixes::
103
- * Yarn.lock updates for security ({uri-issue}283[#283])
104
-
105
- === Release meta
106
-
107
- * Released on: 2019-12-04
108
- * Released by: Olivier Bilodeau
109
- * Release whisky: Lot No. 40 Single Copper Pot Still Rye Whisky
110
-
111
- {uri-repo}/releases/tag/v2.0.1[git tag] |
112
- {uri-repo}/compare/v2.0.0...v2.0.1[full diff]
113
-
114
- === Credits
115
-
116
- Thanks to the following people who contributed to this release:
117
-
118
- Benjamin Schmid, Guillaume Grossetie, Olivier Bilodeau
119
-
120
-
121
- == 2.0.0 (2019-02-28)
122
-
123
- Upgrade considerations::
124
- * Node.js API change!
125
- 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.
126
- Instead of `require('asciidoctor-reveal.js')` you need to do:
127
-
128
- var asciidoctorRevealjs = require('asciidoctor-reveal.js');
129
- asciidoctorRevealjs.register()
130
- +
131
- This change enables new use cases like embedding a presentation in a React web app.
132
-
133
- * Anchor links generated by {project-name} will change from now on when revealjs_history is set to true (default is false).
134
- 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]).
135
- Explicit anchors are not affected.
136
- * Custom CSS might require adjustments.
137
- Source and listing block are less deeply nested into `div` blocks now.
138
- See {uri-issue}195[#195] and {uri-issue}223[#223].
139
- * The reveal.js `marked` and `markdown` plugins are disabled by default now.
140
- It is unlikely that they could have been used anyway.
141
- See {uri-issue}204[#204].
142
- * Dropped the ability to override the Reveal.JS theme and transitions dynamically with the URL query.
143
- Was not compatible with Reveal.JS 3.x series released 4 years ago.
144
-
145
- Enhancements::
146
- * Easier speaker notes: a `.notes` role that apply to many AsciiDoc blocks (open, sidebar and admonition) ({uri-issue}202[#202])
147
- * 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])
148
- * 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])
149
- * Reveal.js's fragmentInURL option now supported ({uri-issue}206[#206], {uri-issue}214[#214])
150
- * 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])
151
- * Support for Asciidoctor.js 1.5.6 and build simplification ({uri-issue}189[#189], {uri-issue}217[#217])
152
- * 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])
153
- * Node / Javascript back-end is now loaded on-demand with the `register()` method.
154
- This allows embedding {project-name} into React or any other modern Javascript environment.
155
- ({uri-issue}205[#205], {uri-issue}218[#218], {uri-issue}219[#219])
156
- * `revealjsdir` attribute is set to a more sensible default when running under Node.js ({uri-issue}191[#191], {uri-issue}228[#228])
157
- * Node / Javascript back-end updated to use Asciidoctor.js 1.5.9.
158
- This extension is built with Opal 0.11.99.dev (6703d8d) in order to be compatible.
159
- ({uri-issue}227[#227], {uri-issue}240[#240])
160
-
161
- Compliance::
162
- * AsciiDoc source callout icons now work ({uri-issue}54[#54], {uri-issue}168[#168], {uri-issue}224[#224])
163
- * 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])
164
- * Asciidoctor 2.0 ready ({uri-issue}245[#245])
165
-
166
- Bug Fixes::
167
- * Reveal.js' `stretch` class now works with listing blocks ({uri-issue}195[#195], {uri-issue}223[#223])
168
- * Auto-generated slide IDs with unallowed characters (for revealjs history) now work properly.
169
- 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.
170
- ({uri-issue}192[#192], {uri-issue}232[#232])
171
-
172
- Infrastructure::
173
- * Travis testing prepared for upcoming Asciidoctor 2.0 ({uri-issue}216[#216])
174
- * Travis testing for Ruby 2.6 ({uri-issue}243[#243])
175
-
176
- === Release meta
177
-
178
- * Released on: 2019-02-28
179
- * Released by: Olivier Bilodeau
180
- * Release beer: President's Choice Blonde Brew De-alcoholized Beer (Sober February Successfully Completed!)
181
-
182
- {uri-repo}/releases/tag/v2.0.0[git tag] |
183
- {uri-repo}/compare/v1.1.3...v2.0.0[full diff] |
184
- {uri-repo}/milestone/6[milestone]
185
-
186
- === Credits
187
-
188
- Thanks to the following people who contributed to this release:
189
-
190
- a4z, Dan Allen, Guillaume Grossetie, Harald, Jakub Jirutka, Olivier Bilodeau, stevewillson, Vivien Didelot
191
-
192
-
193
- == 1.1.3 (2018-01-31)
194
-
195
- A repackage of 1.1.2 with a fix for Ruby 2.5 environments
196
-
197
- Bug fixes::
198
- * Worked around a problem in ruby-beautify with the compiled Slim template under Ruby 2.5
199
-
200
- === Release meta
201
-
202
- * Released on: 2018-01-31
203
- * Released by: Olivier Bilodeau
204
- * Release coffee: Santropol Dark Espresso
205
-
206
- {uri-repo}/releases/tag/v1.1.3[git tag] |
207
- {uri-repo}/compare/v1.1.2...v1.1.3[full diff]
208
-
209
- === Credits
210
-
211
- Thanks to the following people who contributed to this release:
212
-
213
- Jakub Jirutka, Olivier Bilodeau
214
-
215
-
216
- == 1.1.2 (2018-01-30)
217
-
218
- NOTE: No packaged version of this release were produced.
219
-
220
- A bugfix release due to a problem rendering tables using the Javascript /
221
- Node.js toolchain.
222
-
223
- Enhancements::
224
- * Documentation improvements ({uri-issue}181[#181])
225
-
226
- Bug fixes::
227
- * Fixed crash with presentations with a table used from Javascript/Node.js setup ({uri-issue}178[#178])
228
-
229
- === Release meta
230
-
231
- * Released on: 2018-01-30
232
- * Released by: Olivier Bilodeau
233
- * Release beer: A sad Belgian Moon in a Smoke Meat joint
234
-
235
- {uri-repo}/releases/tag/v1.1.2[git tag] |
236
- {uri-repo}/compare/v1.1.1...v1.1.2[full diff]
237
-
238
- === Credits
239
-
240
- Thanks to the following people who contributed to this release:
241
-
242
- Guillaume Grossetie, Tobias Placht, Olivier Bilodeau
243
-
244
-
245
- == 1.1.1 (2018-01-03)
246
-
247
- An emergency bugfix release due to a problem in the Ruby Gem package
248
-
249
- Enhancements::
250
- * Documentation improvements ({uri-issue}163[#163], {uri-issue}165[#165], {uri-issue}169[#169], {uri-issue}173[#173], {uri-issue}175[#175])
251
-
252
- Compliance::
253
- * Code listing callouts now work properly ({uri-issue}22[#22], {uri-issue}166[#166], {uri-issue}167[#167])
254
- * More source code listing examples and tests ({uri-issue}163[#163], {uri-issue}170[#170])
255
-
256
- Bug fixes::
257
- * The version 1.1.0 Ruby Gem was broken due to a packaging error ({uri-issue}172[#172])
258
-
259
- === Release meta
260
-
261
- * Released on: 2018-01-03
262
- * Released by: Olivier Bilodeau
263
- * Release beer: Croque-Mort Double IPA, À la fût
264
-
265
- {uri-repo}/releases/tag/v1.1.1[git tag] |
266
- {uri-repo}/compare/v1.1.0...v1.1.1[full diff] |
267
- {uri-repo}/milestone/5[milestone]
268
-
269
- === Credits
270
-
271
- Thanks to the following people who contributed to this release:
272
-
273
- Dietrich Schulten, Olivier Bilodeau
274
-
275
-
276
- == 1.1.0 (2017-12-25) - @obilodeau
277
-
278
- Enhancements::
279
- * Support for Reveal.JS 3.5.0+ ({uri-issue}146[#146], {uri-issue}151[#151])
280
- * Support for Asciidoctor 1.5.6 ({uri-issue}132[#132], {uri-issue}136[#136], {uri-issue}142[#142])
281
- * Support for Asciidoctor.js 1.5.6-preview.4 ({uri-issue}130[#130], {uri-issue}143[#143], {uri-issue}156[#156])
282
- * Compiling slim templates to Ruby allows us to drop Jade templates for Asciidoctor.js users
283
- ({uri-issue}63[#63], {uri-issue}131[#131])
284
- * Documentation polish ({uri-issue}153[#153], {uri-issue}158[#158] and more)
285
-
286
- Compliance::
287
- * 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
288
- ({uri-issue}63[#63], {uri-issue}131[#131])
289
-
290
- Bug fixes::
291
- * Reveal.js https://github.com/hakimel/reveal.js/#configuration[history feature] now works.
292
- We are working around Reveal.js' section id character limits.
293
- ({uri-issue}127[#127], {uri-issue}150[#150], https://github.com/hakimel/reveal.js/issues/1346[hakimel/reveal.js#1346])
294
-
295
- Infrastructure::
296
- * https://github.com/asciidoctor/asciidoctor-doctest[Asciidoctor-doctest] integration.
297
- This layer of automated testing should help prevent regressions and improve our development process.
298
- ({uri-issue}92[#92], {uri-issue}116[#116])
299
- * Travis-CI integration to automatically run doctests and examples AsciiDoc conversions
300
- * Travis-CI tests are triggered by changes done in Asciidoctor.
301
- We will detect upstream changes affecting us sooner.
302
- * Smoke tests for our Javascript / Node / Asciidoctor.js toolchain (integrated in Travis-CI also)
303
- * `npm run examples` will convert all examples using the Javascript / Node / Asciidoctor.js toolchain ({uri-issue}149[#149])
304
- * `rake examples:serve` will run a Web server from `examples/` so you can preview rendered examples ({uri-issue}154[#154])
305
-
306
- === Release meta
307
-
308
- {uri-repo}/releases/tag/v1.1.0[git tag] |
309
- {uri-repo}/compare/v1.0.4...v1.1.0[full diff]
310
-
311
- === Credits
312
-
313
- Thanks to the following people who contributed to this release:
314
-
315
- @jirutka, Dan Allen, Guillaume Grossetie, Jacob Aae Mikkelsen, Olivier Bilodeau, Rahul Somasunderam
316
-
317
-
318
- == 1.0.4 (2017-09-27) - @obilodeau
319
-
320
- Bug fixes::
321
- * Dependency problems leading to crashes when used from Asciidoctor.js ({uri-issue}145[#145])
322
-
323
- === Release meta
324
-
325
- {uri-repo}/releases/tag/v1.0.4[git tag] |
326
- {uri-repo}/compare/v1.0.3...v1.0.4[full diff]
327
-
328
- === Credits
329
-
330
- Thanks to the following people who contributed to this release:
331
-
332
- Olivier Bilodeau, Guillaume Grossetie
333
-
334
-
335
- == 1.0.3 (2017-08-28) - @obilodeau
336
-
337
- Enhancements::
338
- * Documentation improvements
339
-
340
- Compliance::
341
- * Added `data-state: title` to the title slide ({uri-issue}123[#123])
342
-
343
- Bug fixes::
344
- * Pinned Asciidoctor version requirement to 1.5.4 to avoid dealing with {uri-issue}132[#132] in the 1.0.x series
345
- * Fixed consistency issues with boolean values handling in revealjs settings ({uri-issue}125[#125])
346
-
347
- === Release meta
348
-
349
- {uri-repo}/releases/tag/v1.0.3[git tag] |
350
- {uri-repo}/compare/v1.0.2...v1.0.3[full diff]
351
-
352
- === Credits
353
-
354
- Thanks to the following people who contributed to this release:
355
-
356
- Dan Allen, nipa, Olivier Bilodeau, Pi3r
357
-
358
-
359
- == 1.0.2 (2016-12-22) - @obilodeau
360
-
361
- Enhancements::
362
- * Ruby back-end is now compiled in Javascript with Opal (#115)
363
- * Documentation improvements
364
-
365
- === Release meta
366
-
367
- {uri-repo}/issues?q=milestone%3A1.0.2[issues resolved] |
368
- {uri-repo}/releases/tag/v1.0.2[git tag] |
369
- {uri-repo}/compare/v1.0.1...v1.0.2[full diff]
370
-
371
- === Credits
372
-
373
- Thanks to the following people who contributed to this release:
374
-
375
- Dan Allen, Guillaume Grossetie, Olivier Bilodeau
376
-
377
-
378
- == 1.0.1 (2016-10-12) - @obilodeau
379
-
380
- Enhancements::
381
- * Documentation: aligned release process for both npm and ruby gems packages
382
- * npm package in sync with ruby gem
383
-
384
- === Release meta
385
-
386
- Released by @obilodeau
387
-
388
- {uri-repo}/issues?q=milestone%3A1.0.1[issues resolved] |
389
- {uri-repo}/releases/tag/v1.0.1[git tag] |
390
- {uri-repo}/compare/v1.0.0...v1.0.1[full diff]
391
-
392
- === Credits
393
-
394
- Thanks to the following people who contributed to this release:
395
-
396
- Olivier Bilodeau
397
-
398
-
399
- == 1.0.0 (2016-10-06) - @obilodeau
400
-
401
- 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.
402
-
403
- Enhancements::
404
- * Initial release
405
- * Ruby package (#93)
406
- * Node package (#95)
407
- * `:customcss:` attribute for easy per-presentation CSS (#85)
408
- * Video support improvements (#81)
409
- * Reveal.js `data-state` support (#61)
410
- * Subtitle partioning (#70)
411
- * Background image rework (#52)
412
- * `:imagesdir:` properly enforced (#17, #67)
413
-
414
- === Release meta
415
-
416
- Released by @obilodeau
417
-
418
- {uri-repo}/issues?q=milestone%3A1.0.0[issues resolved] |
419
- {uri-repo}/releases/tag/v1.0.0[git tag]
420
-
421
- === Credits
422
-
423
- Thanks to the following people who contributed to this release:
424
-
425
- 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