asciidoctor-fb2 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +5 -0
- data/lib/asciidoctor_fb2.rb +10 -0
- data/lib/asciidoctor_fb2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 210abe6551fe7da1d9b89221086ccf555b0415e14ffec68915c859ba3b05bf5a
|
4
|
+
data.tar.gz: 92d848355114858d43682c963606466c0f5e07bfcbcaf65e1436aa6cb34cecca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ca271531be2ecfe832f45bfe25ba0ddfb69c938fd19acb4b9edde6f31c4d1f7b6efee4bc87c00429a9cfd8d3841acd1ecfe78c39fdea3cf5d2a14490a3b3306
|
7
|
+
data.tar.gz: 68d20bc6f6fae5ba45c036fff85377294801c37bbf0abbc0c47fbf965aee74cfe8517e67c324ace6a96d26e801b1626564043ee6ef8d87d61d11f7742df6f5f1
|
data/CHANGELOG.adoc
CHANGED
@@ -7,6 +7,11 @@
|
|
7
7
|
This document provides a high-level view of the changes to the {project-name} by release.
|
8
8
|
For a detailed view of what has changed, refer to the {uri-project}/commits/master[commit history] on GitHub.
|
9
9
|
|
10
|
+
== 0.2.1 (2020-11-24) - @slonopotamus
|
11
|
+
|
12
|
+
* add support for `kbd` inline macro. https://github.com/slonopotamus/asciidoctor-fb2/issues/13[#13]
|
13
|
+
* add support for `btn` inline macro
|
14
|
+
|
10
15
|
== 0.2.0 (2020-11-23) - @slonopotamus
|
11
16
|
|
12
17
|
* add support for cover image via `+:front-cover-image:+` attribute. https://github.com/slonopotamus/asciidoctor-fb2/issues/3[#3]
|
data/lib/asciidoctor_fb2.rb
CHANGED
@@ -161,6 +161,16 @@ module Asciidoctor
|
|
161
161
|
result
|
162
162
|
end
|
163
163
|
|
164
|
+
# @param node [Asciidoctor::Inline]
|
165
|
+
def convert_inline_button(node)
|
166
|
+
%([<strong>#{node.text}</strong>])
|
167
|
+
end
|
168
|
+
|
169
|
+
# @param node [Asciidoctor::Inline]
|
170
|
+
def convert_inline_kbd(node)
|
171
|
+
%(<strong>#{node.attr('keys').join('</strong>+<strong>')}</strong>)
|
172
|
+
end
|
173
|
+
|
164
174
|
# @param node [Asciidoctor::Inline]
|
165
175
|
def convert_inline_anchor(node) # rubocop:disable Metrics/MethodLength
|
166
176
|
case node.type
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-fb2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marat Radchenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|