asciidoctor 2.0.0.rc.1 → 2.0.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +50 -7
- data/README-de.adoc +4 -9
- data/README-fr.adoc +9 -14
- data/README-jp.adoc +12 -11
- data/README-zh_CN.adoc +12 -11
- data/README.adoc +4 -7
- data/data/locale/attributes-de.adoc +4 -3
- data/data/locale/attributes-fr.adoc +1 -1
- data/data/reference/syntax.adoc +8 -2
- data/data/stylesheets/asciidoctor-default.css +3 -2
- data/lib/asciidoctor/abstract_block.rb +34 -28
- data/lib/asciidoctor/abstract_node.rb +10 -15
- data/lib/asciidoctor/attribute_list.rb +16 -16
- data/lib/asciidoctor/block.rb +5 -5
- data/lib/asciidoctor/cli/options.rb +23 -24
- data/lib/asciidoctor/converter/docbook5.rb +135 -120
- data/lib/asciidoctor/converter/html5.rb +144 -86
- data/lib/asciidoctor/converter/manpage.rb +81 -81
- data/lib/asciidoctor/converter/template.rb +2 -2
- data/lib/asciidoctor/converter.rb +21 -20
- data/lib/asciidoctor/core_ext/hash/merge.rb +7 -0
- data/lib/asciidoctor/core_ext.rb +1 -0
- data/lib/asciidoctor/document.rb +36 -15
- data/lib/asciidoctor/extensions.rb +30 -13
- data/lib/asciidoctor/inline.rb +2 -9
- data/lib/asciidoctor/logging.rb +3 -1
- data/lib/asciidoctor/parser.rb +92 -90
- data/lib/asciidoctor/reader.rb +39 -28
- data/lib/asciidoctor/section.rb +1 -8
- data/lib/asciidoctor/substitutors.rb +727 -701
- data/lib/asciidoctor/syntax_highlighter/coderay.rb +2 -2
- data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +1 -1
- data/lib/asciidoctor/table.rb +7 -11
- data/lib/asciidoctor/version.rb +1 -1
- data/lib/asciidoctor.rb +99 -106
- data/man/asciidoctor.1 +4 -4
- data/man/asciidoctor.adoc +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '09c8776c68c1c086a0d17e7597f8e5cd2a4ef27a2b57545a0d82bb7520747c8d'
|
|
4
|
+
data.tar.gz: 6fa042782d5c3a6e446ce1b3b5a25557055d74248ca618f3bed651d5d6f7535e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82e97c50b8ecc3cb09e2aa966e41acc3d714dd8fad4654ab68eadd5e339febdcd680fdb3fba77bb11583eb419120fb6429bcd9d21299ecb4e6f7ff102bda48d3
|
|
7
|
+
data.tar.gz: 2c96408f4c51935b2b9d413184358d58a55e528675442167a13e879d5a4506ab29fb628c65c63b616333d555f41a54d1da761889afbba64f563a623d3b2b4446
|
data/CHANGELOG.adoc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
= Asciidoctor Changelog
|
|
2
|
-
:uri-asciidoctor:
|
|
2
|
+
:uri-asciidoctor: https://asciidoctor.org
|
|
3
3
|
:uri-asciidoc: {uri-asciidoctor}/docs/what-is-asciidoc
|
|
4
4
|
:uri-repo: https://github.com/asciidoctor/asciidoctor
|
|
5
5
|
:icons: font
|
|
@@ -13,7 +13,7 @@ endif::[]
|
|
|
13
13
|
This document provides a high-level view of the changes introduced in Asciidoctor by release.
|
|
14
14
|
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
|
|
15
15
|
|
|
16
|
-
== 2.0.0
|
|
16
|
+
== 2.0.0 (2019-03-22) - @mojavelinux
|
|
17
17
|
|
|
18
18
|
Enhancements / Compliance::
|
|
19
19
|
|
|
@@ -44,10 +44,14 @@ Enhancements / Compliance::
|
|
|
44
44
|
* use value of prettify-theme attribute as is if it starts with http:// or https:// (#3020)
|
|
45
45
|
* allow icontype to be set using icons attribute (#2953)
|
|
46
46
|
* when using a server-side syntax highlighter, highlight content of source block even if source language is not set (#3027)
|
|
47
|
+
* automatically promote a listing block without an explicit style to a source block if language is set (#1117)
|
|
47
48
|
* remove the 2-character (i.e., `""`) quote block syntax
|
|
48
49
|
* don't allow block role to inherit from document attribute; only look for role in block attributes (#1944)
|
|
49
50
|
* split out functionality of -w CLI flag (script warnings) from -v CLI flag (verbose logging) (#3030)
|
|
50
|
-
* log possible invalid references at
|
|
51
|
+
* log possible invalid references at info level (#3030)
|
|
52
|
+
* log dropped lines at info level when attribute-missing=drop-line (#2861)
|
|
53
|
+
* honor attribute-missing setting when processing include directives and block macros (#2855)
|
|
54
|
+
* log warning when include directive is not resolved due to missing attribute or blank target; always include warning in output document (#2868)
|
|
51
55
|
* use the third argument of AbstractNode#attr / AbstractNode#attr? to set the name of a fallback attribute to look for on the document (#1934)
|
|
52
56
|
* change default value of third argument to Abstractnode#attr / AbstractNode#attr? to nil so attribute doesn't inherit by default (#3059)
|
|
53
57
|
* look for table-frame, table-grid, and table-stripes attributes on document as fallback for frame, grid, and stripes attributes on table (#3059)
|
|
@@ -62,16 +66,39 @@ Enhancements / Compliance::
|
|
|
62
66
|
* modify Cell class to extend from AbstractBlock instead of AbstractNode (#2963)
|
|
63
67
|
* implement block? and inline? methods on Column, both which return false (#2963)
|
|
64
68
|
* drop verse table cell style (treat as normal table cell) (#3111)
|
|
69
|
+
* allow negated subs to be specified on inline pass macro (#2191)
|
|
65
70
|
* log warning if footnoteref macro is found and compat mode is not enabled (#3114)
|
|
71
|
+
* log info message if inline macro processor returns a String value (#3176)
|
|
72
|
+
* apply subs to Inline node returned by inline macro processor if subs attribute is specified (#3178)
|
|
73
|
+
* add create_inline_pass helper method to base extension processor class (#3178)
|
|
66
74
|
* log debug message instead of warning if block style is unknown (#3092)
|
|
67
75
|
* allow backend to delegate to a registered backend using the syntax synthetic:delegate when using custom templates (e.g., slides:html) (#891)
|
|
68
76
|
* AbstractBlock#find_by looks inside AsciiDoc table cells if traverse_documents selector option is true (#3101)
|
|
69
77
|
* AbstractBlock#find_by finds table cells, which can be selected using the :table_cell context in the selector (#2524)
|
|
70
78
|
* allow ampersand to be used in e-mail address (#2553)
|
|
79
|
+
* propogate ID assigned to inline passthrough (#2912)
|
|
80
|
+
* rename control keywords in find_by to better align with the standard NodeFilter terminology
|
|
81
|
+
* stop find_by iteration if filter block returns :stop directive
|
|
82
|
+
* rename header_footer option to standalone (while still honoring header_footer for backwards compatibility) (#1444)
|
|
83
|
+
* replace anchors and xrefs before footnotes (replace footnotes last in macros substitution group)
|
|
84
|
+
* apply substitution for custom inline macro before all other macros
|
|
85
|
+
* only promote index terms automatically (A, B, C becomes A > B > C + B > C + C) if indexterm-promotion option is set on document (#1487)
|
|
86
|
+
* add support for see and see-also on index terms; parse attributes on indexterm macros if text contains `=` (#2047)
|
|
87
|
+
* drop :indexterms table from document catalog (in preparation for solution to #450 in a 2.x release)
|
|
88
|
+
* load additional languages for highlight.js as defined in the comma-separated highlightjs-languages attribute (#3036)
|
|
89
|
+
* log warning if conditional expression in ifeval directive is invalid (#3161)
|
|
90
|
+
* drop lines that contain an invalid preprocessor directive (#3161)
|
|
91
|
+
* rename AbstractBlock#find_by directives; use :prune in place of :skip_children and :reject in place of :skip
|
|
92
|
+
* convert example block into details/summary tag set if collapsible option is set; open by default if open option is set (#1699)
|
|
93
|
+
* substitute replacements in author values used in document header (#2441)
|
|
94
|
+
* require space after semi-colon that separates multiple authors (#2441)
|
|
95
|
+
* catalog inline anchors at start of callout list items (#2818) (*@owenh000*)
|
|
96
|
+
* add parse_attributes helper method to base extension Processor class (#2134)
|
|
71
97
|
|
|
72
98
|
Improvements::
|
|
73
99
|
|
|
74
100
|
* propagate document ID to DocBook output (#3011)
|
|
101
|
+
* always store section numeral as string; compute roman numeral for part at assignment time (@vmj)
|
|
75
102
|
* refactor code to use modern Hash syntax
|
|
76
103
|
* define LIB_DIR constant; rename *_PATH constants to *_DIR constants to be consistent with RubyGems terminology (#2764)
|
|
77
104
|
* only define ROOT_DIR if not already defined (for compatibility with Asciidoctor.js)
|
|
@@ -82,6 +109,7 @@ Improvements::
|
|
|
82
109
|
* ensure linenos class is added to linenos column when source highlighter is pygments and pygments-css=style
|
|
83
110
|
* rename CSS class of Pygments line numbering table to linenotable (to align with Rouge) (#1040)
|
|
84
111
|
* remove unused Converter#convert_with_options method (#2891)
|
|
112
|
+
* add -e, --embedded CLI flag as alias for -s, --no-header-footer (require long option to specify eRuby impl) (#1444)
|
|
85
113
|
* don't store the options attribute on the block once the options are parsed (#3051)
|
|
86
114
|
* add an options method on AbstractNode to retrieve the set of option names (#3051)
|
|
87
115
|
* pass :input_mtime option to Document constructor; let Document constructor assign docdate/time/year attributes (#3029)
|
|
@@ -98,10 +126,19 @@ Improvements::
|
|
|
98
126
|
* add clearer exception message when source data is binary or has invalid encoding (#2884)
|
|
99
127
|
* rename context for table cell and table column to :table_cell and :table_column, respectively
|
|
100
128
|
* rename hardbreaks document attribute to hardbreaks-option; retain hardbreaks as a deprecated alias (#3123)
|
|
129
|
+
* extend TLD for implicit e-mail addresses to 5 characters (#3154)
|
|
130
|
+
* truncate with precision (instead of rounding) when computing absolute width for columns in DocBook output (#3131)
|
|
131
|
+
* drop legacy LaTeX math delimiters (e.g, `$..$`) if present (#1339)
|
|
132
|
+
* use proper terminology in warning message about mismatched preprocessor directive (#3165)
|
|
133
|
+
* rename low-level extension attribute name :pos_attrs to :positional_attrs
|
|
134
|
+
* mark default_attrs extension DSL method deprecated in favor of default_attributes
|
|
135
|
+
* upgrade MathJax to 2.7.5
|
|
101
136
|
|
|
102
137
|
Bug Fixes::
|
|
103
138
|
|
|
104
139
|
* fix crash caused by inline passthrough macro with the macros sub clearing the remaining passthrough placeholders (#3089)
|
|
140
|
+
* fix crash if ifeval directive is missing expression (#3164)
|
|
141
|
+
* prevent relative leveloffset from making section level negative and causing hang (#3152)
|
|
105
142
|
* don't fail to parse Markdown-style quote block that only contains attribution line (#2989)
|
|
106
143
|
* enforce rule that Setext section title must have at least one alphanumeric character; fixes problem w/ block nested inside quote block (#3060)
|
|
107
144
|
* apply header subs to doctitle value when assigning it back to the doctitle document attribute (#3106)
|
|
@@ -120,6 +157,7 @@ Bug Fixes::
|
|
|
120
157
|
* scope constant lookups (#2764)
|
|
121
158
|
* use byteslice instead of slice to remove BOM from string (#2764)
|
|
122
159
|
* don't fail if value of -a CLI option is empty string or equals sign (#2997)
|
|
160
|
+
* allow failure level of CLI to be set to info
|
|
123
161
|
* Reader#push_include should not fail if data is nil
|
|
124
162
|
* fix deprecated ERB trim mode that was causing warning (#3006)
|
|
125
163
|
* move time anchor after query string on vimeo video to avoid dropping options
|
|
@@ -127,7 +165,11 @@ Bug Fixes::
|
|
|
127
165
|
* enforce and report relative include depth properly (depth=0 rather than depth=1 disables nested includes)
|
|
128
166
|
* allow outfilesuffix to be soft set from API (#2640)
|
|
129
167
|
* don't split paragraphs in table cell at line that resolves to blank if adjacent to other non-blank lines (#2963)
|
|
130
|
-
*
|
|
168
|
+
* initialize the level to WARN when instantiating the NullLogger
|
|
169
|
+
* next_adjacent_block should not fail when called on dlist item (#3133)
|
|
170
|
+
* don't suppress browser styles for summary tag; add pointer cursor and panel margin bottom (#3155)
|
|
171
|
+
* only consider TLDs in e-mail address that have ASCII alpha characters
|
|
172
|
+
* allow underscore in domain of e-mail address
|
|
131
173
|
|
|
132
174
|
Build / Infrastructure::
|
|
133
175
|
|
|
@@ -136,6 +178,7 @@ Build / Infrastructure::
|
|
|
136
178
|
* add Ruby 2.6.0 to build matrix
|
|
137
179
|
* stop running CI job on unsupported versions of Ruby
|
|
138
180
|
* exclude test suite, build script, and Gemfile from gem (#3044)
|
|
181
|
+
* split build tasks out into individual files
|
|
139
182
|
|
|
140
183
|
// tag::compact[]
|
|
141
184
|
== 1.5.8 (2018-10-28) - @mojavelinux
|
|
@@ -1454,7 +1497,7 @@ Distribution Packages::
|
|
|
1454
1497
|
* https://rubygems.org/gems/asciidoctor[RubyGem (asciidoctor)]
|
|
1455
1498
|
* https://apps.fedoraproject.org/packages/rubygem-asciidoctor[Fedora (rubygem-asciidoctor)]
|
|
1456
1499
|
|
|
1457
|
-
|
|
1500
|
+
https://asciidoctor.org/news/2013/05/31/asciidoctor-0-1-3-released[release notes] |
|
|
1458
1501
|
https://github.com/asciidoctor/asciidoctor/issues?milestone=4&state=closed[issues resolved] |
|
|
1459
1502
|
https://github.com/asciidoctor/asciidoctor/releases/tag/v0.1.3[git tag] |
|
|
1460
1503
|
https://github.com/asciidoctor/asciidoctor/compare/v0.1.2\...v0.1.3[full diff]
|
|
@@ -1467,7 +1510,7 @@ Performance::
|
|
|
1467
1510
|
|
|
1468
1511
|
Enhancements::
|
|
1469
1512
|
|
|
1470
|
-
* new website at
|
|
1513
|
+
* new website at https://asciidoctor.org
|
|
1471
1514
|
* added a default stylesheet (#76)
|
|
1472
1515
|
* added viewport meta tag for mobile browsers (#238)
|
|
1473
1516
|
* set attributes based on safe mode (#244)
|
|
@@ -1509,7 +1552,7 @@ Distribution Packages::
|
|
|
1509
1552
|
|
|
1510
1553
|
* https://rubygems.org/gems/asciidoctor[RubyGem (asciidoctor)]
|
|
1511
1554
|
|
|
1512
|
-
|
|
1555
|
+
https://asciidoctor.org/news/2013/04/25/asciidoctor-0-1-2-released[release notes] |
|
|
1513
1556
|
https://github.com/asciidoctor/asciidoctor/issues?milestone=3&state=closed[issues resolved] |
|
|
1514
1557
|
https://github.com/asciidoctor/asciidoctor/releases/tag/v0.1.2[git tag] |
|
|
1515
1558
|
https://github.com/asciidoctor/asciidoctor/compare/v0.1.1\...v0.1.2[full diff]
|
data/README-de.adoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= Asciidoctor
|
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
|
|
3
|
-
v2.0.0
|
|
3
|
+
v2.0.0, 2019-03-22
|
|
4
4
|
// settings:
|
|
5
5
|
:idprefix:
|
|
6
6
|
:idseparator: -
|
|
@@ -17,13 +17,13 @@ ifdef::env-github[]
|
|
|
17
17
|
:warning-caption: :warning:
|
|
18
18
|
endif::[]
|
|
19
19
|
// Variables:
|
|
20
|
-
:release-version: 2.0.0
|
|
20
|
+
:release-version: 2.0.0
|
|
21
21
|
// URIs:
|
|
22
22
|
:uri-org: https://github.com/asciidoctor
|
|
23
23
|
:uri-repo: {uri-org}/asciidoctor
|
|
24
24
|
:uri-asciidoctorj: {uri-org}/asciidoctorj
|
|
25
25
|
:uri-asciidoctorjs: {uri-org}/asciidoctor.js
|
|
26
|
-
:uri-project:
|
|
26
|
+
:uri-project: https://asciidoctor.org
|
|
27
27
|
ifdef::env-site[:uri-project: link:]
|
|
28
28
|
:uri-docs: {uri-project}/docs
|
|
29
29
|
:uri-news: {uri-project}/news
|
|
@@ -97,12 +97,6 @@ endif::[]
|
|
|
97
97
|
|
|
98
98
|
Wir möchten unseren großzügigen Sponsoren danken, ohne deren Unterstützung Asciidoctor nicht möglich wäre.
|
|
99
99
|
Vielen Dank an die Sponsoren für ihr Engagement zur Verbesserung der technischen Dokumentation!
|
|
100
|
-
|
|
101
|
-
image:https://www.okta.com/sites/all/themes/Okta/images/blog/Logos/Okta_Logo_BrightBlue_Medium.png[Okta,280,link=https://developer.okta.com/signup?utm_source=asciidoctor&utm_medium=logo&utm_campaign=sponsor,title="Add User Auth to Your Apps in Minutes with Okta"]
|
|
102
|
-
|
|
103
|
-
image:https://secure.gravatar.com/avatar/823717a797dbd78ceff7b26aa397f383.png?size=200[OpenDevise,100,link=https://opendevise.com,title="Let the Creators of Asciidoctor and Antora Help You to Accelerate Your Docs"]
|
|
104
|
-
|
|
105
|
-
Unsere Change Makers, https://developer.okta.com/signup?utm_source=asciidoctor&utm_medium=text-link&utm_campaign=sponsor[Okta] und https://opendevise.com[OpenDevise], sowie unsere Strategiesponsoren https://www.khronos.org/[Khronos Group] und Linda Roberts finanzieren Asciidoctor maßgeblich.
|
|
106
100
|
Zusätzliche Mittel werden von unseren https://asciidoctor.org/supporters[Community Backers] zur Verfügung gestellt.
|
|
107
101
|
|
|
108
102
|
Sie können dieses Projekt unterstützen, indem Sie Sponsor bei https://opencollective.com/asciidoctor[OpenCollective] werden.
|
|
@@ -142,6 +136,7 @@ Asciidoctor arbeitet unter Linux, MacOS und Windows und benötigt eine der folge
|
|
|
142
136
|
|
|
143
137
|
* CRuby (aka MRI) 2.3 - 2.6
|
|
144
138
|
* JRuby 9.1 - 9.2
|
|
139
|
+
* TruffleRuby (GraalVM)
|
|
145
140
|
* Opal (JavaScript)
|
|
146
141
|
|
|
147
142
|
[CAUTION]
|
data/README-fr.adoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= Asciidoctor
|
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
|
|
3
|
-
v2.0.0
|
|
3
|
+
v2.0.0, 2019-03-22
|
|
4
4
|
// settings:
|
|
5
5
|
:idprefix:
|
|
6
6
|
:idseparator: -
|
|
@@ -17,13 +17,13 @@ ifdef::env-github[]
|
|
|
17
17
|
:warning-caption: :warning:
|
|
18
18
|
endif::[]
|
|
19
19
|
// Variables:
|
|
20
|
-
:release-version: 2.0.0
|
|
20
|
+
:release-version: 2.0.0
|
|
21
21
|
// URIs:
|
|
22
22
|
:uri-org: https://github.com/asciidoctor
|
|
23
23
|
:uri-repo: {uri-org}/asciidoctor
|
|
24
24
|
:uri-asciidoctorj: {uri-org}/asciidoctorj
|
|
25
25
|
:uri-asciidoctorjs: {uri-org}/asciidoctor.js
|
|
26
|
-
:uri-project:
|
|
26
|
+
:uri-project: https://asciidoctor.org
|
|
27
27
|
ifdef::env-site[:uri-project: link:]
|
|
28
28
|
:uri-docs: {uri-project}/docs
|
|
29
29
|
:uri-news: {uri-project}/news
|
|
@@ -53,7 +53,7 @@ endif::[]
|
|
|
53
53
|
:uri-gitscm-repo: https://github.com/git/git-scm.com
|
|
54
54
|
:uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
|
|
55
55
|
:uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
|
|
56
|
-
:uri-foundation:
|
|
56
|
+
:uri-foundation: https://foundation.zurb.com
|
|
57
57
|
:uri-tilt: https://github.com/rtomayko/tilt
|
|
58
58
|
:uri-ruby: https://ruby-lang.org
|
|
59
59
|
// images:
|
|
@@ -94,12 +94,6 @@ endif::[]
|
|
|
94
94
|
|
|
95
95
|
Nous souhaitons exprimer toute notre reconnaissance à nos généreux sponsors, sans qui Asciidoctor ne pourrait pas exister.
|
|
96
96
|
Merci à vous pour votre engagement dans l'amélioration de la documentation technique !
|
|
97
|
-
|
|
98
|
-
image:https://www.okta.com/sites/all/themes/Okta/images/blog/Logos/Okta_Logo_BrightBlue_Medium.png[Okta,280,link=https://developer.okta.com/signup?utm_source=asciidoctor&utm_medium=logo&utm_campaign=sponsor,title="Add User Auth to Your Apps in Minutes with Okta"]
|
|
99
|
-
|
|
100
|
-
image:https://secure.gravatar.com/avatar/823717a797dbd78ceff7b26aa397f383.png?size=200[OpenDevise,100,link=https://opendevise.com,title="Let the Creators of Asciidoctor and Antora Help You to Accelerate Your Docs"]
|
|
101
|
-
|
|
102
|
-
Asciidoctor est financé majoritairement par nos *Change Makers*, https://developer.okta.com/signup?utm_source=asciidoctor&utm_medium=text-link&utm_campaign=sponsor[Okta] et https://opendevise.com[OpenDevise], ainsi que par nos *Strategy Sponsors*, https://www.khronos.org/[Khronos Group] et Linda Roberts.
|
|
103
97
|
Un apport financier supplémentaire est assuré par https://asciidoctor.org/supporters[la communauté].
|
|
104
98
|
|
|
105
99
|
Vous pouvez aider ce projet en devant un sponsor sur https://opencollective.com/asciidoctor[OpenCollective].
|
|
@@ -139,6 +133,7 @@ Asciidoctor fonctionne sur Linux, macOS et Windows et requiert une des implémen
|
|
|
139
133
|
|
|
140
134
|
* CRuby (aka MRI) 2.3 - 2.6
|
|
141
135
|
* JRuby 9.1 - 9.2
|
|
136
|
+
* TruffleRuby (GraalVM)
|
|
142
137
|
* Opal (JavaScript)
|
|
143
138
|
|
|
144
139
|
[CAUTION]
|
|
@@ -296,7 +291,7 @@ Vous devriez voir les informations concernant la version d'Asciidoctor et celle
|
|
|
296
291
|
|
|
297
292
|
[.output,subs=attributes+]
|
|
298
293
|
....
|
|
299
|
-
Asciidoctor {release-version} [
|
|
294
|
+
Asciidoctor {release-version} [https://asciidoctor.org]
|
|
300
295
|
Runtime Environment (ruby 2.4.1p111 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
|
|
301
296
|
....
|
|
302
297
|
|
|
@@ -347,7 +342,7 @@ Vous pouvez aussi convertir une chaîne de texte en fragment HTML (pour une inse
|
|
|
347
342
|
|
|
348
343
|
[source]
|
|
349
344
|
----
|
|
350
|
-
content = '_Zen_ in the art of writing
|
|
345
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
351
346
|
Asciidoctor.convert content, safe: :safe
|
|
352
347
|
----
|
|
353
348
|
|
|
@@ -355,7 +350,7 @@ Si vous voulez le document HTML complet, activez l'option `header_footer` comme
|
|
|
355
350
|
|
|
356
351
|
[source]
|
|
357
352
|
----
|
|
358
|
-
content = '_Zen_ in the art of writing
|
|
353
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
359
354
|
html = Asciidoctor.convert content, header_footer: true, safe: :safe
|
|
360
355
|
----
|
|
361
356
|
|
|
@@ -363,7 +358,7 @@ Si vous avez besoin d'accéder au document analysé, vous pouvez séparer la con
|
|
|
363
358
|
|
|
364
359
|
[source]
|
|
365
360
|
----
|
|
366
|
-
content = '_Zen_ in the art of writing
|
|
361
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
367
362
|
document = Asciidoctor.load content, header_footer: true, safe: :safe
|
|
368
363
|
puts document.doctitle
|
|
369
364
|
html = document.convert
|
data/README-jp.adoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= Asciidoctor
|
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
|
|
3
|
-
v2.0.0
|
|
3
|
+
v2.0.0, 2019-03-22
|
|
4
4
|
// settings:
|
|
5
5
|
:page-layout: base
|
|
6
6
|
:idprefix:
|
|
@@ -18,13 +18,13 @@ ifdef::env-github[]
|
|
|
18
18
|
:warning-caption: :warning:
|
|
19
19
|
endif::[]
|
|
20
20
|
// Variables:
|
|
21
|
-
:release-version: 2.0.0
|
|
21
|
+
:release-version: 2.0.0
|
|
22
22
|
// URIs:
|
|
23
23
|
:uri-org: https://github.com/asciidoctor
|
|
24
24
|
:uri-repo: {uri-org}/asciidoctor
|
|
25
25
|
:uri-asciidoctorj: {uri-org}/asciidoctorj
|
|
26
26
|
:uri-asciidoctorjs: {uri-org}/asciidoctor.js
|
|
27
|
-
:uri-project:
|
|
27
|
+
:uri-project: https://asciidoctor.org
|
|
28
28
|
ifdef::env-site[:uri-project: link:]
|
|
29
29
|
:uri-docs: {uri-project}/docs
|
|
30
30
|
:uri-news: {uri-project}/news
|
|
@@ -54,7 +54,7 @@ endif::[]
|
|
|
54
54
|
:uri-gitscm-repo: https://github.com/git/git-scm.com
|
|
55
55
|
:uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
|
|
56
56
|
:uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
|
|
57
|
-
:uri-foundation:
|
|
57
|
+
:uri-foundation: https://foundation.zurb.com
|
|
58
58
|
:uri-tilt: https://github.com/rtomayko/tilt
|
|
59
59
|
:uri-ruby: https://ruby-lang.org
|
|
60
60
|
// images:
|
|
@@ -87,7 +87,7 @@ Javaや他のJVM言語からAsciidoctor APIを直接呼び出すには, {uri-as
|
|
|
87
87
|
AsciidoctorJに基づいた, AsciidoctorプロセッサをApache Maven, GradleやJavadocに統合するプラグインがあります.
|
|
88
88
|
|
|
89
89
|
AsciidoctorはJavaScriptでも実行可能です.
|
|
90
|
-
{uri-asciidoctorjs}[Asciidoctor.js], WebブラウザやNode.jsのようなJavaScript環境で動くAsciidoctorの完全機能版, を生成するために, RubyのソースをJavaScriptにトランスパイルするのに
|
|
90
|
+
{uri-asciidoctorjs}[Asciidoctor.js], WebブラウザやNode.jsのようなJavaScript環境で動くAsciidoctorの完全機能版, を生成するために, RubyのソースをJavaScriptにトランスパイルするのに https://opalrb.com[Opal]を使います.
|
|
91
91
|
Asciidoctor.jsはChrome, Atom, Brackets や他のウェブベースのツールの拡張機能としてAsciiDocのプレビューのために使われます.
|
|
92
92
|
****
|
|
93
93
|
|
|
@@ -123,6 +123,7 @@ AsciidoctorはLinux, OS X (Mac)とWindowsで動き, 下記の {uri-ruby}[Ruby]
|
|
|
123
123
|
|
|
124
124
|
* CRuby (aka MRI) 2.3 - 2.6
|
|
125
125
|
* JRuby 9.1 - 9.2
|
|
126
|
+
* TruffleRuby (GraalVM)
|
|
126
127
|
* Opal (JavaScript)
|
|
127
128
|
|
|
128
129
|
[CAUTION]
|
|
@@ -220,7 +221,7 @@ TIP: お使いのシステムは自動的にdebパッケージをアップデー
|
|
|
220
221
|
ディストリビューションのリリース毎に, どのバージョンがパッケージされているかはパッケージリポジトリを調べてください.
|
|
221
222
|
|
|
222
223
|
* https://packages.debian.org/search?keywords=asciidoctor&searchon=names&exact=1&suite=all§ion=all[asciidoctor package by Debian release]
|
|
223
|
-
*
|
|
224
|
+
* https://packages.ubuntu.com/search?keywords=asciidoctor&searchon=names&exact=1&suite=all§ion=all[asciidoctor package by Ubuntu release]
|
|
224
225
|
* https://community.linuxmint.com/software/view/asciidoctor[asciidoctor package by Mint release]
|
|
225
226
|
|
|
226
227
|
[CAUTION]
|
|
@@ -229,7 +230,7 @@ TIP: お使いのシステムは自動的にdebパッケージをアップデー
|
|
|
229
230
|
そのようなことをするのは, パッケージマネージャがファイル(/usr/local下にインストールされた)を追跡できなくなるためにシステムが不安定な状態にするためです.
|
|
230
231
|
単純に, システムgemはパッケージマネージャによってのみ管理されるべきです.
|
|
231
232
|
|
|
232
|
-
もし, パッケージマネージャによってインストールされたのより新しいバージョンのAsciidoctorを使いたければ,
|
|
233
|
+
もし, パッケージマネージャによってインストールされたのより新しいバージョンのAsciidoctorを使いたければ, https://rvm.io[RVM] や https://github.com/rbenv/rbenv[rbenv]を使ってRubyをホームディレクトリ(すなわち, ユーザースペース)にインストールするべきです.
|
|
233
234
|
それから, 安心して `gem` コマンドをAsciidoctorのアップデート, インストールのために使うことができます.
|
|
234
235
|
RVMやrbenvを使っているなら, gemはシステムからは孤立した場所にインストールされます.
|
|
235
236
|
====
|
|
@@ -264,7 +265,7 @@ AsciidoctorのバージョンとRuby環境についての情報がターミナ
|
|
|
264
265
|
|
|
265
266
|
[.output,subs=attributes+]
|
|
266
267
|
....
|
|
267
|
-
Asciidoctor {release-version} [
|
|
268
|
+
Asciidoctor {release-version} [https://asciidoctor.org]
|
|
268
269
|
Runtime Environment (ruby 2.4.1p111 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
|
|
269
270
|
....
|
|
270
271
|
|
|
@@ -315,7 +316,7 @@ AsciiDoc文字列を埋め込みHTML(HTMLページヘの挿入)へ変換する
|
|
|
315
316
|
|
|
316
317
|
[source]
|
|
317
318
|
----
|
|
318
|
-
content = '_Zen_ in the art of writing
|
|
319
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
319
320
|
Asciidoctor.convert content, safe: :safe
|
|
320
321
|
----
|
|
321
322
|
|
|
@@ -323,7 +324,7 @@ Asciidoctor.convert content, safe: :safe
|
|
|
323
324
|
|
|
324
325
|
[source]
|
|
325
326
|
----
|
|
326
|
-
content = '_Zen_ in the art of writing
|
|
327
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
327
328
|
html = Asciidoctor.convert content, header_footer: true, safe: :safe
|
|
328
329
|
----
|
|
329
330
|
|
|
@@ -331,7 +332,7 @@ html = Asciidoctor.convert content, header_footer: true, safe: :safe
|
|
|
331
332
|
|
|
332
333
|
[source]
|
|
333
334
|
----
|
|
334
|
-
content = '_Zen_ in the art of writing
|
|
335
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
335
336
|
document = Asciidoctor.load content, header_footer: true, safe: :safe
|
|
336
337
|
puts document.doctitle
|
|
337
338
|
html = document.convert
|
data/README-zh_CN.adoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= Asciidoctor
|
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
|
|
3
|
-
v2.0.0
|
|
3
|
+
v2.0.0, 2019-03-22
|
|
4
4
|
// settings:
|
|
5
5
|
:page-layout: base
|
|
6
6
|
:idprefix:
|
|
@@ -18,13 +18,13 @@ ifdef::env-github[]
|
|
|
18
18
|
:warning-caption: :warning:
|
|
19
19
|
endif::[]
|
|
20
20
|
// Variables:
|
|
21
|
-
:release-version: 2.0.0
|
|
21
|
+
:release-version: 2.0.0
|
|
22
22
|
// URIs:
|
|
23
23
|
:uri-org: https://github.com/asciidoctor
|
|
24
24
|
:uri-repo: {uri-org}/asciidoctor
|
|
25
25
|
:uri-asciidoctorj: {uri-org}/asciidoctorj
|
|
26
26
|
:uri-asciidoctorjs: {uri-org}/asciidoctor.js
|
|
27
|
-
:uri-project:
|
|
27
|
+
:uri-project: https://asciidoctor.org
|
|
28
28
|
ifdef::env-site[:uri-project: link:]
|
|
29
29
|
:uri-docs: {uri-project}/docs
|
|
30
30
|
:uri-news: {uri-project}/news
|
|
@@ -54,7 +54,7 @@ endif::[]
|
|
|
54
54
|
:uri-gitscm-repo: https://github.com/git/git-scm.com
|
|
55
55
|
:uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
|
|
56
56
|
:uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
|
|
57
|
-
:uri-foundation:
|
|
57
|
+
:uri-foundation: https://foundation.zurb.com
|
|
58
58
|
:uri-tilt: https://github.com/rtomayko/tilt
|
|
59
59
|
:uri-ruby: https://ruby-lang.org
|
|
60
60
|
// images:
|
|
@@ -85,7 +85,7 @@ Asciidoctor 是开源的,{uri-repo}[代码]托管在 GitHub,遵从 {uri-lice
|
|
|
85
85
|
基于 AsciidoctorJ 有好多插件可用,这些插件可以将 Asciidoctor 整合到 Apache Maven,Gradle 或 Javadoc 构建中。
|
|
86
86
|
|
|
87
87
|
Asciidoctor 也可以运行在 JavaScript 上。
|
|
88
|
-
我们可以使用
|
|
88
|
+
我们可以使用 https://opalrb.com[Opal] 将 Ruby 源码编译成 JavaScript 生成 {uri-asciidoctorjs}[Asciidoctor.js] 文件,这是一个全功能版的 Asciidoctor,可以运行在任意的 JavaScript 环境中,比如 Web 浏览器 或 Node.js。
|
|
89
89
|
Asciidoctor.js 被用于预览 AsciiDoc,支持 Chrome 扩展,Atom,Brackets 或其他基于 Web 的工具。
|
|
90
90
|
****
|
|
91
91
|
|
|
@@ -125,6 +125,7 @@ Asciidoctor 可以运行在 Linux,OSX (Mac) 和 Windows 系统,但需要安
|
|
|
125
125
|
|
|
126
126
|
* CRuby (aka MRI) 2.3 - 2.6
|
|
127
127
|
* JRuby 9.1 - 9.2
|
|
128
|
+
* TruffleRuby (GraalVM)
|
|
128
129
|
* Opal (JavaScript)
|
|
129
130
|
|
|
130
131
|
我们欢迎你来帮助在这些以及其他平台测试 Asciidoctor。
|
|
@@ -231,7 +232,7 @@ TIP: 如果你的 Debian 或 Ubuntu 系统配置的是自动升级包,在这
|
|
|
231
232
|
请查看发行版的包库,来确定每个发行版是打包的哪个版本。
|
|
232
233
|
|
|
233
234
|
* https://packages.debian.org/search?keywords=asciidoctor&searchon=names&exact=1&suite=all§ion=all[Debian 发行版中的 asciidoctor]
|
|
234
|
-
*
|
|
235
|
+
* https://packages.ubuntu.com/search?keywords=asciidoctor&searchon=names&exact=1&suite=all§ion=all[Ubuntu 发行版中的 asciidoctor]
|
|
235
236
|
* https://community.linuxmint.com/software/view/asciidoctor[Mint 发行版中的 asciidoctor]
|
|
236
237
|
|
|
237
238
|
[CAUTION]
|
|
@@ -240,7 +241,7 @@ TIP: 如果你的 Debian 或 Ubuntu 系统配置的是自动升级包,在这
|
|
|
240
241
|
这样做会使系统进入不一致的状态,包管理工具将不再跟踪相关文件(通常安装在 /usr/local 下。)
|
|
241
242
|
简单地说,系统的 gem 只能由包管理器进行管理。
|
|
242
243
|
|
|
243
|
-
如果你想使用一个比包管理器安装的更新版本的 Asciidoctor,你应该使用
|
|
244
|
+
如果你想使用一个比包管理器安装的更新版本的 Asciidoctor,你应该使用 https://rvm.io[RVM] 在你的用户家目录(比如:用户空间)下安装 Ruby。
|
|
244
245
|
然后,你就可以放心地使用 `gem` 命令来安装或者更新 Asciidoctor gem。
|
|
245
246
|
当使用 RVM 时,gem 将被安装到与系统隔离的位置。
|
|
246
247
|
====
|
|
@@ -276,7 +277,7 @@ TIP: 如果你的 Alpine Linux 系统配置的是自动升级包,在这种情
|
|
|
276
277
|
|
|
277
278
|
[.output,subs=attributes+]
|
|
278
279
|
....
|
|
279
|
-
Asciidoctor {release-version} [
|
|
280
|
+
Asciidoctor {release-version} [https://asciidoctor.org]
|
|
280
281
|
Runtime Environment (ruby 2.4.1p111 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
|
|
281
282
|
....
|
|
282
283
|
|
|
@@ -329,7 +330,7 @@ WARNING: 当你通过 API 使用 Asciidoctor 时,默认的安全模式是 `:se
|
|
|
329
330
|
|
|
330
331
|
[source]
|
|
331
332
|
----
|
|
332
|
-
content = '_Zen_ in the art of writing
|
|
333
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
333
334
|
Asciidoctor.convert content, safe: :safe
|
|
334
335
|
----
|
|
335
336
|
|
|
@@ -337,7 +338,7 @@ Asciidoctor.convert content, safe: :safe
|
|
|
337
338
|
|
|
338
339
|
[source]
|
|
339
340
|
----
|
|
340
|
-
content = '_Zen_ in the art of writing
|
|
341
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
341
342
|
html = Asciidoctor.convert content, header_footer: true, safe: :safe
|
|
342
343
|
----
|
|
343
344
|
|
|
@@ -345,7 +346,7 @@ html = Asciidoctor.convert content, header_footer: true, safe: :safe
|
|
|
345
346
|
|
|
346
347
|
[source]
|
|
347
348
|
----
|
|
348
|
-
content = '_Zen_ in the art of writing
|
|
349
|
+
content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
|
|
349
350
|
document = Asciidoctor.load content, header_footer: true, safe: :safe
|
|
350
351
|
puts document.doctitle
|
|
351
352
|
html = document.convert
|
data/README.adoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= Asciidoctor
|
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
|
|
3
|
-
v2.0.0
|
|
3
|
+
v2.0.0, 2019-03-22
|
|
4
4
|
// settings:
|
|
5
5
|
:idprefix:
|
|
6
6
|
:idseparator: -
|
|
@@ -17,7 +17,7 @@ ifdef::env-github[]
|
|
|
17
17
|
:warning-caption: :warning:
|
|
18
18
|
endif::[]
|
|
19
19
|
// Variables:
|
|
20
|
-
:release-version: 2.0.0
|
|
20
|
+
:release-version: 2.0.0
|
|
21
21
|
// URIs:
|
|
22
22
|
:uri-org: https://github.com/asciidoctor
|
|
23
23
|
:uri-repo: {uri-org}/asciidoctor
|
|
@@ -101,11 +101,7 @@ endif::[]
|
|
|
101
101
|
We want to recognize our generous sponsors, without whose support Asciidoctor would not be possible.
|
|
102
102
|
Thank you sponsors for your dedication to improving the state of technical documentation!
|
|
103
103
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
image:https://secure.gravatar.com/avatar/823717a797dbd78ceff7b26aa397f383.png?size=200[OpenDevise,100,link=https://opendevise.com,title="Let the Creators of Asciidoctor and Antora Help You to Accelerate Your Docs"]
|
|
107
|
-
|
|
108
|
-
Major funding for Asciidoctor is provided by our *Change Makers*, https://developer.okta.com/signup?utm_source=asciidoctor&utm_medium=text-link&utm_campaign=sponsor[Okta] and https://opendevise.com[OpenDevise], and our *Strategy Sponsors*, https://www.khronos.org/[Khronos Group] and Linda Roberts.
|
|
104
|
+
Major funding for Asciidoctor is provided by our *Change Maker*, https://opendevise.com[OpenDevise], our *Strategy Sponsors*, https://www.khronos.org/[Khronos Group] and Linda Roberts, and our *Pull Request Backers*, Brian Dominick, Guillaume Grossetie, and Abel Salgado Romero.
|
|
109
105
|
Additional funding is provided by our https://asciidoctor.org/supporters[Community Backers].
|
|
110
106
|
|
|
111
107
|
You can support this project by becoming a sponsor on https://opencollective.com/asciidoctor[OpenCollective].
|
|
@@ -145,6 +141,7 @@ Asciidoctor works on Linux, macOS and Windows and requires one of the following
|
|
|
145
141
|
|
|
146
142
|
* CRuby (aka MRI) 2.3 - 2.6
|
|
147
143
|
* JRuby 9.1 - 9.2
|
|
144
|
+
* TruffleRuby (GraalVM)
|
|
148
145
|
* Opal (JavaScript)
|
|
149
146
|
|
|
150
147
|
[CAUTION]
|
|
@@ -8,15 +8,16 @@
|
|
|
8
8
|
:figure-caption: Abbildung
|
|
9
9
|
:important-caption: Wichtig
|
|
10
10
|
:last-update-label: Zuletzt aktualisiert
|
|
11
|
-
|
|
11
|
+
ifdef::listing-caption[:listing-caption: Listing]
|
|
12
12
|
ifdef::manname-title[:manname-title: Bezeichnung]
|
|
13
13
|
:note-caption: Anmerkung
|
|
14
|
-
|
|
14
|
+
:part-label: Teil
|
|
15
|
+
:part-refsig: {part-label}
|
|
15
16
|
ifdef::preface-title[:preface-title: Vorwort]
|
|
16
17
|
:section-refsig: Abschnitt
|
|
17
18
|
:table-caption: Tabelle
|
|
18
19
|
:tip-caption: Hinweis
|
|
19
|
-
:toc-title:
|
|
20
|
+
:toc-title: Inhaltsverzeichnis
|
|
20
21
|
:untitled-label: Ohne Titel
|
|
21
22
|
:version-label: Version
|
|
22
23
|
:warning-caption: Warnung
|
data/data/reference/syntax.adoc
CHANGED
|
@@ -131,7 +131,7 @@ Attach a block or paragraph to a list item using a list continuation (which you
|
|
|
131
131
|
=== Callout
|
|
132
132
|
|
|
133
133
|
// enable callout bubbles by adding `:icons: font` to the document header
|
|
134
|
-
[
|
|
134
|
+
[,ruby]
|
|
135
135
|
----
|
|
136
136
|
puts 'Hello, World!' # <1>
|
|
137
137
|
----
|
|
@@ -188,6 +188,12 @@ admonition - a notice for the reader, ranging in severity from a tip to an alert
|
|
|
188
188
|
example - a demonstration of the concept being documented
|
|
189
189
|
====
|
|
190
190
|
|
|
191
|
+
.Toggle Me
|
|
192
|
+
[%collapsible]
|
|
193
|
+
====
|
|
194
|
+
collapsible - these details are revealed by clicking the title
|
|
195
|
+
====
|
|
196
|
+
|
|
191
197
|
****
|
|
192
198
|
sidebar - auxiliary content that can be read independently of the main content
|
|
193
199
|
****
|
|
@@ -200,7 +206,7 @@ literal - an exhibit that features program output
|
|
|
200
206
|
listing - an exhibit that features program input, source code, or the contents of a file
|
|
201
207
|
----
|
|
202
208
|
|
|
203
|
-
[
|
|
209
|
+
[,language]
|
|
204
210
|
----
|
|
205
211
|
source - a listing that is embellished with (colorized) syntax highlighting
|
|
206
212
|
----
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */
|
|
2
2
|
/* Uncomment @import statement when using as custom stylesheet */
|
|
3
3
|
/*@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700";*/
|
|
4
|
-
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section
|
|
4
|
+
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}
|
|
5
5
|
audio,canvas,video{display:inline-block}
|
|
6
6
|
audio:not([controls]){display:none;height:0}
|
|
7
7
|
script{display:none!important}
|
|
@@ -186,7 +186,8 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
|
186
186
|
#content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible}
|
|
187
187
|
#content h1>a.link,h2>a.link,h3>a.link,#toctitle>a.link,.sidebarblock>.content>.title>a.link,h4>a.link,h5>a.link,h6>a.link{color:#ba3925;text-decoration:none}
|
|
188
188
|
#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}
|
|
189
|
-
|
|
189
|
+
details,.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
|
|
190
|
+
details>summary:first-of-type{cursor:pointer;display:list-item;outline:none;margin-bottom:.75em}
|
|
190
191
|
.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic}
|
|
191
192
|
table.tableblock.fit-content>caption.title{white-space:nowrap;width:0}
|
|
192
193
|
.paragraph.lead>p,#preamble>.sectionbody>[class="paragraph"]:first-of-type p{font-size:1.21875em;line-height:1.6;color:rgba(0,0,0,.85)}
|