= Title Slide
== Slide One
* Foo
* Bar
* World
== Slide Two
A Great Story
[.notes]
--
* tell anecdote
--author name
use the arrows keys to navigate between the slides
press the S key to open the speaker view
press the O key to overview the presentation’s slides
press the F key for full screen
press the Shift + ? to show the keyboard shortcuts
= Title Slide
== Slide One
* Foo
* Bar
* World
== Slide Two
A Great Story
[.notes]
--
* tell anecdote
--Use === Header for vertical slides.
== Vertical slides
Content
=== Vertical sub slide 1
Content
=== Vertical sub slide 2
ContentVertical sub slide 1 will be rendered vertically below Vertical slides
Vertical sub slide 2 will be rendered vertically below Vertical sub slide 1
No title slide
== !
This
[%notitle]
== Presentation
presentation's titles
[%conceal]
== Concealed
should be concealedParagraphs don’t require any special markup in AsciiDoc. A paragraph is just one or more lines of consecutive text.
To begin a new paragraph, separate it by at least one empty line from the previous paragraph or block.
Text Formatting bold text and italic.
Underline text and text
Some text or code highlight
Some link example or auto convert http://link.to.site.com
**bold**
_italic_
[.underline]#text#
[.line-through]#text#
`highlight code`
https://google.com[link]Use tilde ~ for subscript
Use caret ^ for superscript
[.small] for smaller text size.~subscript~
^superscript^
[.small]
Small text will be hereText alignment of columns and blocks is also supported.
You can use .has-text-left
.has-text-right classes for align content
Or .has-text-justified lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
List example:
Few
Bullets
Here
* Unordered list item
* Unordered list item
* Unordered list itemNumber the items:
One
Two
Three
. Number list item
. Number list item
. Number list itemgrandparent list item
parent list item
child list item
paragraph attached to grandparent list item
* grandparent list item
+
--
** parent list item
*** child list item
--
+
paragraph attached to grandparent list itemClone the repo
Install dependencies
Build it and check it locally
- [ ] Checkbox
- [x] Checkbox checkedUse [source] block for highlight a code.
.The title (optional)
[source,javascript]
----
const ingredients = [ "lemon", "tomato", "salt", "potato"];
for (const key in ingredients) {
console.log( ingredients[key] );
}
----By default, [source] blocks and blocks delimited by ---- will be highlighted.
Also, you can use marks inside a code: <1>, <2>, etc.
for (let i = 0; i < 9; i++) { (1)
console.log(i); (2)
}| 1 | The for loop |
| 2 | Just a console call |
[source,javascript]
--
for (let i = 0; i < 9; i++) { <1>
console.log(i); <2>
}
--
<1> The `for` loop
<2> Just a `console` callLine Numbers & Highlights for source code blocks
<table>
<tr>
<td>Apples</td>
<td>$1</td>
<td>7</td>
</tr>
<tr>
<td>Oranges</td>
<td>$2</td>
<td>18</td>
</tr>
</table>[source,html,linenums,highlight="3,8-10"]
----
<table>
...
</table>
----This is the build-in plugin, just enable it and use.
:stem:Water (\$H_2O\$) is a critical component.
A matrix can be written as \$[[a,b],[c,d]]((n),(k))\$.
:stem:
[stem]
++++
sqrt(4) = 2
++++
Water (stem:[H_2O]) is a critical component.
A matrix can be written as stem:[[[a,b\],[c,d\]\]((n),(k))].Main text is here.
And here…
[sidebar]
Sidebars are used to visually separate auxiliary bits of content that supplement the main text.The AsciiDoc language provides five admonition types represented by the following labels:
NOTE
TIP
IMPORTANT
CAUTION
WARNING
| Note to yourself. |
| You can warm up food with fire. |
| Fire can be dangerous. |
| Be careful with it! |
| Run, if you want to live! |
NOTE: Note to yourselfYou can use
icon:<target>[<attrlist>]ruby, asciidoctor
icon:heart[2x,role=red]
icon:tags[] ruby, asciidoctorphp
ruby
Dennis: Come and see the violence inherent in the system. Help! Help! I’m being repressed!
King Arthur: Bloody peasant!
Dennis: Oh, what a giveaway! Did you hear that? Did you hear that, eh? That’s what I’m on about! Did you see him repressing me? You saw him, Didn’t you?
What’s new?
I’ve got Markdown in my AsciiDoc!
> > What's new?
>
> I've got Markdown in my AsciiDoc!What is the answer?
This is the answer.
Are cameras allowed?
Are backpacks allowed?
No.
[qanda]
What is the answer?::
This is the answer.
Are cameras allowed?::
Are backpacks allowed?::
No.| Header 1 | Header 2 |
|---|---|
Row 1, Col1 | Row 1, Col2 |
Row 2, Col1 | Row 2, Col2 |
[cols=2,frame=none,options=header]
.Table header
|===
| Header 1
| Header 2
| Row 1, Col1
| Row 1, Col2
| Row 2, Col1
| Row 2, Col2
|===Open typography section
Or back to the previous slide
[#typography]
== Typography
Open xref:#typography[typography section]
Or back to the <<Table,previous>> slideThe hail-and-rainbow protocol can be initiated at three levels:
double[1]
tertiary
apocalyptic
A bold statement![2]
Another outrageous statement.[2]
image::your_link_to_image[]Round image
image::....jpg[role="round"]Thumbnail
image::....jpg[role="thumb"]image::cover.jpg[background, size=cover]This will put cover.jpg as the slide’s background image.
Yellow background
[background-color="yellow"]
== Background color
Yellow background# video file
video::https://my.video/file.mp4[]
# youtube
video::9CSp9ZQEtBQ[youtube, start=34, options=autoplay]
# vimeo
video::357862493[vimeo, options=autoplay][background-video="https://my.video/file.mp4",options="loop,muted"]
== Nice background!Use [.columns] and [.column] for flex layout
[.columns]
== Slide title
[.column]
Column one content
[.column]
Column two contentAdd .is-vcentered class to [.columns] for vertical align
If you want to change the size of a single column, you can use one of the following classes:
is-three-quarters
is-two-thirds
is-half
is-one-third
is-one-quarter
is-full-column
The other columns will fill up the remaining space automatically.




.is-one-quarter.is-three-quarters.is-one-third.is-two-thirds.is-half.is-half.is-full-columnthis
is
revealed
gradually
The style can be changed by using a different role
The order can be changed using the step attribute
| Finally, a pro tip… |
| First, watch out for… |
| Second, don’t forget… |
This slide will override the presentation transition and zoom!
[transition=zoom]
=== Zoom zoom
...You can choose from none, fade, slide, convex, concave and zoom.
Choose from three transition speeds: default, fast or slow!