jekyll-asciidoc 3.0.0.beta.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +43 -2
- data/jekyll-asciidoc.gemspec +2 -2
- data/lib/jekyll-asciidoc/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1904bf71894c9ce06a2bc0076e930b6eff13ffd62bef1c1d15400f270322c38
|
4
|
+
data.tar.gz: 161bc87b7c6acfedfdf9e2b4f0e90e093e930a1ad55c8663ddf0c2a99678c783
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df177d71835a02e93d5e1a88927130a3bdbf8f2aaf164a445865928c6d71bb5b07f076cb7dc9c1b2706728c7e31b457a657b900fc360236fdca6bda5410af5ea
|
7
|
+
data.tar.gz: 29a2136a37caa0e552053788fd5f8fc6624edb32572882ff9bd7f012cdc790485af0cea601d71917f982463bde93ff7d1ff9bec39697d431fb573981925d522c
|
data/README.adoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Jekyll AsciiDoc Plugin (powered by Asciidoctor)
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Paul Rayner <https://github.com/paulrayner[@paulrayner]>
|
3
|
-
v3.0.0
|
3
|
+
v3.0.0, 2019-08-31
|
4
4
|
// Settings:
|
5
5
|
:idprefix:
|
6
6
|
:idseparator: -
|
@@ -1249,7 +1249,7 @@ To enable font-based admonition and inline icons, you first need to add Font Awe
|
|
1249
1249
|
|
1250
1250
|
[source,html]
|
1251
1251
|
----
|
1252
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.
|
1252
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
1253
1253
|
----
|
1254
1254
|
|
1255
1255
|
NOTE: You can also link to a local copy of Font Awesome.
|
@@ -1312,6 +1312,47 @@ asciidoctor:
|
|
1312
1312
|
...
|
1313
1313
|
----
|
1314
1314
|
|
1315
|
+
Circled callout numbers are also linked to the `icons=font` setting, even though they don't rely on the Font Awesome font.
|
1316
|
+
To enable them, you need to add the following additional CSS to the [.path]_css/asciidoc.css_ file:
|
1317
|
+
|
1318
|
+
[source,css]
|
1319
|
+
----
|
1320
|
+
.conum[data-value] {
|
1321
|
+
display: inline-block;
|
1322
|
+
color: #fff !important;
|
1323
|
+
background: rgba(0,0,0,.8);
|
1324
|
+
-webkit-border-radius: 1em;
|
1325
|
+
border-radius: 1em;
|
1326
|
+
text-align: center;
|
1327
|
+
font-size: .75em;
|
1328
|
+
width: 1.67em;
|
1329
|
+
height: 1.67em;
|
1330
|
+
line-height: 1.67em;
|
1331
|
+
font-family: "Open Sans", "DejaVu Sans", sans-serif;
|
1332
|
+
font-style: normal;
|
1333
|
+
font-weight: bold;
|
1334
|
+
}
|
1335
|
+
.conum[data-value] * {
|
1336
|
+
color: #fff !important;
|
1337
|
+
}
|
1338
|
+
.conum[data-value] + b {
|
1339
|
+
display: none;
|
1340
|
+
}
|
1341
|
+
.conum[data-value]::after {
|
1342
|
+
content: attr(data-value);
|
1343
|
+
}
|
1344
|
+
pre .conum[data-value] {
|
1345
|
+
position: relative;
|
1346
|
+
top: -.125em;
|
1347
|
+
}
|
1348
|
+
b.conum * {
|
1349
|
+
color: inherit !important;
|
1350
|
+
}
|
1351
|
+
.conum:not([data-value]):empty {
|
1352
|
+
display: none;
|
1353
|
+
}
|
1354
|
+
----
|
1355
|
+
|
1315
1356
|
=== Image-based Admonition and Inline Icons
|
1316
1357
|
|
1317
1358
|
As an alternative to font-based icons, you can configure Asciidoctor to use image-based icons.
|
data/jekyll-asciidoc.gemspec
CHANGED
@@ -39,6 +39,6 @@ Gem::Specification.new do |s|
|
|
39
39
|
s.add_development_dependency 'pygments.rb', '~> 1.2.1'
|
40
40
|
s.add_development_dependency 'rake', '~> 12.3.2'
|
41
41
|
s.add_development_dependency 'rspec', '~> 3.8.0'
|
42
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
43
|
-
s.add_development_dependency 'simplecov', '~> 0.
|
42
|
+
s.add_development_dependency 'rubocop', '~> 0.74.0'
|
43
|
+
s.add_development_dependency 'simplecov', '~> 0.17.0'
|
44
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-asciidoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Allen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-08-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: asciidoctor
|
@@ -101,28 +101,28 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
104
|
+
version: 0.74.0
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.
|
111
|
+
version: 0.74.0
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: simplecov
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.
|
118
|
+
version: 0.17.0
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.
|
125
|
+
version: 0.17.0
|
126
126
|
description: A Jekyll plugin that converts the AsciiDoc source files in your site
|
127
127
|
to HTML pages using Asciidoctor.
|
128
128
|
email:
|
@@ -170,11 +170,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
172
|
requirements:
|
173
|
-
- - "
|
173
|
+
- - ">="
|
174
174
|
- !ruby/object:Gem::Version
|
175
|
-
version:
|
175
|
+
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubygems_version: 3.0.
|
177
|
+
rubygems_version: 3.0.6
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: A Jekyll plugin that converts the AsciiDoc source files in your site to HTML
|