@asciidoctor/core 2.2.5 → 2.2.7
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.
- package/dist/browser/asciidoctor.js +940 -721
- package/dist/browser/asciidoctor.min.js +1451 -1442
- package/dist/css/asciidoctor.css +15 -18
- package/dist/graalvm/asciidoctor.js +939 -720
- package/dist/node/asciidoctor.js +939 -720
- package/package.json +23 -26
- package/types/index.d.ts +31 -12
package/dist/css/asciidoctor.css
CHANGED
|
@@ -74,10 +74,10 @@ code{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;
|
|
|
74
74
|
ul,ol,dl{line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit}
|
|
75
75
|
ul,ol{margin-left:1.5em}
|
|
76
76
|
ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0}
|
|
77
|
-
ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}
|
|
78
|
-
ul.square{list-style-type:square}
|
|
79
77
|
ul.circle{list-style-type:circle}
|
|
80
78
|
ul.disc{list-style-type:disc}
|
|
79
|
+
ul.square{list-style-type:square}
|
|
80
|
+
ul.circle ul:not([class]),ul.disc ul:not([class]),ul.square ul:not([class]){list-style:inherit}
|
|
81
81
|
ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}
|
|
82
82
|
dl dt{margin-bottom:.3125em;font-weight:bold}
|
|
83
83
|
dl dd{margin-bottom:1.25em}
|
|
@@ -130,7 +130,7 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
|
130
130
|
#content::before{content:none}
|
|
131
131
|
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
|
|
132
132
|
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}
|
|
133
|
-
#header>h1:only-child
|
|
133
|
+
#header>h1:only-child{border-bottom:1px solid #dddddf;padding-bottom:8px}
|
|
134
134
|
#header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:flex;flex-flow:row wrap}
|
|
135
135
|
#header .details span:first-child{margin-left:-.125em}
|
|
136
136
|
#header .details span.email a{color:rgba(0,0,0,.85)}
|
|
@@ -152,6 +152,7 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
|
152
152
|
#toctitle{color:#7a2518;font-size:1.2em}
|
|
153
153
|
@media screen and (min-width:768px){#toctitle{font-size:1.375em}
|
|
154
154
|
body.toc2{padding-left:15em;padding-right:0}
|
|
155
|
+
body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
|
|
155
156
|
#toc.toc2{margin-top:0!important;background:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #e7e7e9;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
|
|
156
157
|
#toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
|
|
157
158
|
#toc.toc2>ul{font-size:.9em;margin-bottom:0}
|
|
@@ -183,7 +184,8 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
|
183
184
|
#content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221}
|
|
184
185
|
details,.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
|
|
185
186
|
details{margin-left:1.25rem}
|
|
186
|
-
details>summary{cursor:pointer;display:block;position:relative;line-height:1.6;margin-bottom:.625rem;-webkit-tap-highlight-color:transparent}
|
|
187
|
+
details>summary{cursor:pointer;display:block;position:relative;line-height:1.6;margin-bottom:.625rem;outline:none;-webkit-tap-highlight-color:transparent}
|
|
188
|
+
details>summary::-webkit-details-marker{display:none}
|
|
187
189
|
details>summary::before{content:"";border:solid transparent;border-left:solid;border-width:.3em 0 .3em .5em;position:absolute;top:.5em;left:-1.25rem;transform:translateX(15%)}
|
|
188
190
|
details[open]>summary::before{border:solid transparent;border-top:solid;border-width:.5em .3em 0;transform:translateY(15%)}
|
|
189
191
|
details>summary::after{content:"";width:1.25rem;height:1em;position:absolute;top:.3em;left:-1.25rem}
|
|
@@ -197,13 +199,10 @@ table.tableblock.fit-content>caption.title{white-space:nowrap;width:0}
|
|
|
197
199
|
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6);word-wrap:anywhere}
|
|
198
200
|
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
|
|
199
201
|
.exampleblock>.content{border:1px solid #e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;border-radius:4px}
|
|
200
|
-
.exampleblock>.content>:first-child{margin-top:0}
|
|
201
|
-
.exampleblock>.content>:last-child{margin-bottom:0}
|
|
202
202
|
.sidebarblock{border:1px solid #dbdbd6;margin-bottom:1.25em;padding:1.25em;background:#f3f3f2;border-radius:4px}
|
|
203
|
-
.sidebarblock>:first-child{margin-top:0}
|
|
204
|
-
.sidebarblock>:last-child{margin-bottom:0}
|
|
205
203
|
.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
|
|
206
|
-
.exampleblock>.content>:
|
|
204
|
+
.exampleblock>.content>:first-child,.sidebarblock>.content>:first-child{margin-top:0}
|
|
205
|
+
.exampleblock>.content>:last-child,.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
|
|
207
206
|
.literalblock pre,.listingblock>.content>pre{border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}
|
|
208
207
|
@media screen and (min-width:768px){.literalblock pre,.listingblock>.content>pre{font-size:.90625em}}
|
|
209
208
|
@media screen and (min-width:1280px){.literalblock pre,.listingblock>.content>pre{font-size:1em}}
|
|
@@ -225,9 +224,8 @@ pre.prettyprint li:not(:first-child) code[data-lang]::before{display:none}
|
|
|
225
224
|
table.linenotable{border-collapse:separate;border:0;margin-bottom:0;background:none}
|
|
226
225
|
table.linenotable td[class]{color:inherit;vertical-align:top;padding:0;line-height:inherit;white-space:normal}
|
|
227
226
|
table.linenotable td.code{padding-left:.75em}
|
|
228
|
-
table.linenotable td.linenos{border-right:1px solid;opacity:.35;padding-right:.5em}
|
|
229
|
-
pre.pygments .
|
|
230
|
-
pre.pygments .lineno::before{content:"";margin-right:-.125em}
|
|
227
|
+
table.linenotable td.linenos,pre.pygments .linenos{border-right:1px solid;opacity:.35;padding-right:.5em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
|
228
|
+
pre.pygments span.linenos{display:inline-block;margin-right:.75em}
|
|
231
229
|
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
|
|
232
230
|
.quoteblock:not(.excerpt)>.title{margin-left:-1.5em;margin-bottom:.75em}
|
|
233
231
|
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
|
|
@@ -264,7 +262,7 @@ table.frame-none>colgroup+*>:first-child>*,table.frame-sides>colgroup+*>:first-c
|
|
|
264
262
|
table.frame-none>:last-child>:last-child>*,table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}
|
|
265
263
|
table.frame-none>*>tr>:first-child,table.frame-ends>*>tr>:first-child{border-left-width:0}
|
|
266
264
|
table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}
|
|
267
|
-
table.stripes-all
|
|
265
|
+
table.stripes-all>*>tr,table.stripes-odd>*>tr:nth-of-type(odd),table.stripes-even>*>tr:nth-of-type(even),table.stripes-hover>*>tr:hover{background:#f8f8f7}
|
|
268
266
|
th.halign-left,td.halign-left{text-align:left}
|
|
269
267
|
th.halign-right,td.halign-right{text-align:right}
|
|
270
268
|
th.halign-center,td.halign-center{text-align:center}
|
|
@@ -280,10 +278,11 @@ ol{margin-left:1.75em}
|
|
|
280
278
|
ul li ol{margin-left:1.5em}
|
|
281
279
|
dl dd{margin-left:1.125em}
|
|
282
280
|
dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0}
|
|
283
|
-
|
|
281
|
+
li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
|
|
284
282
|
ul.checklist,ul.none,ol.none,ul.no-bullet,ol.no-bullet,ol.unnumbered,ul.unstyled,ol.unstyled{list-style-type:none}
|
|
285
283
|
ul.no-bullet,ol.no-bullet,ol.unnumbered{margin-left:.625em}
|
|
286
284
|
ul.unstyled,ol.unstyled{margin-left:0}
|
|
285
|
+
li>p:empty:only-child::before{content:"";display:inline-block}
|
|
287
286
|
ul.checklist>li>p:first-child{margin-left:-1em}
|
|
288
287
|
ul.checklist>li>p:first-child>.fa-square-o:first-child,ul.checklist>li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em}
|
|
289
288
|
ul.checklist>li>p:first-child>input[type=checkbox]:first-child{margin-right:.25em}
|
|
@@ -319,15 +318,13 @@ a.image{text-decoration:none;display:inline-block}
|
|
|
319
318
|
a.image object{pointer-events:none}
|
|
320
319
|
sup.footnote,sup.footnoteref{font-size:.875em;position:static;vertical-align:super}
|
|
321
320
|
sup.footnote a,sup.footnoteref a{text-decoration:none}
|
|
322
|
-
sup.footnote a:active,sup.footnoteref a:active{text-decoration:underline}
|
|
321
|
+
sup.footnote a:active,sup.footnoteref a:active,#footnotes .footnote a:first-of-type:active{text-decoration:underline}
|
|
323
322
|
#footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em}
|
|
324
323
|
#footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em;border-width:1px 0 0}
|
|
325
324
|
#footnotes .footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-left:1.2em;margin-bottom:.2em}
|
|
326
325
|
#footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none;margin-left:-1.05em}
|
|
327
326
|
#footnotes .footnote:last-of-type{margin-bottom:0}
|
|
328
327
|
#content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}
|
|
329
|
-
.gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0}
|
|
330
|
-
.gist .file-data>table td.line-data{width:99%}
|
|
331
328
|
div.unbreakable{page-break-inside:avoid}
|
|
332
329
|
.big{font-size:larger}
|
|
333
330
|
.small{font-size:smaller}
|
|
@@ -384,7 +381,7 @@ b.conum *{color:inherit!important}
|
|
|
384
381
|
dt,th.tableblock,td.content,div.footnote{text-rendering:optimizeLegibility}
|
|
385
382
|
h1,h2,p,td.content,span.alt,summary{letter-spacing:-.01em}
|
|
386
383
|
p strong,td.content strong,div.footnote strong{letter-spacing:-.005em}
|
|
387
|
-
p,blockquote,dt,td.content,span.alt,summary{font-size:1.0625rem}
|
|
384
|
+
p,blockquote,dt,td.content,td.hdlist1,span.alt,summary{font-size:1.0625rem}
|
|
388
385
|
p{margin-bottom:1.25rem}
|
|
389
386
|
.sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em}
|
|
390
387
|
.exampleblock>.content{background:#fffef7;border-color:#e0e0dc;box-shadow:0 1px 4px #e0e0dc}
|