From d0470edc0cf0fb7f3eff248d1fa6a2123b96d84e Mon Sep 17 00:00:00 2001 From: Anton Shevchuk Date: Thu, 6 Jul 2023 17:33:13 +0200 Subject: [PATCH] Fixed small mistakes --- README.adoc | 17 +++++++++++++---- index.adoc | 18 ++---------------- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/README.adoc b/README.adoc index 581587d..b660651 100644 --- a/README.adoc +++ b/README.adoc @@ -1,8 +1,17 @@ -include::.settings.adoc[] +// List of the all options you can find here +// https://docs.asciidoctor.org/reveal.js-converter/latest/converter/revealjs-options/ +// favicon +:favicon: ./images/icons/icon.png +// use the local library, or you can switch to CDN +:revealjsdir: ./javascripts/reveal.js +// use custom NIX theme +:revealjs_customtheme: ./stylesheets/nix.css +// highlight js settings +:source-highlighter: highlightjs = Asciidoc: Presentation Engine -image::ape_logo.png[] +image::images/ape_logo.png[] == Getting started @@ -23,7 +32,7 @@ git clone https://gitlab.nixdev.co/js/edu/presentations/engine.git == Install dependencies -Installs the package and any packages that it depends on: +Install the package and any packages that it depends on: [source,bash] -- @@ -69,7 +78,7 @@ ln -s `pwd`/node_modules/reveal.js/ ./javascripts/reveal.js == Create presentation's slides -Create your presentation's slides uses https://docs.asciidoctor.org/[asciidoc] format with https://docs.asciidoctor.org/reveal.js-converter/latest/converter/features/[reveal.js features]. +Create your presentation slides uses https://docs.asciidoctor.org/[asciidoc] format with https://docs.asciidoctor.org/reveal.js-converter/latest/converter/features/[reveal.js features]. You can see our link:./example/index.adoc[presentation] for more examples of the slides. diff --git a/index.adoc b/index.adoc index 52ad178..8399f59 100644 --- a/index.adoc +++ b/index.adoc @@ -1,31 +1,17 @@ // List of the all options you can find here // https://docs.asciidoctor.org/reveal.js-converter/latest/converter/revealjs-options/ - -// locating docinfo files -:docinfodir: ./common // favicon :favicon: ./images/icons/icon.png -// you can switch to any theme from list https://highlightjs.org/static/demo/ -// just choose one from CDN here https://cdnjs.com/libraries/highlight.js -// :highlightjs-theme: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/foundation.min.css -// enable image-based icons -:icons: font -// images directory -:imagesdir: images // use the local library, or you can switch to CDN :revealjsdir: ./javascripts/reveal.js // use custom NIX theme -// or create your own theme https://github.com/hakimel/reveal.js/tree/4.5.0/css/theme :revealjs_customtheme: ./stylesheets/nix.css -:revealjs_hash: true -:revealjs_slideNumber: false -:revealjs_transition: fade // highlight js settings :source-highlighter: highlightjs = Asciidoc: Presentation Engine -image::ape_logo.png[width=200] +image::images/ape_logo.png[width=200] :author: JS/UI Team :description: Asciidoc Presentation Engine based on reveal.js @@ -38,7 +24,7 @@ include::.contents.adoc[] === Projects * link:https://github.com/asciidoctor[asciidoctor] text processor -* link:https://github.com/hakimel/reveal.js[reveal.js] the HTML presentation framework +* link:https://github.com/hakimel/reveal.js[reveal.js] HTML presentation framework * link:https://github.com/astefanutti/decktape[decktape] PDF exporter == πŸ‡ΊπŸ‡¦