=== Notes
Press `s` to open notes (allow popups and you might need to press `s` twice)
[.notes]
--
Those are the slide notes
*You can Use the common format*
* And
* Lists
--
Press for next slide
Marti
Press for the next slide
for next section.
next slide in a section.
Press o
for overview.
Press m
to obtain the menu.
Press s
to open notes (allow popups and you might need to press s
twice)
=== Notes
Press `s` to open notes (allow popups and you might need to press `s` twice)
[.notes]
--
Those are the slide notes
*You can Use the common format*
* And
* Lists
--
Press c
toggle draw mode on slide.
b
will toggle the chaklboard.
We engineers must remember that we carry a responsibility to work toward the kind of world that we want to live in: a world that treats people with humanity and respect.
Use [quote]
and quote blocks to obtain this
[quote, "Martin Kleppmann"]
--
We engineers ...
--
The usual admonition blocks are available using NOTE , TIP , IMPORTANT CAUTION WARNING |
You can also encase them in a block
|
Make text blocks or list elements appear with [%step]
This
Is a
List
Or just text
Lorem ipsum [.yellow-highlight]#ipsum#
Lorem step ipsum [.highlight-strong.step]#step#
[.important,transition="zoom"]
=== Important text
Also inline in steps
[.important%step]
Also inline in steps
footnote:[This is a footnote]
[1]
Use footnote:reuse[To reuse a footnote]
[2]
footnote:reuse[]
[2]
footnote:[link:https://asciidoctor.org[More Info on Footnotesb]]
Use [.muchotxt]
for slides or blocks with a lot of text.
sometimes it’s just better to split the slides |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Arcu cursus vitae congue mauris rhoncus aenean vel elit. Ut sem viverra aliquet eget sit. Tellus at urna condimentum mattis. Massa vitae tortor condimentum lacinia. In eu mi bibendum neque egestas congue. Aenean pharetra magna ac placerat vestibulum lectus mauris. Pellentesque habitant morbi tristique senectus et netus et malesuada fames. Suspendisse faucibus interdum posuere lorem ipsum dolor sit amet consectetur. Vestibulum rhoncus est pellentesque elit ullamcorper dignissim cras. Euismod elementum nisi quis eleifend quam adipiscing vitae proin. Enim ut sem viverra aliquet. Placerat in egestas erat imperdiet. Facilisi etiam dignissim diam quis enim lobortis. Lectus arcu bibendum at varius vel pharetra vel turpis nunc. Malesuada nunc vel risus commodo viverra maecenas accumsan. Feugiat in fermentum posuere urna nec tincidunt praesent semper. Nunc sed velit dignissim sodales ut eu sem integer vitae. Mauris sit amet massa vitae tortor. Tortor aliquam nulla facilisi cras fermentum.
Also use [.muchotxt]
applied to the slide title
Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Arcu cursus vitae congue mauris rhoncus aenean vel elit.
Ut sem viverra aliquet eget sit. Tellus at urna condimentum mattis.
Massa vitae tortor condimentum lacinia.
In eu mi bibendum neque egestas congue.
Aenean pharetra magna ac placerat vestibulum lectus mauris.
Pellentesque habitant morbi tristique senectus et netus et malesuada fames.
Suspendisse faucibus interdum posuere lorem ipsum dolor sit amet consectetur.
Vestibulum rhoncus est pellentesque elit ullamcorper dignissim cras.
Euismod elementum nisi quis eleifend quam adipiscing vitae proin.
Enim ut sem viverra aliquet.
=== A lot of text
Use `[.muchotxt]` for slides or blocks with a lot of text.
TIP: sometimes it's just better to split the slides
[.muchotxt]
--
Lorem ipsum dolor sit amet...
--
[.muchotxt]
=== A long list
Also use `[.muchotxt]` applied to the slide title
* Lorem ipsum dolor sit amet,
Use Columns
Force Layouts
is-three-quarters
is-two-thirds
is-half
is-one-third
is-one-quarter
is-full
[.columns.is-vcentered]
=== Layout
[.column.is-one-quarter]
Use Columns
[.column]
Force Layouts
[.column.is-half]
[source,asciidoc]
Use --
to encapsulate blocks lasting several lines
[.column]
--
Force Layouts
* `is-three-quarters`
* `is-two-thirds`
* `is-half`
* `is-one-third`
* `is-one-quarter`
* `is-full`
--
Use == !
and === !
for slides with no headers.
It’s really nice. Using just %auto-animate
and some magic with setting identifiers, you’ll have automated animations. Check the examples!
Check source code to see how are they done
IP
DNS
LAYERS
LAN/WAN
ROUTER+SWITCH
Docker Compose
Kubernetes
Elastic Container Service
Docker-maintained tool for
Defining multi-container Docker applications
Services (containers)
Healthcheck
Volumes
Network
Secrets
Start all of them with one command
Single machine
SCALABILITY
RELIABILITY
MAINTAINABILITY
SCALABILITY
Measuring Load and Performance
Latency, Percentiles throughput
Elastic Compute Cloud (VM)
Relational Database System
Virtual Private Cloud (Networking)
Identity and Access Management
Log in to AWS console
Take a look at the offering
Check out the services to use
Virtual Machines
Serverless
Virtual Machines
Containers
Serverless
Asciidoc compiles to html code and uses CSS for styles.
Update the file reveal-override.css
to adapt colors, icon, sizes, widths…
Easy way: just replace the file called images/logo.png |
To show the logo when printing, there are two places where we specify the logo.
css/reveal-override.css
.reveal-viewport {
background-image: url(../images/logo.png);
background-size: 12%;
background-repeat: no-repeat;
background-position: 97% 3%;
}
docinfo-footer.html
<div id="watermark"><img src="images/logo.png" alt="logo"></div>
css/reveal-override.css
.reveal-viewport {
background-image: url(../images/logo.png);
background-size: 12%;
background-repeat: no-repeat;
background-position: 97% 3%;
}
#watermark {
opacity: 1;
position: fixed;
height: 60px;
z-index: 20;
top: 40px;
left: 1300px;
}
Update those lines to personalize the footer.
docinfo-footer.html
<footer id="title-footer" class="white_bg">
<p>martsec - 2023 - <a href="https://8vi.cat">8vi.cat</a></p>
</footer>
Change the occurences of #009fe3
in the css files for the color you desire.
[.white_bg]
=== Background images
image::angele-kamp-bDuh4oK_MCU-unsplash.jpg[background]
image::martin-pechy-....jpg[height=600]
Use it for screenshots |
=== !
image::martin-pechy-....jpg[background, size=contain]
With icon:font-awesome[]
you can improve the eye cachiness of your slides
Play with the extra variables size
and set
for variation as well as your css styles
[.red]
icon:python[set=fab,size=7x]
css/reveal-override.css
/* Main color */
.icon > i,
svg {
color: #009fe3;
}
/* Specify custom colors */
div.red > p > span.icon > i {
color: red;
}
You can use ----
and ....
to limit code blocks
[source]
----
pi = 3
----
We can use highlight.js library to make our code shine.
:source-highlighter: highlightjs
:highlightjs-languages: asciidoc,python,yaml,Dockerfile,dockerfile,Bash
[source, python]
----
pi = 3
----
pi = 3.1415
name = "m"
[source,python]
----
include::../code_examples/flask_app.py[]
----
[source,python]
----
include::../code_examples/flask_app.py[lines=1]
include::../code_examples/flask_app.py[lines=6..10]
----
from flask import Flask
import sqlite3
DB_FILE = "my_app.db"
app = Flask(__name__)
@app.route("/")
def main_page():
return "<p>Hello, World!</p>"
from flask import Flask
app = Flask(__name__)
@app.route("/")
def main_page():
return "<p>Hello, World!</p>"
Use source%linenums
to show line numbers. [1]
[source%linenums,python]
----
include::../code_examples/flask_app.py[]
----
from flask import Flask
import sqlite3
DB_FILE = "my_app.db"
app = Flask(__name__)
@app.route("/")
def main_page():
return "<p>Hello, World!</p>"
Use highlight=
to draw the atention to the lines you are explaining.
,
acts as and
, ..
is to indicate a line range and |
indicates different steps.
[source,python,highlight="1,6|7..10"]
----
include::../code_examples/flask_app.py[]
----
Don’t use source%linenums with this since in some cases causes conflicts |
from flask import Flask
import sqlite3
DB_FILE = "my_app.db"
app = Flask(__name__)
@app.route("/")
def main_page():
return "<p>Hello, World!</p>"
from flask import Flask
from flask import Flask
app = Flask(__name__)
@app.route("/")
def main_page():
return "<p>Hello, World!</p>"
from flask import Flask
import sqlite3
DB_FILE = "my_app.db"
app = Flask(__name__)
@app.route("/")
def main_page():
return "<p>Hello, World!</p>"
Use a combination of [%auto-animate]
and data-id=xyz
in different slides
[%auto-animate]
=== Incrementally reveal code
[source,python,highlight="1,3",data-id=flask-app]
----
include::../code_examples/flask_app.py[lines=1,6]
----
[%auto-animate]
=== Incrementally reveal code
[source,python,highlight="4..7",data-id=flask-app]
----
include::../code_examples/flask_app.py[lines=1]
include::../code_examples/flask_app.py[lines=6..10]
----
[%auto-animate]
=== Incrementally reveal code
[source,python,highlight="2..4",data-id=flask-app]
----
include::../code_examples/flask_app.py[]
----
We’ve enabled some plugins
I’ve added the Countdown.js plugin to add timers to your slides
Time to finish the slide
Use t
to start/stop timer and +
and -
to modify time.
+ and - keys are keyboard-specific so you’ll need to change them in docinfo-footer.html |
+++<countdown time="60" autostart="yes" />+++
Press c
toggle draw mode on slide.
b
will toggle the chaklboard.
Press m
to obtain the menu.
Those icons on the bottom left!
reveal.js-plugins provides more plugins that you can make available just modifying docinfo-footer.html
Animations via SVG.js
Anything for plots via D3.JS and many other things (check live demo)
Audio slideshow for audio playback and recording
"Showing code" photo by James Harrison on Unsplash
"Layouts" photo by Grant Lemons on Unsplash
"Icons and Images" photo by Angèle Kamp on Unsplash
"Background Images contained" photo by Martin Péchy on Unsplash
"Resources" photo by Giammarco Boscaro on Unsplash