asciidoctor-revealjs 3.0.0.pre.rc1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfd55df0c713f375e7f6512d1390b06347a742d00eb35cbbc39298de6680cfe3
4
- data.tar.gz: 397f8663b1586aa46990f18d21821722762aab12ffb688b1bfa81558c9a2c9e4
3
+ metadata.gz: 2339f9a2b0d41e0d60f1b93c165ac143f93a093687d0006986039b7d75a4b864
4
+ data.tar.gz: 52ba202bef3578b773faaea1b0a5ccca9491b2350237916c41cd32bff1a0e0ff
5
5
  SHA512:
6
- metadata.gz: a7ab85893e595375c5ef70bccb4439c4ee159282ba2515931ed55948f92f1b2300a1f5fbe305cbc392531e11f991cb5fbd0a47ee8fcab8e0cb7c80081c1954a9
7
- data.tar.gz: 3a034c9c4a4f4e08ac1e9958d417bd9fe6aa50b5ee50ff2334f86bfff85e0b7f1dad630c1c546bcb8f56573032e52554a4245e9995af97cdc744fdb9df8feb43
6
+ metadata.gz: 40df2ec1142b6fd602e8cadbaefd17452d455226a75dc41fab9040c97870111155a06dbc788aa219d9034b6ac8e64f856697f35cf8dd6bc7c13cea66fd66de46
7
+ data.tar.gz: 06a6e6d0f534404c15d30898f0740afc033a274b625786e8c01155919f584c6ae55482af04765b48d303c9f3d03681cce1cd2d7ac59655a93921f1dd3b3ddd44
@@ -6,7 +6,17 @@
6
6
  This document provides a high-level view of the changes introduced in {project-name} by release.
7
7
  For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
8
8
 
9
- == master (unreleased)
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.
10
20
 
11
21
  Upgrade considerations::
12
22
  * Node.js packaging changes!
@@ -36,19 +46,22 @@ Use:
36
46
 
37
47
  Compliance::
38
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])
39
50
  * Added support for Reveal.js data-background-opacity ({uri-issue}269[#269])
40
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])
41
53
 
42
54
  Enhancements::
43
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])
44
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])
45
58
  * Added support for Reveal.js PDF export options ({uri-issue}277[#277])
46
59
  * Upgraded to Font-Awesome 5.8.2 ({uri-issue}268[#268])
47
60
  * 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])
61
+ * Babel integration example API updated to use {project-name} current API ({uri-issue}285[#285], {uri-issue}298[#298])
49
62
  * Node.js package clean-ups ({uri-issue}279[#279], {uri-issue}281[#281], {uri-issue}282[#282])
50
63
  * Upgrade Opal to use a compatible version with Asciidoctor.js 2.0.3 ({uri-issue}289[#289])
51
- * Documentation improvements ({uri-issue}292[#292])
64
+ * Documentation improvements ({uri-issue}292[#292], {uri-issue}302[#302])
52
65
  * Improvements to tests ({uri-issue}294[#294])
53
66
 
54
67
  Bug Fixes::
@@ -57,6 +70,22 @@ Bug Fixes::
57
70
  Infrastructure::
58
71
  * Updated Travis' JRuby to fix issues with bundler ({uri-issue}295[#295])
59
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
+
60
89
 
61
90
  == 2.0.1 (2019-12-04)
62
91
 
@@ -207,12 +207,14 @@ Well, for most people.
207
207
 
208
208
  === Work-in-progress pull-requests
209
209
 
210
- If you prepend "WIP" in front of your pull request we will understand that it is not complete and we will not merge it before you remove the WIP string.
210
+ Letting know to the maintainers that you are working on a feature or a fix is useful.
211
+ Early communication often times save time consuming mistakes or avoids duplicated effort.
212
+ We encourage contributors to communicate with us early.
211
213
 
212
- This is useful to let people know that you are working on stuff.
213
- Branches are not that visible otherwise but pull requests are.
214
+ Branches on forks of this project are not very visible to maintainers as much as pull requests (PR).
215
+ For this reason we used to recommend sending a PR even if it's not ready and prepend "WIP" in front of its name to let everyone see that you are working on a specific topic.
216
+ Now, instead of prepending "WIP", we recommend using GitHub "draft pull request" feature instead.
214
217
 
215
- You might even be able to get some feedback early which could save you some time.
216
218
 
217
219
  === 'needs review' label
218
220
 
@@ -244,13 +246,34 @@ NOTE: The relative portion of the last command is where you are installing the l
244
246
 
245
247
  Then proceed as documented in the `README.adoc`.
246
248
 
247
- === Upgrade Asciidoctor.js version
249
+ [[node-binary-compatibility]]
250
+ === Binary package compatibility with Asciidoctor.js
251
+
252
+ Asciidoctor.js is source-to-source compiled into JavaScript from Ruby using Opal.
253
+ The JavaScript generated requires a specific version of the Opal-runtime for it to work with Node.js.
254
+ This project is source-to-source compiled into JavaScript from Ruby using Opal too.
255
+ In order for Asciidoctor.js to be able to call code from this converter, the versions of Opal (both runtime and compiler) must be compatible.
256
+ Right now we track the exact git revision of Opal used by Asciidoctor.js and make sure that we match.
257
+ Here is how:
248
258
 
249
- WARNING: It is important to track `Asciidoctor.js` and `opal` versions together.
250
- The `opal` used to compile our node package must match `asciidoctor.js`'s `opal` requirement.
251
- The former is specified in our `package.json` and the latter in the `asciidoctor-revealjs.gemspec`.
252
- When you update one remember to update the other.
253
259
  Versions known to work together can be found by looking at the Asciidoctor.js release notes, just replace <tag> with the `asciidoctor.js` release you are interested in: https://github.com/asciidoctor/asciidoctor.js/releases/tag/<tag>.
260
+ Then that Opal version and git revision (if required) must be specified in `asciidoctor-revealjs.gemspec`.
261
+
262
+ Starting with 3.0.0 we aim to retain binary compatibility between Asciidoctor.js and Asciidoctor-reveal.js.
263
+ This should allow other Asciidoctor extensions to be called along with this converter.
264
+ Asciidoctor.js is no longer a direct dependency but should be seen as a tool that powers this converter.
265
+ We need to allow users to have flexibility in the version they choose to run.
266
+ Asciidoctor.js maintainer told us that he is going to consider binary package incompatibility a major break and so we adjusted our README to tell users to install with a specific version range.
267
+
268
+ We will track and maintain the README on the major version supported and recommended:
269
+
270
+ * In the link:README.adoc#node-install[version range to install by default] for a given release (and on master)
271
+ * In the link:README.adoc#asciidoctorjs-compatibility-matrix[compatibility matrix]
272
+
273
+ See https://github.com/asciidoctor/asciidoctor-reveal.js/issues/187#issuecomment-570771473[this issue] for background details on that topic.
274
+
275
+ Asciidoctor.js versioning policy is https://asciidoctor-docs.netlify.com/asciidoctor.js/project/version-and-lifecycle-policies/[available here].
276
+
254
277
 
255
278
  == RubyGem package
256
279
 
@@ -273,6 +296,21 @@ Then run:
273
296
 
274
297
  == Release process
275
298
 
299
+
300
+ . Do we need to do anything regarding our Opal dependency and Asciidoctor.js?
301
+ See <<node-binary-compatibility,our section on the topic>>.
302
+ . Update dependencies and test the package in both languages
303
+ +
304
+ bundle update
305
+ bundle exec rake build
306
+ bundle exec rake doctest
307
+ bundle exec rake examples:convert
308
+ npm update --no-save
309
+ bundle exec rake build:js
310
+ npm test
311
+ npm run examples
312
+
313
+ . Commit the updated dependencies
276
314
  . Update the version in `lib/asciidoctor-revealjs/version.rb` and `package.json`
277
315
  . Update the changelog
278
316
  ** Generate author list with:
@@ -280,14 +318,23 @@ Then run:
280
318
  git log <prev-version-tag>.. --format="%aN" --reverse | perl -e 'my %dedupe; while (<STDIN>) { print unless $dedupe{$_}++}' | sort
281
319
 
282
320
  . Prepare release commit
321
+ ** Add the "Slim compiled to Ruby" converter to the git tree (otherwise ignored to avoid noise to the repo)
322
+ +
323
+ bundle exec rake build
324
+ git add -f lib/asciidoctor-revealjs/converter.rb
325
+
283
326
  ** commit msg: Prepare %version% release
284
327
  ** release commit (--allow-empty) msg: Release %version%
285
328
  . Tag the release commit
286
329
  ** Annotated Tag msg: Version %version%
287
330
  . Push your changes (including the tag)
288
331
  . Make a release on github (from changelog and copy from previous releases)
289
- // TODO: reg needs fixin'
290
- ** Useful vim regex for AsciiDoc to Markdown: `:%s/{uri-issue}\d\+\(\(\[#\d\+\)]\)/\1(https:\/\/github.com\/asciidoctor\/asciidoctor-reveal.js\/issues\/\2)/gc`
332
+ ** Useful vim regex for AsciiDoc to Markdown:
333
+ +
334
+ :%s/{uri-issue}\(\d\+\)\[#\d\+]/#\1/gc
335
+ :%s/{project-name}/asciidoctor-reveal.js/gc
336
+ :%s/\(.*\)::/### \1/gc
337
+
291
338
  . Pushing the gem on rubygems.org:
292
339
  +
293
340
  $ bundle exec rake build
@@ -299,16 +346,12 @@ Then run:
299
346
  +
300
347
  $ bundle exec rake build:js
301
348
 
302
- . Test the node package (make sure you have `devDependencies` installed with: `npm install`):
303
- +
304
- $ npm run test
305
-
306
349
  . Publish the node package on npm:
307
350
  +
308
351
  $ npm login # only required if not already authenticated
309
352
  $ npm publish
310
353
 
311
- . Check that the new version is available on https://www.npmjs.com/package/asciidoctor-reveal.js[npmjs.com]
354
+ . Check that the new version is available on https://www.npmjs.com/package/@asciidoctor/reveal.js[npmjs.com]
312
355
  . Update version in `lib/asciidoctor-revealjs/version.rb` and `package.json` (+1 bugfix and append '-dev') and commit
313
356
  ** commit msg: Begin development on next release
314
357
  . Submit a PR upstream to sync the documentation on asciidoctor.org
@@ -134,6 +134,7 @@ TIP: If you are using https://pages.github.com/[GitHub Pages], plan ahead by kee
134
134
 
135
135
  First you must install and configure {uri-nodejs-download}[Node] on your machine.
136
136
 
137
+ [[node-install]]
137
138
  === Install
138
139
 
139
140
  We recommend to install the dependencies in a project directory, such as the directory where your AsciiDoc presentations are stored.
@@ -143,7 +144,7 @@ If you don't have a `package.json` file in your project directory, you can creat
143
144
 
144
145
  You can now install the dependencies:
145
146
 
146
- $ npm i --save asciidoctor @asciidoctor/reveal.js
147
+ $ npm i --save asciidoctor@^2.0 @asciidoctor/reveal.js
147
148
 
148
149
  === Convert AsciiDoc into slides
149
150
 
@@ -1004,6 +1005,30 @@ If you need more details about our dependencies check out Asciidoctor dependenci
1004
1005
  * With Ruby / Bundler: https://github.com/asciidoctor/asciidoctor/tree/v2.0.10#requirements[Asciidoctor] 2.0.10
1005
1006
  * With JavaScript (Node.js) / NPM: https://github.com/asciidoctor/asciidoctor.js/blob/v2.0.3/packages/core/package.json[Asciidoctor.js] 2.0.3
1006
1007
 
1008
+ [[asciidoctorjs-compatibility-matrix]]
1009
+ == Asciidoctor.js Compatibility Matrix
1010
+
1011
+ NOTE: This section is intended only for more advanced users who combine extensions or maintain slide decks over many releases and need to update their dependencies.
1012
+
1013
+ Due to our Ruby to JavaScript conversion process, published npm packages have strict requirements with which version of Asciidoctor.js they are compatible with.
1014
+ This table tracks this compatibility.
1015
+
1016
+ |===
1017
+ |Asciidoctor-reveal.js version |Asciidoctor.js version
1018
+
1019
+ |3.x
1020
+ |2.x
1021
+
1022
+ |2.x
1023
+ |1.5.9
1024
+
1025
+ |1.1.x
1026
+ |1.5.6-preview.4
1027
+ |===
1028
+
1029
+ Be aware that it is always possible to recompile the converter into JavaScript from source so compatibility can be created by anyone if needed.
1030
+ More details on that topic can be found link:HACKING.adoc#node-binary-compatibility[in the development guide].
1031
+
1007
1032
 
1008
1033
  == Showcase Presentations
1009
1034
 
@@ -347,7 +347,7 @@ class Asciidoctor::Revealjs::Converter < ::Asciidoctor::Converter::Base
347
347
  node.extend(Helpers)
348
348
  node.instance_eval do
349
349
  converter.set_local_variables(binding, opts) unless opts.empty?
350
- _buf = ''; _buf << ("<!--This CSS is generated by the Asciidoctor-Reveal.js converter to further integrate AsciiDoc's existing semantic with Reveal.js--><style type=\"text/css\">.reveal div.right {\n float: right;\n}\n\n.reveal .listingblock.stretch > .content {\n height: 100%;\n}\n\n.reveal .listingblock.stretch > .content > pre {\n height: 100%;\n}\n\n.reveal .listingblock.stretch > .content > pre > code {\n height: 100%;\n max-height: 100%;\n}\n\n/* tables */\ntable{border-collapse:collapse;border-spacing:0}\ntable{margin-bottom:1.25em;border:solid 1px #dedede}\ntable thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;text-align:left}\ntable tr th,table tr td{padding:.5625em .625em;font-size:inherit}\ntable thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}\ntd.tableblock>.content{margin-bottom:1.25em}\ntd.tableblock>.content>:last-child{margin-bottom:-1.25em}\ntable.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}\ntable.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0}\ntable.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0}\ntable.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0}\ntable.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}\ntable.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}\ntable.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}\ntable.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}\ntable.frame-all{border-width:1px}\ntable.frame-sides{border-width:0 1px}\ntable.frame-topbot,table.frame-ends{border-width:1px 0}\n.reveal table th.halign-left,.reveal table td.halign-left{text-align:left}\n.reveal table th.halign-right,.reveal table td.halign-right{text-align:right}\n.reveal table th.halign-center,.reveal table td.halign-center{text-align:center}\n.reveal table th.valign-top,.reveal table td.valign-top{vertical-align:top}\n.reveal table th.valign-bottom,.reveal table td.valign-bottom{vertical-align:bottom}\n.reveal table th.valign-middle,.reveal table td.valign-middle{vertical-align:middle}\ntable thead th,table tfoot th{font-weight:bold}\ntbody tr th{display:table-cell;line-height:1.6}\ntbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{font-weight:bold}\nthead{display:table-header-group}\n\n.reveal table.grid-none th,.reveal table.grid-none td{border-bottom:0!important}\n\n/* callouts */\n.conum[data-value] {display:inline-block;color:#fff!important;background-color:rgba(50,150,50,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:\"Open Sans\",\"DejaVu Sans\",sans-serif;font-style:normal;font-weight:bold}\n.conum[data-value] *{color:#fff!important}\n.conum[data-value]+b{display:none}\n.conum[data-value]:after{content:attr(data-value)}\npre .conum[data-value]{position:relative;top:-.125em}\nb.conum *{color:inherit!important}\n.conum:not([data-value]):empty{display:none}</style>".freeze);
350
+ _buf = ''; _buf << ("<!--This CSS is generated by the Asciidoctor-Reveal.js converter to further integrate AsciiDoc's existing semantic with Reveal.js--><style type=\"text/css\">.reveal div.right {\n float: right;\n}\n\n.reveal .listingblock.stretch > .content {\n height: 100%;\n}\n\n.reveal .listingblock.stretch > .content > pre {\n height: 100%;\n}\n\n.reveal .listingblock.stretch > .content > pre > code {\n height: 100%;\n max-height: 100%;\n}\n\n/* tables */\ntable{border-collapse:collapse;border-spacing:0}\ntable{margin-bottom:1.25em;border:solid 1px #dedede}\ntable thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;text-align:left}\ntable tr th,table tr td{padding:.5625em .625em;font-size:inherit}\ntable thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}\ntd.tableblock>.content{margin-bottom:1.25em}\ntd.tableblock>.content>:last-child{margin-bottom:-1.25em}\ntable.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}\ntable.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0}\ntable.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0}\ntable.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0}\ntable.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}\ntable.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}\ntable.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}\ntable.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}\ntable.frame-all{border-width:1px}\ntable.frame-sides{border-width:0 1px}\ntable.frame-topbot,table.frame-ends{border-width:1px 0}\n.reveal table th.halign-left,.reveal table td.halign-left{text-align:left}\n.reveal table th.halign-right,.reveal table td.halign-right{text-align:right}\n.reveal table th.halign-center,.reveal table td.halign-center{text-align:center}\n.reveal table th.valign-top,.reveal table td.valign-top{vertical-align:top}\n.reveal table th.valign-bottom,.reveal table td.valign-bottom{vertical-align:bottom}\n.reveal table th.valign-middle,.reveal table td.valign-middle{vertical-align:middle}\ntable thead th,table tfoot th{font-weight:bold}\ntbody tr th{display:table-cell;line-height:1.6}\ntbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{font-weight:bold}\nthead{display:table-header-group}\n\n.reveal table.grid-none th,.reveal table.grid-none td{border-bottom:0!important}\n\n/* callouts */\n.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:50%;border-radius:50%;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:\"Open Sans\",\"DejaVu Sans\",sans-serif;font-style:normal;font-weight:bold}\n.conum[data-value] *{color:#fff!important}\n.conum[data-value]+b{display:none}\n.conum[data-value]::after{content:attr(data-value)}\npre .conum[data-value]{position:relative;top:-.125em}\nb.conum *{color:inherit!important}\n.conum:not([data-value]):empty{display:none}</style>".freeze);
351
351
  ;
352
352
  ;
353
353
  ;
@@ -591,7 +591,7 @@ class Asciidoctor::Revealjs::Converter < ::Asciidoctor::Converter::Base
591
591
  ; _buf << ("<link rel=\"stylesheet\"".freeze); _slim_codeattributes4 = (attr :revealjs_customtheme); if _slim_codeattributes4; if _slim_codeattributes4 == true; _buf << (" href".freeze); else; _buf << (" href=\"".freeze); _buf << ((_slim_codeattributes4).to_s); _buf << ("\"".freeze); end; end; _buf << (" id=\"theme\">".freeze);
592
592
  ; else;
593
593
  ; _buf << ("<link rel=\"stylesheet\" href=\"".freeze); _buf << ((revealjsdir).to_s); _buf << ("/css/theme/".freeze); _buf << ((attr 'revealjs_theme', 'black').to_s); _buf << (".css\" id=\"theme\">".freeze);
594
- ; end; _buf << ("<!--This CSS is generated by the Asciidoctor-Reveal.js converter to further integrate AsciiDoc's existing semantic with Reveal.js--><style type=\"text/css\">.reveal div.right {\n float: right;\n}\n\n.reveal .listingblock.stretch > .content {\n height: 100%;\n}\n\n.reveal .listingblock.stretch > .content > pre {\n height: 100%;\n}\n\n.reveal .listingblock.stretch > .content > pre > code {\n height: 100%;\n max-height: 100%;\n}\n\n/* tables */\ntable{border-collapse:collapse;border-spacing:0}\ntable{margin-bottom:1.25em;border:solid 1px #dedede}\ntable thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;text-align:left}\ntable tr th,table tr td{padding:.5625em .625em;font-size:inherit}\ntable thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}\ntd.tableblock>.content{margin-bottom:1.25em}\ntd.tableblock>.content>:last-child{margin-bottom:-1.25em}\ntable.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}\ntable.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0}\ntable.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0}\ntable.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0}\ntable.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}\ntable.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}\ntable.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}\ntable.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}\ntable.frame-all{border-width:1px}\ntable.frame-sides{border-width:0 1px}\ntable.frame-topbot,table.frame-ends{border-width:1px 0}\n.reveal table th.halign-left,.reveal table td.halign-left{text-align:left}\n.reveal table th.halign-right,.reveal table td.halign-right{text-align:right}\n.reveal table th.halign-center,.reveal table td.halign-center{text-align:center}\n.reveal table th.valign-top,.reveal table td.valign-top{vertical-align:top}\n.reveal table th.valign-bottom,.reveal table td.valign-bottom{vertical-align:bottom}\n.reveal table th.valign-middle,.reveal table td.valign-middle{vertical-align:middle}\ntable thead th,table tfoot th{font-weight:bold}\ntbody tr th{display:table-cell;line-height:1.6}\ntbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{font-weight:bold}\nthead{display:table-header-group}\n\n.reveal table.grid-none th,.reveal table.grid-none td{border-bottom:0!important}\n\n/* callouts */\n.conum[data-value] {display:inline-block;color:#fff!important;background-color:rgba(50,150,50,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:\"Open Sans\",\"DejaVu Sans\",sans-serif;font-style:normal;font-weight:bold}\n.conum[data-value] *{color:#fff!important}\n.conum[data-value]+b{display:none}\n.conum[data-value]:after{content:attr(data-value)}\npre .conum[data-value]{position:relative;top:-.125em}\nb.conum *{color:inherit!important}\n.conum:not([data-value]):empty{display:none}</style>".freeze);
594
+ ; end; _buf << ("<!--This CSS is generated by the Asciidoctor-Reveal.js converter to further integrate AsciiDoc's existing semantic with Reveal.js--><style type=\"text/css\">.reveal div.right {\n float: right;\n}\n\n.reveal .listingblock.stretch > .content {\n height: 100%;\n}\n\n.reveal .listingblock.stretch > .content > pre {\n height: 100%;\n}\n\n.reveal .listingblock.stretch > .content > pre > code {\n height: 100%;\n max-height: 100%;\n}\n\n/* tables */\ntable{border-collapse:collapse;border-spacing:0}\ntable{margin-bottom:1.25em;border:solid 1px #dedede}\ntable thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;text-align:left}\ntable tr th,table tr td{padding:.5625em .625em;font-size:inherit}\ntable thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}\ntd.tableblock>.content{margin-bottom:1.25em}\ntd.tableblock>.content>:last-child{margin-bottom:-1.25em}\ntable.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}\ntable.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0}\ntable.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0}\ntable.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0}\ntable.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}\ntable.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}\ntable.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}\ntable.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}\ntable.frame-all{border-width:1px}\ntable.frame-sides{border-width:0 1px}\ntable.frame-topbot,table.frame-ends{border-width:1px 0}\n.reveal table th.halign-left,.reveal table td.halign-left{text-align:left}\n.reveal table th.halign-right,.reveal table td.halign-right{text-align:right}\n.reveal table th.halign-center,.reveal table td.halign-center{text-align:center}\n.reveal table th.valign-top,.reveal table td.valign-top{vertical-align:top}\n.reveal table th.valign-bottom,.reveal table td.valign-bottom{vertical-align:bottom}\n.reveal table th.valign-middle,.reveal table td.valign-middle{vertical-align:middle}\ntable thead th,table tfoot th{font-weight:bold}\ntbody tr th{display:table-cell;line-height:1.6}\ntbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{font-weight:bold}\nthead{display:table-header-group}\n\n.reveal table.grid-none th,.reveal table.grid-none td{border-bottom:0!important}\n\n/* callouts */\n.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:50%;border-radius:50%;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:\"Open Sans\",\"DejaVu Sans\",sans-serif;font-style:normal;font-weight:bold}\n.conum[data-value] *{color:#fff!important}\n.conum[data-value]+b{display:none}\n.conum[data-value]::after{content:attr(data-value)}\npre .conum[data-value]{position:relative;top:-.125em}\nb.conum *{color:inherit!important}\n.conum:not([data-value]):empty{display:none}</style>".freeze);
595
595
  ;
596
596
  ;
597
597
  ;
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Revealjs
3
- VERSION = '3.0.0-rc1'
3
+ VERSION = '3.0.0'
4
4
  end
5
5
  end
@@ -50,10 +50,10 @@ css:
50
50
  .reveal table.grid-none th,.reveal table.grid-none td{border-bottom:0!important}
51
51
 
52
52
  /* callouts */
53
- .conum[data-value] {display:inline-block;color:#fff!important;background-color:rgba(50,150,50,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
53
+ .conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:50%;border-radius:50%;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
54
54
  .conum[data-value] *{color:#fff!important}
55
55
  .conum[data-value]+b{display:none}
56
- .conum[data-value]:after{content:attr(data-value)}
56
+ .conum[data-value]::after{content:attr(data-value)}
57
57
  pre .conum[data-value]{position:relative;top:-.125em}
58
58
  b.conum *{color:inherit!important}
59
59
  .conum:not([data-value]):empty{display:none}
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: 3.0.0
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-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -372,9 +372,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
372
372
  version: '0'
373
373
  required_rubygems_version: !ruby/object:Gem::Requirement
374
374
  requirements:
375
- - - ">"
375
+ - - ">="
376
376
  - !ruby/object:Gem::Version
377
- version: 1.3.1
377
+ version: '0'
378
378
  requirements: []
379
379
  rubygems_version: 3.0.6
380
380
  signing_key: