From 73f44ea94119d12830a1346c96226d5a97940a7e Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 15 Apr 2024 21:42:06 +0200 Subject: [PATCH] Update doc for version 5.2 --- Rakefile | 1 + examples/release-5.2.adoc | 35 +++++++++++++++++++++++++++++++++++ src/index.html | 1 + 3 files changed, 37 insertions(+) create mode 100644 examples/release-5.2.adoc diff --git a/Rakefile b/Rakefile index 1ec2ef3a..2c575495 100644 --- a/Rakefile +++ b/Rakefile @@ -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 diff --git a/examples/release-5.2.adoc b/examples/release-5.2.adoc new file mode 100644 index 00000000..e618aab4 --- /dev/null +++ b/examples/release-5.2.adoc @@ -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)] diff --git a/src/index.html b/src/index.html index 7c2190df..200d937d 100644 --- a/src/index.html +++ b/src/index.html @@ -21,6 +21,7 @@