Sha256: c9fc48a4ede509f1eea89b90e10755dc3f1d52fdbf13f108ea01e8ae022cc3cc

Contents?: true

Size: 465 Bytes

Versions: 16

Compression:

Stored size: 465 Bytes

Contents

// .source-callouts
// Demonstration of source callouts
// :include: //div[@class="slides"]
// :header_footer:
= Source code callouts
:icons: font
:source-highlighter: highlightjs

== Callout

[source, rust]
----
fn main() {
    println!("Hello World!"); // <1>
}
----
<1> `println!` is a macro.

== Stretched Callout

[source, rust, role=stretch]
----
fn main() { // <1>
    println!("Hello World!"); // <2>
}
----
<1> `fn` for function
<2> `println!` is a macro.

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
asciidoctor-revealjs-5.2.0 examples/source-callouts.adoc
asciidoctor-revealjs-5.1.0 examples/source-callouts.adoc
asciidoctor-revealjs-5.0.1 examples/source-callouts.adoc
asciidoctor-revealjs-5.0.0.rc1 examples/source-callouts.adoc
asciidoctor-revealjs-4.1.0 examples/source-callouts.adoc
asciidoctor-revealjs-4.1.0.rc5 examples/source-callouts.adoc
asciidoctor-revealjs-4.1.0.rc4 examples/source-callouts.adoc
asciidoctor-revealjs-4.1.0.rc3 examples/source-callouts.adoc
asciidoctor-revealjs-4.1.0.rc2 examples/source-callouts.adoc
asciidoctor-revealjs-4.0.1 examples/source-callouts.adoc
asciidoctor-revealjs-4.0.0 examples/source-callouts.adoc
asciidoctor-revealjs-3.1.0 examples/source-callouts.adoc
asciidoctor-revealjs-3.0.0 examples/source-callouts.adoc
asciidoctor-revealjs-3.0.0.pre.rc1 examples/source-callouts.adoc
asciidoctor-revealjs-2.0.1 examples/source-callouts.adoc
asciidoctor-revealjs-2.0.0 examples/source-callouts.adoc