Sha256: 6420c3b39545eeb836e7bf2e457a657e6483f99b961dafebf0e3e08584ccb470

Contents?: true

Size: 532 Bytes

Versions: 7

Compression:

Stored size: 532 Bytes

Contents

// .source-coderay
// Demonstration of source highlighting with coderay
// :include: //div[@class="slides"]
// :header_footer:
= Source Code with Coderay
:icons: font
:source-highlighter: coderay
:coderay-css: style

== Requirements

WARNING: This will not work from Asciidoctor.js

[NOTE]
====
For this to work. You need to add:

    gem 'coderay'

to your `Gemfile` and re-run:

    bundle install
====

== Use the Source

[source, ruby]
----
# My first Ruby program
# On my way to Ruby fame & fortune!

puts 'Hello, world!'
----

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
asciidoctor-revealjs-3.1.0 examples/source-coderay.adoc
asciidoctor-revealjs-3.0.0 examples/source-coderay.adoc
asciidoctor-revealjs-3.0.0.pre.rc1 examples/source-coderay.adoc
asciidoctor-revealjs-2.0.1 examples/source-coderay.adoc
asciidoctor-revealjs-2.0.0 examples/source-coderay.adoc
asciidoctor-revealjs-1.1.3 examples/source-coderay.adoc
asciidoctor-revealjs-1.1.1 examples/source-coderay.adoc