asciidoctor-revealjs 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Revealjs
3
- VERSION = '1.1.0'
3
+ VERSION = '1.1.1'
4
4
  end
5
5
  end
@@ -10,6 +10,7 @@
10
10
  - code_class = language ? [language, "language-#{language}"] : nil
11
11
  - pre_class = ['highlight']
12
12
  - pre_lang = nil
13
+ - code_noescape = false
13
14
  - case attr 'source-highlighter'
14
15
  - when 'coderay'
15
16
  - pre_class = ['CodeRay']
@@ -25,9 +26,10 @@
25
26
  - pre_lang = language
26
27
  - pre_class = code_class = nil
27
28
  - nowrap = false
28
- /- when 'highlightjs', 'highlight.js'
29
+ - when 'highlightjs', 'highlight.js'
30
+ - code_noescape=true
29
31
  - pre_class << 'nowrap' if nowrap
30
32
  pre class=pre_class lang=pre_lang
31
- code class=code_class =content
33
+ code data-noescape=code_noescape class=code_class =content
32
34
  - else
33
35
  pre class=(nowrap ? 'nowrap' : nil) =content
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-revealjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Bilodeau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-25 00:00:00.000000000 Z
11
+ date: 2018-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -194,6 +194,11 @@ files:
194
194
  - examples/slide-state.adoc
195
195
  - examples/slide-state.css
196
196
  - examples/source-callouts.adoc
197
+ - examples/source-coderay.adoc
198
+ - examples/source-highlightjs-html.adoc
199
+ - examples/source-highlightjs.adoc
200
+ - examples/source-prettify.adoc
201
+ - examples/source-pygments.adoc
197
202
  - examples/speaker-notes.adoc
198
203
  - examples/theme-custom.adoc
199
204
  - examples/theme-custom.css
@@ -206,6 +211,7 @@ files:
206
211
  - examples/vertical-slides.adoc
207
212
  - examples/video.adoc
208
213
  - lib/asciidoctor-revealjs.rb
214
+ - lib/asciidoctor-revealjs/converter.rb
209
215
  - lib/asciidoctor-revealjs/version.rb
210
216
  - lib/asciidoctor-templates-compiler.rb
211
217
  - templates/admonition.html.slim