Sha256: 784e0b09587714e86dbeab44130adc3fe6ea7118e21d5f825aef8b5ef26e73c3
Contents?: true
Size: 701 Bytes
Versions: 10
Compression:
Stored size: 701 Bytes
Contents
// .source-pygments // Demonstration of source highlighting with pygments // :include: //div[@class="slides"] // :header_footer: = Source Code with Pygments :icons: font :source-highlighter: pygments :pygments-style: paraiso-dark == Requirements WARNING: This will not work from Asciidoctor.js [NOTE] ==== For this to work. You need to add: gem 'pygments.rb' to your `Gemfile` and re-run: bundle install ==== == Use the Source [source, rust] ---- fn main() { println!("Hello World!"); } ---- == Pygments Features [source,ruby,highlight="1..2,4..5"] ---- ORDERED_LIST_KEYWORDS = { 'loweralpha' => 'a', 'lowerroman' => 'i', 'upperalpha' => 'A', 'upperroman' => 'I', } ----
Version data entries
10 entries across 10 versions & 1 rubygems