Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit e1d5ce5d authored by Marc's avatar Marc
Browse files

feat: exemples asciidoctor pour démarrer

parent c5294072
No related branches found
No related tags found
No related merge requests found
Pipeline #34838 passed
......@@ -7,5 +7,5 @@ npm run build
```
```shell
bundle exec asciidoctor-revealjs -a revealjsdir=reveal.js presentation.adoc --destination-dir public --out-file index.html
```
\ No newline at end of file
bundle exec asciidoctor-revealjs --attribute revealjsdir=reveal.js public/presentation.adoc --destination-dir public --out-file index.html
```
fsddsf
fds
sfd
dsf
dsf
\ No newline at end of file
public/images/exemple_image.png

533 B

......@@ -415,7 +415,13 @@ ul.byline li + li {
}
</style></head><body><div class="reveal"><div class="slides"><section class="title" data-state="title"><h1>test</h1><p class="byline">
<span class="author">Marc Bouvier • u.baldir.fr/me</span>
</p></section><section><section id="_polop"><h2>Polop</h2></section><section id="_foo"><h2>Foo</h2></section><section id="_bar"><h2>Bar</h2></section></section>
</p></section><section><section id="_inclusion"><h2>Inclusion</h2><div class="slide-content"><div class="paragraph"><p>Exemple d&#8217;inclusion</p></div><div class="listingblock"><div class="content"><pre class="highlight"><code>fsddsf
fds
sfd
dsf
dsf</code></pre></div></div></div></section><section id="_image"><h2>Image</h2><div class="slide-content"><div class="paragraph"><p>Exemple d&#8217;image</p></div>
<div class="imageblock"><img src="images/exemple_image.png" alt="exemple image"></div></div></section><section id="_tableau"><h2>Tableau</h2><div class="slide-content"><table class="tableblock frame-all grid-all" style="width:100%"><colgroup><col style="width:50%"><col style="width:50%"></colgroup><thead><tr><th class="tableblock halign-left valign-top">Header Cell 1</th><th class="tableblock halign-left valign-top">Header Cell 2</th></tr><tbody><tr><td class="tableblock halign-left valign-top"><p class="tableblock">Row 1 Cell 1</p></td><td class="tableblock halign-left valign-top"><p class="tableblock">Row 1 Cell 2</p></td></tr><tr><td class="tableblock halign-left valign-top"><p class="tableblock">Row 2 Cell 1</p></td><td class="tableblock halign-left valign-top"><p class="tableblock">Row 2 Cell 2</p></td></tr></table></div></section></section>
<section><section id="_pulip"><h2>Pulip</h2></section><section id="_baz"><h2>Baz</h2></section></section>
<section id="_pelep"><h2>Pelep</h2></section></div></div><script src="reveal.js/dist/reveal.js"></script><script>Array.prototype.slice.call(document.querySelectorAll('.slides section')).forEach(function(slide) {
if (slide.getAttribute('data-background-color')) return;
......
......@@ -4,6 +4,7 @@
:version-label: v0.1
:date: {localdate}
:copyright: CC-BY-4.0
:imagesdir: images
:revealjsdir: reveal.js
:revealjs_totalTime: 1800
:revealjs_hash: true
......@@ -11,22 +12,48 @@
// :customcss: css/presentation.css
// :source-highlighter: highlightjs
// :docinfo: private
// :assetsdir: {docdir}/assets
// :assetsdir: {outdir}/assets/
// :sectionsdir: {docdir}/sections
:revealjs_theme: white
:revealjs_transition: none
:highlightjs-theme: reveal.js/plugin/highlight/a11y-light.css
== Polop
== Inclusion
Exemple d'inclusion
[source]
----
include::exemples/test.txt[]
----
=== Image
Exemple d'image
image::exemple_image.png[]
=== Tableau
|===
| Header Cell 1 | Header Cell 2
| Row 1 Cell 1
| Row 1 Cell 2
| Row 2 Cell 1
| Row 2 Cell 2
|===
=== Foo
=== Bar
== Pulip
=== Baz
== Pelep
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment