Skip to content

Commit

Permalink
Update doc for version 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ibethus committed Apr 15, 2024
1 parent cbf779e commit 73f44ea
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ namespace :examples do
FileUtils.cp 'examples/a11y-dark.css', "#{PUBLIC_DIR}/a11y-dark.css"
FileUtils.cp 'examples/release-5.1.html', "#{PUBLIC_DIR}/release-5.1.html"
FileUtils.cp 'examples/release-5.1.css', "#{PUBLIC_DIR}/release-5.1.css"
FileUtils.cp 'examples/release-5.2.html', "#{PUBLIC_DIR}/release-5.2.html"
end
end

Expand Down
35 changes: 35 additions & 0 deletions examples/release-5.2.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
= Asciidoctor reveal.js 5.2
//:stem:
:source-highlighter: highlight.js
:highlightjs-theme: a11y-dark.css
:highlightjs-languages: asciidoc
:icons: font
:imagesdir: images/
// reveal.js config
:customcss: release-5.1.css
:revealjs_theme: moon
:revealjs_hash: true
:revealjs_width: 1080

== New Features icon:rocket[set=fas]

== Iterating through callouts
[source, javascript]
----
let a = 2; <1>
let b = 3; <2>
console.log(a+b); <3>
----
[%step]
<1> It is now possible to iterate through callout lists...
<2> using the `%step` attribute...
<3> to explain code more easily !

[transition=fade,transition-speed=slow]
== Learn More!

* https://github.com/asciidoctor/asciidoctor-reveal.js/[Asciidoctor reveal.js]
* https://revealjs.com[reveal.js]
* https://github.com/asciidoctor/asciidoctor/[Asciidoctor]
* https://asciidoc.org/[What is AsciiDoc?]
* https://github.com/asciidoctor/asciidoctor-reveal.js/raw/master/examples/release-5.1.adoc[Source of this presentation (AsciiDoc)]
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ <h1 class="title">
<div class="container">
<div class="content">
<ul>
<li><a href="./release-5.2.html">Asciidoctor reveal.js 5.2</a></li>
<li><a href="./release-5.1.html">Asciidoctor reveal.js 5.1</a></li>
<li><a href="./release-4.1.html">Asciidoctor reveal.js 4.1</a></li>
<li><a href="./release-4.0.html">Asciidoctor reveal.js 4.0</a></li>
Expand Down

0 comments on commit 73f44ea

Please sign in to comment.