asciidoctor-revealjs 4.0.1 → 4.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +75 -35
  3. data/Rakefile +18 -3
  4. data/asciidoctor-revealjs.gemspec +1 -1
  5. data/examples/a11y-dark.css +99 -0
  6. data/examples/autoslide.adoc +22 -0
  7. data/examples/custom-layout.adoc +10 -0
  8. data/examples/data-attributes.adoc +245 -0
  9. data/examples/font-awesome-specific-version.adoc +11 -0
  10. data/examples/font-awesome.adoc +16 -2
  11. data/examples/footnotes.adoc +46 -0
  12. data/examples/fragments.adoc +12 -0
  13. data/examples/grid-layout-3x2.adoc +50 -0
  14. data/examples/grid-layout-docinfo-revealjs.html +1 -1
  15. data/examples/grid-layout.adoc +21 -1
  16. data/examples/images/cute-cat-1.jpg +0 -0
  17. data/examples/images/cute-cat-2.jpg +0 -0
  18. data/examples/images/cute-cat-3.jpg +0 -0
  19. data/examples/images/flock-of-seagulls_daniel-simion.mp3 +0 -0
  20. data/examples/issue-grid-layout-images.adoc +25 -0
  21. data/examples/mathjax-cdn.adoc +21 -0
  22. data/examples/mathjax.adoc +20 -0
  23. data/examples/release-4.0.adoc +2 -5
  24. data/examples/release-4.1.adoc +133 -0
  25. data/examples/release-4.1.css +50 -0
  26. data/examples/revealjs-custom-theme.adoc +10 -0
  27. data/examples/steps.adoc +87 -0
  28. data/examples/text-alignments.adoc +44 -0
  29. data/examples/video.adoc +19 -6
  30. data/lib/asciidoctor-revealjs/converter.rb +754 -647
  31. data/lib/asciidoctor-revealjs/version.rb +1 -1
  32. data/templates/admonition.html.slim +1 -1
  33. data/templates/asciidoctor-compatibility.css +303 -54
  34. data/templates/audio.html.slim +1 -1
  35. data/templates/colist.html.slim +1 -1
  36. data/templates/dlist.html.slim +3 -3
  37. data/templates/document.html.slim +12 -7
  38. data/templates/example.html.slim +1 -1
  39. data/templates/helpers.rb +80 -7
  40. data/templates/image.html.slim +2 -2
  41. data/templates/inline_anchor.html.slim +5 -4
  42. data/templates/inline_button.html.slim +2 -1
  43. data/templates/inline_footnote.html.slim +11 -4
  44. data/templates/inline_image.html.slim +2 -5
  45. data/templates/inline_kbd.html.slim +3 -2
  46. data/templates/inline_menu.html.slim +4 -3
  47. data/templates/inline_quoted.html.slim +13 -21
  48. data/templates/listing.html.slim +14 -9
  49. data/templates/literal.html.slim +1 -1
  50. data/templates/olist.html.slim +2 -2
  51. data/templates/open.html.slim +3 -3
  52. data/templates/paragraph.html.slim +1 -1
  53. data/templates/quote.html.slim +1 -1
  54. data/templates/section.html.slim +18 -1
  55. data/templates/sidebar.html.slim +1 -1
  56. data/templates/stem.html.slim +1 -1
  57. data/templates/table.html.slim +3 -2
  58. data/templates/ulist.html.slim +3 -3
  59. data/templates/verse.html.slim +1 -1
  60. data/templates/video.html.slim +14 -8
  61. metadata +26 -10
  62. data/CHANGELOG.adoc +0 -546
  63. data/HACKING.adoc +0 -412
@@ -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 || '&'}loop=1) : ''
17
+ - muted_param = (option? 'muted') ? %(#{delimiter.pop || '&'}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: 4.0.1
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: 2020-02-19 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
@@ -78,14 +78,14 @@ dependencies:
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
89
  - !ruby/object:Gem::Dependency
90
90
  name: minitest
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -236,32 +236,36 @@ extensions: []
236
236
  extra_rdoc_files:
237
237
  - README.adoc
238
238
  - LICENSE.adoc
239
- - HACKING.adoc
240
239
  files:
241
- - CHANGELOG.adoc
242
240
  - Gemfile
243
- - HACKING.adoc
244
241
  - LICENSE.adoc
245
242
  - README.adoc
246
243
  - Rakefile
247
244
  - asciidoctor-revealjs.gemspec
248
245
  - bin/asciidoctor-revealjs
249
246
  - examples/README.adoc
247
+ - examples/a11y-dark.css
250
248
  - examples/admonitions-icons.adoc
251
249
  - examples/admonitions.adoc
250
+ - examples/autoslide.adoc
252
251
  - examples/background-color.adoc
253
252
  - examples/background-color.css
254
253
  - examples/concealed-slide-titles.adoc
254
+ - examples/custom-layout.adoc
255
255
  - examples/customcss.adoc
256
256
  - examples/customcss.css
257
+ - examples/data-attributes.adoc
257
258
  - examples/data-background-newstyle.adoc
258
259
  - examples/data-background-oldstyle.adoc
259
260
  - examples/docinfo-footer-revealjs.html
260
261
  - examples/docinfo-revealjs.html
262
+ - examples/font-awesome-specific-version.adoc
261
263
  - examples/font-awesome.adoc
262
264
  - examples/font-awesome.css
265
+ - examples/footnotes.adoc
263
266
  - examples/fragments.adoc
264
267
  - examples/fragments.css
268
+ - examples/grid-layout-3x2.adoc
265
269
  - examples/grid-layout-docinfo-revealjs.html
266
270
  - examples/grid-layout.adoc
267
271
  - examples/history-hash.adoc
@@ -272,17 +276,27 @@ files:
272
276
  - examples/images/asciidoctor-logo.svg
273
277
  - examples/images/bio.jpg
274
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
275
283
  - examples/images/meme-2.jpg
276
284
  - examples/images/meme-7.png
277
285
  - examples/images/web_surfing_time.gif
286
+ - examples/issue-grid-layout-images.adoc
278
287
  - examples/keyboard-shortcuts.adoc
279
288
  - examples/level-sections.adoc
280
289
  - examples/level-sectnums.adoc
281
290
  - examples/links-preview.adoc
282
291
  - examples/links.adoc
292
+ - examples/mathjax-cdn.adoc
293
+ - examples/mathjax.adoc
283
294
  - examples/multi-destination-content.adoc
284
295
  - examples/release-4.0.adoc
285
296
  - examples/release-4.0.css
297
+ - examples/release-4.1.adoc
298
+ - examples/release-4.1.css
299
+ - examples/revealjs-custom-theme.adoc
286
300
  - examples/revealjs-plugin-activation.adoc
287
301
  - examples/revealjs-plugins-conf.js
288
302
  - examples/revealjs-plugins.adoc
@@ -343,7 +357,9 @@ files:
343
357
  - examples/source-rouge-docinfo.html
344
358
  - examples/source-rouge.adoc
345
359
  - examples/speaker-notes.adoc
360
+ - examples/steps.adoc
346
361
  - examples/tables-styles.adoc
362
+ - examples/text-alignments.adoc
347
363
  - examples/theme-custom.adoc
348
364
  - examples/theme-custom.css
349
365
  - examples/title-preamble.adoc
@@ -419,11 +435,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
419
435
  version: '0'
420
436
  required_rubygems_version: !ruby/object:Gem::Requirement
421
437
  requirements:
422
- - - ">="
438
+ - - ">"
423
439
  - !ruby/object:Gem::Version
424
- version: '0'
440
+ version: 1.3.1
425
441
  requirements: []
426
- rubygems_version: 3.1.2
442
+ rubygems_version: 3.1.4
427
443
  signing_key:
428
444
  specification_version: 4
429
445
  summary: A reveal.js converter for Asciidoctor. Write your slides in AsciiDoc!
@@ -1,546 +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
- == 4.0.1 (2020-02-18)
10
-
11
- Repackage for NPM.
12
-
13
-
14
- == 4.0.0 (2020-02-18)
15
-
16
- A major release with a ton of improvements!
17
- All of reveal.js 3.8.0-3.9.2 new features are supported.
18
- Added a new set of column layout options for quick slides design.
19
- Highlight.js support improved.
20
- Easier templates customizations.
21
- New Java / JVM toolchain via [AsciidoctorJ-reveal.js](https://github.com/asciidoctor/asciidoctorj-reveal.js).
22
- Support was added for Asciidoctor `docinfo` and `sectnums` attributes, `kbd` macro and callout styles were fixed.
23
-
24
- See the *upgrade considerations* section for the list of potentially breaking changes.
25
-
26
- Upgrade considerations::
27
- * Due to an upstream change in reveal.js 3.8.0, this back-end no longer supports earlier reveal.js versions.
28
- We added a compatibility matrix with reveal.js at the end of the README.
29
- See {uri-issue}301[#301] for details.
30
- * Using the attribute `background-opacity` to alter the opacity of the title slide no longer works.
31
- When the opacity feature was introduced we forgot to align with the other title slide attributes.
32
- The feature was introduced in 3.0.0 and the bug stayed in 3.1.0.
33
- Starting with 4.0.0 use `title-slide-background-opacity` instead.
34
- See issue {uri-issue}323[#323] for details.
35
- * The new _Columns layout_ feature required a new `<div>` that wraps all slide content (everything except the slide title).
36
- This might impact custom CSS with strict child relationships.
37
- See issue {uri-issue}326[#326] and PR {uri-issue}332[#332] for details.
38
- * We bundle Highlight.js instead of relying on reveal.js.
39
- We reduced the core set of supported languages and added the `highlightjs-languages` attribute to add specific languages on demand.
40
- Depending on what type of code you were highlighting, you might need to add your language using that attribute.
41
- See {uri-issue}320[#320] for details.
42
- * Our support of AsciiDoc `docinfo` attribute changed.
43
- We were previously injecting `docinfo-header.html` somewhere in the HTML `<head>`.
44
- Now, `docinfo-revealjs.html` goes last into the HTML `<head>`, `docinfo-header-revealjs.html` goes right before the first slide `<section>` and `docinfo-footer-revealjs.html` goes right after the last slide `<section>`.
45
- The new documentation is available https://github.com/asciidoctor/asciidoctor-reveal.js#supplemental-content-with-docinfo[here] and the related tickets are {uri-issue}198[#198] and {uri-issue}324[#324].
46
- * Default highlight.js theme is monokai. This follows a reveal.js change.
47
-
48
- Enhancements::
49
- * New _Columns layout_ feature which provides easy to use roles to create multiple columns in slides.
50
- See the https://github.com/asciidoctor/asciidoctor-reveal.js#columns-layout[feature's documentation] for usage details.
51
- See issue {uri-issue}326[#326] and PRs {uri-issue}332[#332], {uri-issue}340[#340] for details.
52
- * Built-in slim templates can now be overridden with `--template-dir` or `-T` ({uri-issue}177[#177], {uri-issue}318[#318])
53
- * Highlight.js is now bundled by us instead of reveal.js.
54
- You can add other languages not supported in the core set by using the `highlightjs-languages` attribute.
55
- It can also be loaded locally or from a CDN of your choice.
56
- See issues {uri-issue}21[#21], {uri-issue}319[#319] and {uri-issue}320[#320] for details.
57
- * We now support the Java / JVM ecosystem.
58
- This packaging happens in a separate project: https://github.com/asciidoctor/asciidoctorj-reveal.js[AsciidoctorJ reveal.js].
59
- See issue {uri-issue}271[#217] and PR {uri-issue}337[#337] for details.
60
- * Many new examples demonstrating various features
61
- * Documentation improvements ({uri-issue}322[#322])
62
- * Refactoring ({uri-issue}327[#327], {uri-issue}330[#330], {uri-issue}333[#333])
63
-
64
- Compliance::
65
- * New reveal.js 3.8.0 and 3.9.0 features supported ({uri-issue}301[#301])
66
- ** Line numbers on source code blocks using Asciidoctor's `linenums` attribute
67
- ** Specific lines and step-by-step code highlights using Asciidoctor's `highlight` attribute
68
- ** reveal.js `data-preview` on links and images with link can be activated by using the `preview` and `link_preview` Asciidoctor attributes respectively
69
- ** New configuration options: `hash`, `navigationMode`, `shuffle`, `preloadIframes`, `totalTime`, `minimumTimePerSlide`, `hideInactiveCursor`, `hideCursorTime`, `previewLinks` (`data-preview-link`) and `mobileViewDistance` ({uri-issue}301[#301])
70
- * Added support for the `sectnums` AsciiDoc attribute ({uri-issue}185[#185], {uri-issue}317[#317])
71
- * Aligned our `docinfo` support to Asciidoctor Bespoke ({uri-issue}198[#198], {uri-issue}324[#324])
72
- * Support the `highlightjs-languages` attribute from Asciidocotor ({uri-issue}319[#319], {uri-issue}320[#320])
73
- * `background-opacity` title slide attribute renamed to `title-slide-background-opacity` ({uri-issue}323[#323], {uri-issue}325[#325])
74
- * Added support for the `kdb` macro to represent keyboard shortcuts ({uri-issue}276[#276], {uri-issue}329[#329])
75
- * Cosmetic improvements to callout lists ({uri-issue}335[#335])
76
-
77
- Bug Fixes::
78
- * Line height CSS fix with code listing with line numbers ({uri-issue}331[#331], {uri-issue}334[#334])
79
- * Interactive debugging works again ({uri-issue}322[#322])
80
- * Fixed _Uncaught ReferenceError: require is not defined_ by dropping outdated documentation ({uri-issue}344[#344])
81
-
82
- === Release meta
83
-
84
- * Released on: 2020-02-18
85
- * Released by: Olivier Bilodeau
86
- * Release drink: https://defi.leclub28.com/en/p/47E2C422178348F[Lime Flavored Sparkling Water]
87
-
88
- {uri-repo}/releases/tag/v4.0.0[git tag] |
89
- {uri-repo}/compare/v3.1.0...v4.0.0[full diff] |
90
- {uri-repo}/milestone/8[milestone]
91
-
92
- === Credits
93
-
94
- Thanks to the following people who contributed to this release:
95
-
96
- Guillaume Grossetie, thomas and Olivier Bilodeau
97
-
98
-
99
- == 3.1.0 (2020-01-18)
100
-
101
- Fixed a regression with Font-Awesome brand icons, added a JavaScript CLI and standalone executables for Windows, Linux and macOS.
102
-
103
- Enhancements::
104
- * We now provide native standalone executables for Windows, Linux and macOS using a Node to binary packager ({uri-issue}259[#259], {uri-issue}308[#308])
105
- * JavaScript stack now provides a CLI usable with `npx asciidoctor-revealjs` ({uri-issue}308[#308])
106
- * Updated to Font-Awesome 5.12.0 ({uri-issue}305[#305])
107
- * Ruby command line interface now shows {project-name} version in addition to Asciidoctor version ({uri-issue}313[#313])
108
- * Updated dependencies: rake
109
- * Better tests ({uri-issue}310[#310], {uri-issue}311[#311])
110
-
111
- Bug Fixes::
112
- * Added compatibility shim to Font Awesome 5 to fix brand icons rendering and more ({uri-issue}304[#304], {uri-issue}305[#305])
113
-
114
- === Release meta
115
-
116
- * Released on: 2020-01-18
117
- * Released by: Olivier Bilodeau
118
- * Release beer: Lupulus, Microbrasserie Charlevoix
119
-
120
- {uri-repo}/releases/tag/v3.1.0[git tag] |
121
- {uri-repo}/compare/v3.0.0...v3.1.0[full diff] |
122
- {uri-repo}/milestone/9[milestone]
123
-
124
- === Credits
125
-
126
- Thanks to the following people who contributed to this release:
127
-
128
- Guillaume Grossetie and Olivier Bilodeau
129
-
130
-
131
- == 3.0.0 (2020-01-07)
132
-
133
- An API breaking release for Asciidoctor.js users that brings a bright future of long term stability.
134
- New Reveal.js features supported: background opacity, background positions, and PDF export.
135
- AsciiDoc table options now supported.
136
- A big FontAwesome update.
137
- Many other little improvements and polish.
138
-
139
- Special heads-up: we are already planning for another major release since Reveal.js 3.8 support will be considered a breaking change.
140
- They changed how it is loaded and requires a template change incompatible with Reveal.js 3.1-3.7.
141
-
142
- Upgrade considerations::
143
- * Node.js packaging changes!
144
- With the arrival of Asciidoctor.js 2.0.0 you can now use a command line interface (CLI) just like with Asciidoctor Ruby:
145
-
146
- $(npm bin)/asciidoctor -r @asciidoctor/reveal.js -b revealjs presentation.adoc
147
- +
148
- If you want to keep generating your reveal.js presentations using the Node.js API, you need to change the following code.
149
- Instead of:
150
-
151
- var asciidoctorRevealjs = require('asciidoctor-reveal.js');
152
- asciidoctorRevealjs.register()
153
- +
154
- Use:
155
-
156
- var asciidoctor = require('@asciidoctor/core')()
157
- var asciidoctorRevealjs = require('@asciidoctor/reveal.js')
158
- asciidoctorRevealjs.register()
159
- +
160
- * Node.js package name changed from `asciidoctor-reveal.js` to `@asciidoctor/reveal.js` ({uri-issue}252[#252], {uri-issue}291[#291])
161
- * Custom CSS might require adjustments.
162
- Source and listing block encapsulation changed due to our migration to Asciidoctor 2.0.0 Syntax Highlighter API.
163
- See {uri-issue}287[#287].
164
- * Upgraded to Font-Awesome 5.8.2 from 4.3.0 which contains some backward incompatible changes ({uri-issue}268[#268])
165
- * {project-name} now requires Asciidoctor 2.0.0+ or Asciidoctor.js 2.0.0+ ({uri-issue}290[#290])
166
- * Dropped support for end-of-life Ruby version 2.1 and 2.2 ({uri-issue}247[#247])
167
-
168
- Compliance::
169
- * 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])
170
- * Source code callout style aligned with Asciidoctor's ({uri-issue}293[#293], {uri-issue}300[#300])
171
- * Added support for Reveal.js data-background-opacity ({uri-issue}269[#269])
172
- * Added support for Reveal.js data-background-position ({uri-issue}273[#273], {uri-issue}274[#274])
173
- * Updated the process to include the generated converter in releases ({uri-issue}265[#265], {uri-issue}302[#302])
174
-
175
- Enhancements::
176
- * Support for Asciidoctor.js 2.0.0+ which brings a command line interface ({uri-issue}254[#254])
177
- * Process updates, narrower install version range and compatibility matrix regarding Asciidoctor.js ({uri-issue}187[#187], {uri-issue}303[#303])
178
- * 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])
179
- * Added support for Reveal.js PDF export options ({uri-issue}277[#277])
180
- * Upgraded to Font-Awesome 5.8.2 ({uri-issue}268[#268])
181
- * We now accept `reveal.js` as converter/backend name in addition to `revealjs` ({uri-issue}253[#253], {uri-issue}297[#297])
182
- * Babel integration example API updated to use {project-name} current API ({uri-issue}285[#285], {uri-issue}298[#298])
183
- * Node.js package clean-ups ({uri-issue}279[#279], {uri-issue}281[#281], {uri-issue}282[#282])
184
- * Upgrade Opal to use a compatible version with Asciidoctor.js 2.0.3 ({uri-issue}289[#289])
185
- * Documentation improvements ({uri-issue}292[#292], {uri-issue}302[#302])
186
- * Improvements to tests ({uri-issue}294[#294])
187
-
188
- Bug Fixes::
189
- * Babel integration example updated for security ({uri-issue}285[#285])
190
-
191
- Infrastructure::
192
- * Updated Travis' JRuby to fix issues with bundler ({uri-issue}295[#295])
193
-
194
- === Release meta
195
-
196
- * Released on: 2020-01-07
197
- * Released by: Olivier Bilodeau
198
- * Release beer: Porter Baltique Édition Spéciale 2019, Les Trois Mousquetaires
199
-
200
- {uri-repo}/releases/tag/v3.0.0[git tag] |
201
- {uri-repo}/compare/v2.0.1...v3.0.0[full diff] |
202
- {uri-repo}/milestone/7[milestone]
203
-
204
- === Credits
205
-
206
- Thanks to the following people who contributed to this release:
207
-
208
- Benjamin Schmid, Daniel Mulholland, Eiji Onchi, Gérald Quintana, Guillaume Grossetie and Olivier Bilodeau
209
-
210
-
211
- == 2.0.1 (2019-12-04)
212
-
213
- Important Bug Fix::
214
- * 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])
215
-
216
- Compliance::
217
- * Dropped support for verse table cells ({uri-issue}246[#246]).
218
- Asciidoctor 2.0 dropped it, we followed.
219
-
220
- Enhancements::
221
- * Documentation improvements ({uri-issue}264[#264], {uri-issue}278[#278], {uri-issue}280[#280])
222
-
223
- Bug Fixes::
224
- * Yarn.lock updates for security ({uri-issue}283[#283])
225
-
226
- === Release meta
227
-
228
- * Released on: 2019-12-04
229
- * Released by: Olivier Bilodeau
230
- * Release whisky: Lot No. 40 Single Copper Pot Still Rye Whisky
231
-
232
- {uri-repo}/releases/tag/v2.0.1[git tag] |
233
- {uri-repo}/compare/v2.0.0...v2.0.1[full diff]
234
-
235
- === Credits
236
-
237
- Thanks to the following people who contributed to this release:
238
-
239
- Benjamin Schmid, Guillaume Grossetie, Olivier Bilodeau
240
-
241
-
242
- == 2.0.0 (2019-02-28)
243
-
244
- Upgrade considerations::
245
- * Node.js API change!
246
- 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.
247
- Instead of `require('asciidoctor-reveal.js')` you need to do:
248
-
249
- var asciidoctorRevealjs = require('asciidoctor-reveal.js');
250
- asciidoctorRevealjs.register()
251
- +
252
- This change enables new use cases like embedding a presentation in a React web app.
253
-
254
- * Anchor links generated by {project-name} will change from now on when revealjs_history is set to true (default is false).
255
- 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]).
256
- Explicit anchors are not affected.
257
- * Custom CSS might require adjustments.
258
- Source and listing block are less deeply nested into `div` blocks now.
259
- See {uri-issue}195[#195] and {uri-issue}223[#223].
260
- * The reveal.js `marked` and `markdown` plugins are disabled by default now.
261
- It is unlikely that they could have been used anyway.
262
- See {uri-issue}204[#204].
263
- * Dropped the ability to override the Reveal.JS theme and transitions dynamically with the URL query.
264
- Was not compatible with Reveal.JS 3.x series released 4 years ago.
265
-
266
- Enhancements::
267
- * Easier speaker notes: a `.notes` role that apply to many AsciiDoc blocks (open, sidebar and admonition) ({uri-issue}202[#202])
268
- * 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])
269
- * 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])
270
- * Reveal.js's fragmentInURL option now supported ({uri-issue}206[#206], {uri-issue}214[#214])
271
- * 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])
272
- * Support for Asciidoctor.js 1.5.6 and build simplification ({uri-issue}189[#189], {uri-issue}217[#217])
273
- * 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])
274
- * Node / Javascript back-end is now loaded on-demand with the `register()` method.
275
- This allows embedding {project-name} into React or any other modern Javascript environment.
276
- ({uri-issue}205[#205], {uri-issue}218[#218], {uri-issue}219[#219])
277
- * `revealjsdir` attribute is set to a more sensible default when running under Node.js ({uri-issue}191[#191], {uri-issue}228[#228])
278
- * Node / Javascript back-end updated to use Asciidoctor.js 1.5.9.
279
- This extension is built with Opal 0.11.99.dev (6703d8d) in order to be compatible.
280
- ({uri-issue}227[#227], {uri-issue}240[#240])
281
-
282
- Compliance::
283
- * AsciiDoc source callout icons now work ({uri-issue}54[#54], {uri-issue}168[#168], {uri-issue}224[#224])
284
- * 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])
285
- * Asciidoctor 2.0 ready ({uri-issue}245[#245])
286
-
287
- Bug Fixes::
288
- * Reveal.js' `stretch` class now works with listing blocks ({uri-issue}195[#195], {uri-issue}223[#223])
289
- * Auto-generated slide IDs with unallowed characters (for revealjs history) now work properly.
290
- 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.
291
- ({uri-issue}192[#192], {uri-issue}232[#232])
292
-
293
- Infrastructure::
294
- * Travis testing prepared for upcoming Asciidoctor 2.0 ({uri-issue}216[#216])
295
- * Travis testing for Ruby 2.6 ({uri-issue}243[#243])
296
-
297
- === Release meta
298
-
299
- * Released on: 2019-02-28
300
- * Released by: Olivier Bilodeau
301
- * Release beer: President's Choice Blonde Brew De-alcoholized Beer (Sober February Successfully Completed!)
302
-
303
- {uri-repo}/releases/tag/v2.0.0[git tag] |
304
- {uri-repo}/compare/v1.1.3...v2.0.0[full diff] |
305
- {uri-repo}/milestone/6[milestone]
306
-
307
- === Credits
308
-
309
- Thanks to the following people who contributed to this release:
310
-
311
- a4z, Dan Allen, Guillaume Grossetie, Harald, Jakub Jirutka, Olivier Bilodeau, stevewillson, Vivien Didelot
312
-
313
-
314
- == 1.1.3 (2018-01-31)
315
-
316
- A repackage of 1.1.2 with a fix for Ruby 2.5 environments
317
-
318
- Bug fixes::
319
- * Worked around a problem in ruby-beautify with the compiled Slim template under Ruby 2.5
320
-
321
- === Release meta
322
-
323
- * Released on: 2018-01-31
324
- * Released by: Olivier Bilodeau
325
- * Release coffee: Santropol Dark Espresso
326
-
327
- {uri-repo}/releases/tag/v1.1.3[git tag] |
328
- {uri-repo}/compare/v1.1.2...v1.1.3[full diff]
329
-
330
- === Credits
331
-
332
- Thanks to the following people who contributed to this release:
333
-
334
- Jakub Jirutka, Olivier Bilodeau
335
-
336
-
337
- == 1.1.2 (2018-01-30)
338
-
339
- NOTE: No packaged version of this release were produced.
340
-
341
- A bugfix release due to a problem rendering tables using the Javascript /
342
- Node.js toolchain.
343
-
344
- Enhancements::
345
- * Documentation improvements ({uri-issue}181[#181])
346
-
347
- Bug fixes::
348
- * Fixed crash with presentations with a table used from Javascript/Node.js setup ({uri-issue}178[#178])
349
-
350
- === Release meta
351
-
352
- * Released on: 2018-01-30
353
- * Released by: Olivier Bilodeau
354
- * Release beer: A sad Belgian Moon in a Smoke Meat joint
355
-
356
- {uri-repo}/releases/tag/v1.1.2[git tag] |
357
- {uri-repo}/compare/v1.1.1...v1.1.2[full diff]
358
-
359
- === Credits
360
-
361
- Thanks to the following people who contributed to this release:
362
-
363
- Guillaume Grossetie, Tobias Placht, Olivier Bilodeau
364
-
365
-
366
- == 1.1.1 (2018-01-03)
367
-
368
- An emergency bugfix release due to a problem in the Ruby Gem package
369
-
370
- Enhancements::
371
- * Documentation improvements ({uri-issue}163[#163], {uri-issue}165[#165], {uri-issue}169[#169], {uri-issue}173[#173], {uri-issue}175[#175])
372
-
373
- Compliance::
374
- * Code listing callouts now work properly ({uri-issue}22[#22], {uri-issue}166[#166], {uri-issue}167[#167])
375
- * More source code listing examples and tests ({uri-issue}163[#163], {uri-issue}170[#170])
376
-
377
- Bug fixes::
378
- * The version 1.1.0 Ruby Gem was broken due to a packaging error ({uri-issue}172[#172])
379
-
380
- === Release meta
381
-
382
- * Released on: 2018-01-03
383
- * Released by: Olivier Bilodeau
384
- * Release beer: Croque-Mort Double IPA, À la fût
385
-
386
- {uri-repo}/releases/tag/v1.1.1[git tag] |
387
- {uri-repo}/compare/v1.1.0...v1.1.1[full diff] |
388
- {uri-repo}/milestone/5[milestone]
389
-
390
- === Credits
391
-
392
- Thanks to the following people who contributed to this release:
393
-
394
- Dietrich Schulten, Olivier Bilodeau
395
-
396
-
397
- == 1.1.0 (2017-12-25) - @obilodeau
398
-
399
- Enhancements::
400
- * Support for Reveal.JS 3.5.0+ ({uri-issue}146[#146], {uri-issue}151[#151])
401
- * Support for Asciidoctor 1.5.6 ({uri-issue}132[#132], {uri-issue}136[#136], {uri-issue}142[#142])
402
- * Support for Asciidoctor.js 1.5.6-preview.4 ({uri-issue}130[#130], {uri-issue}143[#143], {uri-issue}156[#156])
403
- * Compiling slim templates to Ruby allows us to drop Jade templates for Asciidoctor.js users
404
- ({uri-issue}63[#63], {uri-issue}131[#131])
405
- * Documentation polish ({uri-issue}153[#153], {uri-issue}158[#158] and more)
406
-
407
- Compliance::
408
- * 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
409
- ({uri-issue}63[#63], {uri-issue}131[#131])
410
-
411
- Bug fixes::
412
- * Reveal.js https://github.com/hakimel/reveal.js/#configuration[history feature] now works.
413
- We are working around Reveal.js' section id character limits.
414
- ({uri-issue}127[#127], {uri-issue}150[#150], https://github.com/hakimel/reveal.js/issues/1346[hakimel/reveal.js#1346])
415
-
416
- Infrastructure::
417
- * https://github.com/asciidoctor/asciidoctor-doctest[Asciidoctor-doctest] integration.
418
- This layer of automated testing should help prevent regressions and improve our development process.
419
- ({uri-issue}92[#92], {uri-issue}116[#116])
420
- * Travis-CI integration to automatically run doctests and examples AsciiDoc conversions
421
- * Travis-CI tests are triggered by changes done in Asciidoctor.
422
- We will detect upstream changes affecting us sooner.
423
- * Smoke tests for our Javascript / Node / Asciidoctor.js toolchain (integrated in Travis-CI also)
424
- * `npm run examples` will convert all examples using the Javascript / Node / Asciidoctor.js toolchain ({uri-issue}149[#149])
425
- * `rake examples:serve` will run a Web server from `examples/` so you can preview rendered examples ({uri-issue}154[#154])
426
-
427
- === Release meta
428
-
429
- {uri-repo}/releases/tag/v1.1.0[git tag] |
430
- {uri-repo}/compare/v1.0.4...v1.1.0[full diff]
431
-
432
- === Credits
433
-
434
- Thanks to the following people who contributed to this release:
435
-
436
- @jirutka, Dan Allen, Guillaume Grossetie, Jacob Aae Mikkelsen, Olivier Bilodeau, Rahul Somasunderam
437
-
438
-
439
- == 1.0.4 (2017-09-27) - @obilodeau
440
-
441
- Bug fixes::
442
- * Dependency problems leading to crashes when used from Asciidoctor.js ({uri-issue}145[#145])
443
-
444
- === Release meta
445
-
446
- {uri-repo}/releases/tag/v1.0.4[git tag] |
447
- {uri-repo}/compare/v1.0.3...v1.0.4[full diff]
448
-
449
- === Credits
450
-
451
- Thanks to the following people who contributed to this release:
452
-
453
- Olivier Bilodeau, Guillaume Grossetie
454
-
455
-
456
- == 1.0.3 (2017-08-28) - @obilodeau
457
-
458
- Enhancements::
459
- * Documentation improvements
460
-
461
- Compliance::
462
- * Added `data-state: title` to the title slide ({uri-issue}123[#123])
463
-
464
- Bug fixes::
465
- * Pinned Asciidoctor version requirement to 1.5.4 to avoid dealing with {uri-issue}132[#132] in the 1.0.x series
466
- * Fixed consistency issues with boolean values handling in revealjs settings ({uri-issue}125[#125])
467
-
468
- === Release meta
469
-
470
- {uri-repo}/releases/tag/v1.0.3[git tag] |
471
- {uri-repo}/compare/v1.0.2...v1.0.3[full diff]
472
-
473
- === Credits
474
-
475
- Thanks to the following people who contributed to this release:
476
-
477
- Dan Allen, nipa, Olivier Bilodeau, Pi3r
478
-
479
-
480
- == 1.0.2 (2016-12-22) - @obilodeau
481
-
482
- Enhancements::
483
- * Ruby back-end is now compiled in Javascript with Opal (#115)
484
- * Documentation improvements
485
-
486
- === Release meta
487
-
488
- {uri-repo}/issues?q=milestone%3A1.0.2[issues resolved] |
489
- {uri-repo}/releases/tag/v1.0.2[git tag] |
490
- {uri-repo}/compare/v1.0.1...v1.0.2[full diff]
491
-
492
- === Credits
493
-
494
- Thanks to the following people who contributed to this release:
495
-
496
- Dan Allen, Guillaume Grossetie, Olivier Bilodeau
497
-
498
-
499
- == 1.0.1 (2016-10-12) - @obilodeau
500
-
501
- Enhancements::
502
- * Documentation: aligned release process for both npm and ruby gems packages
503
- * npm package in sync with ruby gem
504
-
505
- === Release meta
506
-
507
- Released by @obilodeau
508
-
509
- {uri-repo}/issues?q=milestone%3A1.0.1[issues resolved] |
510
- {uri-repo}/releases/tag/v1.0.1[git tag] |
511
- {uri-repo}/compare/v1.0.0...v1.0.1[full diff]
512
-
513
- === Credits
514
-
515
- Thanks to the following people who contributed to this release:
516
-
517
- Olivier Bilodeau
518
-
519
-
520
- == 1.0.0 (2016-10-06) - @obilodeau
521
-
522
- 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.
523
-
524
- Enhancements::
525
- * Initial release
526
- * Ruby package (#93)
527
- * Node package (#95)
528
- * `:customcss:` attribute for easy per-presentation CSS (#85)
529
- * Video support improvements (#81)
530
- * Reveal.js `data-state` support (#61)
531
- * Subtitle partioning (#70)
532
- * Background image rework (#52)
533
- * `:imagesdir:` properly enforced (#17, #67)
534
-
535
- === Release meta
536
-
537
- Released by @obilodeau
538
-
539
- {uri-repo}/issues?q=milestone%3A1.0.0[issues resolved] |
540
- {uri-repo}/releases/tag/v1.0.0[git tag]
541
-
542
- === Credits
543
-
544
- Thanks to the following people who contributed to this release:
545
-
546
- 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