asciidoctor 1.5.8 → 2.0.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +162 -17
  3. data/LICENSE +1 -1
  4. data/README-de.adoc +12 -13
  5. data/README-fr.adoc +11 -12
  6. data/README-jp.adoc +11 -12
  7. data/README-zh_CN.adoc +12 -13
  8. data/README.adoc +6 -7
  9. data/asciidoctor.gemspec +19 -24
  10. data/bin/asciidoctor +5 -4
  11. data/data/reference/syntax.adoc +283 -0
  12. data/data/stylesheets/asciidoctor-default.css +56 -52
  13. data/data/stylesheets/coderay-asciidoctor.css +7 -9
  14. data/lib/asciidoctor.rb +171 -232
  15. data/lib/asciidoctor/abstract_block.rb +96 -105
  16. data/lib/asciidoctor/abstract_node.rb +118 -139
  17. data/lib/asciidoctor/attribute_list.rb +10 -14
  18. data/lib/asciidoctor/block.rb +20 -19
  19. data/lib/asciidoctor/callouts.rb +4 -2
  20. data/lib/asciidoctor/cli.rb +3 -2
  21. data/lib/asciidoctor/cli/invoker.rb +14 -21
  22. data/lib/asciidoctor/cli/options.rb +64 -54
  23. data/lib/asciidoctor/converter.rb +357 -185
  24. data/lib/asciidoctor/converter/composite.rb +40 -48
  25. data/lib/asciidoctor/converter/docbook5.rb +604 -640
  26. data/lib/asciidoctor/converter/html5.rb +949 -963
  27. data/lib/asciidoctor/converter/manpage.rb +569 -548
  28. data/lib/asciidoctor/converter/template.rb +231 -272
  29. data/lib/asciidoctor/core_ext.rb +5 -18
  30. data/lib/asciidoctor/core_ext/float/truncate.rb +19 -0
  31. data/lib/asciidoctor/core_ext/match_data/names.rb +7 -0
  32. data/lib/asciidoctor/core_ext/nil_or_empty.rb +1 -0
  33. data/lib/asciidoctor/core_ext/regexp/is_match.rb +4 -2
  34. data/lib/asciidoctor/document.rb +399 -377
  35. data/lib/asciidoctor/extensions.rb +72 -140
  36. data/lib/asciidoctor/helpers.rb +122 -83
  37. data/lib/asciidoctor/inline.rb +5 -1
  38. data/lib/asciidoctor/list.rb +13 -11
  39. data/lib/asciidoctor/logging.rb +17 -16
  40. data/lib/asciidoctor/parser.rb +390 -423
  41. data/lib/asciidoctor/path_resolver.rb +10 -5
  42. data/lib/asciidoctor/reader.rb +286 -263
  43. data/lib/asciidoctor/rouge_ext.rb +39 -0
  44. data/lib/asciidoctor/section.rb +9 -8
  45. data/lib/asciidoctor/stylesheets.rb +19 -37
  46. data/lib/asciidoctor/substitutors.rb +364 -509
  47. data/lib/asciidoctor/syntax_highlighter.rb +238 -0
  48. data/lib/asciidoctor/syntax_highlighter/coderay.rb +87 -0
  49. data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +26 -0
  50. data/lib/asciidoctor/syntax_highlighter/html_pipeline.rb +10 -0
  51. data/lib/asciidoctor/syntax_highlighter/prettify.rb +27 -0
  52. data/lib/asciidoctor/syntax_highlighter/pygments.rb +149 -0
  53. data/lib/asciidoctor/syntax_highlighter/rouge.rb +129 -0
  54. data/lib/asciidoctor/table.rb +73 -66
  55. data/lib/asciidoctor/timings.rb +4 -2
  56. data/lib/asciidoctor/version.rb +2 -1
  57. data/lib/asciidoctor/writer.rb +30 -0
  58. data/man/asciidoctor.1 +19 -15
  59. data/man/asciidoctor.adoc +14 -12
  60. metadata +69 -216
  61. data/CONTRIBUTING.adoc +0 -185
  62. data/Gemfile +0 -60
  63. data/Rakefile +0 -129
  64. data/bin/asciidoctor-safe +0 -15
  65. data/features/open_block.feature +0 -92
  66. data/features/pass_block.feature +0 -66
  67. data/features/step_definitions.rb +0 -49
  68. data/features/text_formatting.feature +0 -57
  69. data/features/xref.feature +0 -1039
  70. data/lib/asciidoctor/converter/base.rb +0 -59
  71. data/lib/asciidoctor/converter/docbook45.rb +0 -93
  72. data/lib/asciidoctor/converter/factory.rb +0 -226
  73. data/lib/asciidoctor/core_ext/1.8.7/base64/strict_encode64.rb +0 -6
  74. data/lib/asciidoctor/core_ext/1.8.7/concurrent/hash.rb +0 -5
  75. data/lib/asciidoctor/core_ext/1.8.7/hash/key.rb +0 -4
  76. data/lib/asciidoctor/core_ext/1.8.7/io/binread.rb +0 -6
  77. data/lib/asciidoctor/core_ext/1.8.7/io/write.rb +0 -5
  78. data/lib/asciidoctor/core_ext/1.8.7/string/chr.rb +0 -6
  79. data/lib/asciidoctor/core_ext/1.8.7/string/limit_bytesize.rb +0 -29
  80. data/lib/asciidoctor/core_ext/1.8.7/symbol/empty.rb +0 -6
  81. data/lib/asciidoctor/core_ext/1.8.7/symbol/length.rb +0 -6
  82. data/lib/asciidoctor/core_ext/string/limit_bytesize.rb +0 -10
  83. data/test/api_test.rb +0 -1240
  84. data/test/attribute_list_test.rb +0 -242
  85. data/test/attributes_test.rb +0 -1623
  86. data/test/blocks_test.rb +0 -3870
  87. data/test/converter_test.rb +0 -470
  88. data/test/document_test.rb +0 -1853
  89. data/test/extensions_test.rb +0 -1560
  90. data/test/fixtures/asciidoc_index.txt +0 -521
  91. data/test/fixtures/basic-docinfo-footer.html +0 -6
  92. data/test/fixtures/basic-docinfo-footer.xml +0 -8
  93. data/test/fixtures/basic-docinfo.html +0 -1
  94. data/test/fixtures/basic-docinfo.xml +0 -4
  95. data/test/fixtures/basic.asciidoc +0 -5
  96. data/test/fixtures/chapter-a.adoc +0 -3
  97. data/test/fixtures/child-include.adoc +0 -5
  98. data/test/fixtures/circle.svg +0 -9
  99. data/test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb +0 -6
  100. data/test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml +0 -6
  101. data/test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml +0 -1
  102. data/test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml +0 -3
  103. data/test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml +0 -5
  104. data/test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim +0 -6
  105. data/test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim +0 -3
  106. data/test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim +0 -5
  107. data/test/fixtures/custom-docinfodir/basic-docinfo.html +0 -1
  108. data/test/fixtures/custom-docinfodir/docinfo.html +0 -1
  109. data/test/fixtures/docinfo-footer.html +0 -1
  110. data/test/fixtures/docinfo-footer.xml +0 -9
  111. data/test/fixtures/docinfo.html +0 -1
  112. data/test/fixtures/docinfo.xml +0 -3
  113. data/test/fixtures/doctime-localtime.adoc +0 -2
  114. data/test/fixtures/dot.gif +0 -0
  115. data/test/fixtures/encoding.asciidoc +0 -13
  116. data/test/fixtures/file-with-missing-include.adoc +0 -1
  117. data/test/fixtures/grandchild-include.adoc +0 -3
  118. data/test/fixtures/hello-asciidoctor.pdf +0 -69
  119. data/test/fixtures/include-file.asciidoc +0 -24
  120. data/test/fixtures/include-file.jsx +0 -8
  121. data/test/fixtures/include-file.ml +0 -3
  122. data/test/fixtures/include-file.xml +0 -5
  123. data/test/fixtures/lists.adoc +0 -96
  124. data/test/fixtures/master.adoc +0 -5
  125. data/test/fixtures/mismatched-end-tag.adoc +0 -7
  126. data/test/fixtures/other-chapters.adoc +0 -11
  127. data/test/fixtures/outer-include.adoc +0 -5
  128. data/test/fixtures/parent-include-restricted.adoc +0 -5
  129. data/test/fixtures/parent-include.adoc +0 -5
  130. data/test/fixtures/sample.asciidoc +0 -30
  131. data/test/fixtures/section-a.adoc +0 -4
  132. data/test/fixtures/stylesheets/custom.css +0 -3
  133. data/test/fixtures/subdir/index.adoc +0 -3
  134. data/test/fixtures/subdir/inner-include.adoc +0 -3
  135. data/test/fixtures/subdir/middle-include.adoc +0 -5
  136. data/test/fixtures/subs-docinfo.html +0 -2
  137. data/test/fixtures/subs.adoc +0 -6
  138. data/test/fixtures/tagged-class-enclosed.rb +0 -25
  139. data/test/fixtures/tagged-class.rb +0 -23
  140. data/test/fixtures/tip.gif +0 -0
  141. data/test/fixtures/unclosed-tag.adoc +0 -3
  142. data/test/fixtures/unexpected-end-tag.adoc +0 -4
  143. data/test/invoker_test.rb +0 -745
  144. data/test/links_test.rb +0 -855
  145. data/test/lists_test.rb +0 -5151
  146. data/test/logger_test.rb +0 -211
  147. data/test/manpage_test.rb +0 -660
  148. data/test/options_test.rb +0 -262
  149. data/test/paragraphs_test.rb +0 -562
  150. data/test/parser_test.rb +0 -742
  151. data/test/paths_test.rb +0 -395
  152. data/test/preamble_test.rb +0 -173
  153. data/test/reader_test.rb +0 -2161
  154. data/test/sections_test.rb +0 -3575
  155. data/test/substitutions_test.rb +0 -2066
  156. data/test/tables_test.rb +0 -2036
  157. data/test/test_helper.rb +0 -447
  158. data/test/text_test.rb +0 -309
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af6c978f632685e857521e4db2550da18b58a5b2f50b309ca7b4f5768db46d86
4
- data.tar.gz: aea7c7d7eff7d6830ff2dda3a945e997e88ce2ba2a1548c4cfc5a315f330026d
3
+ metadata.gz: 1cbc1a8014e33d81e92970f3af2a9a46ce9b98c2b8d5a477bdc3b2daa590177e
4
+ data.tar.gz: dcfd774802d6b1bf336baca71bf4987150ff58f88e0734dfe654b710a43f5a73
5
5
  SHA512:
6
- metadata.gz: 2cdb5ae6d6adf2c526ff15c8ad98d1ac4931c872e126112364830968a19bca910168a4d84dad94e7e2af01543ee1c89f373ee7eaa1d9a4010c5968bf8fede1d0
7
- data.tar.gz: e644397e6f5f8029d8597b35ba17d950e2eaf39d2ed7078550d250c18630279741bad9d37a98e6b0c034afa3c4bdd7c2ea09c33ee95159230faf1b34d04a8139
6
+ metadata.gz: bc0c9fdddf2e10aeb3a8f7d5f07d7f961e636793bd00af3349338a56301cfe8fbb323019ac248e1087ac9fe0dd5b5869a7131ff79ac293b87ed6893436c51d53
7
+ data.tar.gz: 31720b21d218151759127f0a9a044e93534999e2386c5502bb4e34477f09f1f7439602d08ffe4a2d59e5f5d83c07bd1090313da8a512167cd4493e2ce0dc16fe
@@ -8,11 +8,136 @@ ifndef::icons[]
8
8
  :star: ★
9
9
  endif::[]
10
10
 
11
- {uri-asciidoctor}[Asciidoctor] is a _fast_, open source text processor and publishing toolchain for converting {uri-asciidoc}[AsciiDoc] content into HTML5, DocBook 5 (or 4.5) and other formats.
11
+ {uri-asciidoctor}[Asciidoctor] is a _fast_, open source text processor and publishing toolchain for converting {uri-asciidoc}[AsciiDoc] content into HTML 5, DocBook 5, and other formats.
12
12
 
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.rc.1 (2019-03-02) - @mojavelinux
17
+
18
+ Enhancements / Compliance::
19
+
20
+ * drop support for Ruby < 2.3 and JRuby < 9.1 and remove workarounds (#2764)
21
+ * drop support for Slim < 3 (#2998)
22
+ * drop the converter for the docbook45 backend (#3005)
23
+ * apply substitutions to section and block titles in normal substitution order (#1173)
24
+ * make syntax highlighter pluggable; extract all logic into adapter classes (#2106)
25
+ * add syntax highlighter adapter for Rouge (#1040)
26
+ * redesign Converter API based on SyntaxHighlighter API; remap deprecated API to new API to ensure compatibility (#2891)
27
+ * repurpose built-in converters as regular converters (#2891)
28
+ * make registration and resolution of global converters thread-safe (#2891)
29
+ * fold the default converter factory into the Converter module (#2891)
30
+ * add a default implementation for Converter#convert in the Base converter (#2891)
31
+ * rename Converter::BackendInfo to Converter::BackendTraits; map backend_info to new backend_traits method (#2891)
32
+ * allow built-in converter classes to be resolved using Converter#for and instantiated using Converter#create (#2891)
33
+ * allow converter factory to be passed using :converter_factory API option (#2891)
34
+ * honor htmlsyntax if defined on converter (#2891)
35
+ * add backend_traits_source keyword argument to CompositeConverter constructor (#2891)
36
+ * add support for start attribute when using prettify to highlight source blocks with line numbering enabled
37
+ * use String#encode to encode String as UTF-8 instead of using String#force_encoding (#2764)
38
+ * add FILE_READ_MODE, URI_READ_MODE, and FILE_WRITE_MODE constants to control open mode when reading files and URIs and writing files (#2764)
39
+ * set visibility of private and protected methods (#2764)
40
+ * always run docinfo processor extensions regardless of safe mode (gives control to extension) (#2966)
41
+ * use infinitive verb form for extension DSL method names; map deprecated method names where appropriate
42
+ * add docinfo insertion slot for header location to built-in converters (#1720)
43
+ * add support for the `muted` option on vimeo videos (allows autoplay to work in Chrome) (#3014)
44
+ * use value of prettify-theme attribute as is if it starts with http:// or https:// (#3020)
45
+ * allow icontype to be set using icons attribute (#2953)
46
+ * when using a server-side syntax highlighter, highlight content of source block even if source language is not set (#3027)
47
+ * remove the 2-character (i.e., `""`) quote block syntax
48
+ * don't allow block role to inherit from document attribute; only look for role in block attributes (#1944)
49
+ * split out functionality of -w CLI flag (script warnings) from -v CLI flag (verbose logging) (#3030)
50
+ * log possible invalid references at debug level (#3030)
51
+ * 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
+ * change default value of third argument to Abstractnode#attr / AbstractNode#attr? to nil so attribute doesn't inherit by default (#3059)
53
+ * look for table-frame, table-grid, and table-stripes attributes on document as fallback for frame, grid, and stripes attributes on table (#3059)
54
+ * always assume the target of a shorthand interdocument xref is a reference to an AsciiDoc document (source-to-source) (#3021)
55
+ * if the target of a formal xref macro has a file extension, assume it's a path reference (#3021)
56
+ * never assume target of a formal xref macro is a path reference unless a file extension or fragment is present (#3021)
57
+ * encode characters in URI to comply with RFC-3986
58
+ * implement full support for styled xreftext in manpage converter (#3077)
59
+ * allow the ID and role properties to be set on a list item of ordered and unordered lists via the API (#2840)
60
+ * yield processor instance to registration block for document processor if block has non-zero arity (i.e., has parameters)
61
+ * add Document#parsed? method to check whether document has been parsed
62
+ * modify Cell class to extend from AbstractBlock instead of AbstractNode (#2963)
63
+ * implement block? and inline? methods on Column, both which return false (#2963)
64
+ * drop verse table cell style (treat as normal table cell) (#3111)
65
+ * log warning if footnoteref macro is found and compat mode is not enabled (#3114)
66
+ * log debug message instead of warning if block style is unknown (#3092)
67
+ * allow backend to delegate to a registered backend using the syntax synthetic:delegate when using custom templates (e.g., slides:html) (#891)
68
+ * AbstractBlock#find_by looks inside AsciiDoc table cells if traverse_documents selector option is true (#3101)
69
+ * AbstractBlock#find_by finds table cells, which can be selected using the :table_cell context in the selector (#2524)
70
+ * allow ampersand to be used in e-mail address (#2553)
71
+
72
+ Improvements::
73
+
74
+ * propagate document ID to DocBook output (#3011)
75
+ * refactor code to use modern Hash syntax
76
+ * define LIB_DIR constant; rename *_PATH constants to *_DIR constants to be consistent with RubyGems terminology (#2764)
77
+ * only define ROOT_DIR if not already defined (for compatibility with Asciidoctor.js)
78
+ * move custom docinfo content in footer below built-in docinfo content in footer in HTML converter (#3017)
79
+ * read and write files using File methods instead of IO methods (#2995)
80
+ * value comparison in AbstractNode#attr? is only performed if expected value is truthy
81
+ * align default CodeRay style with style for other syntax highlighters (#2106)
82
+ * ensure linenos class is added to linenos column when source highlighter is pygments and pygments-css=style
83
+ * rename CSS class of Pygments line numbering table to linenotable (to align with Rouge) (#1040)
84
+ * remove unused Converter#convert_with_options method (#2891)
85
+ * don't store the options attribute on the block once the options are parsed (#3051)
86
+ * add an options method on AbstractNode to retrieve the set of option names (#3051)
87
+ * pass :input_mtime option to Document constructor; let Document constructor assign docdate/time/year attributes (#3029)
88
+ * never mutate strings; add a `frozen_string_literal: true` magic comment to top of all Ruby source files (#3054)
89
+ * always use docdate and doctime to compute docyear and docdatetime (#3064)
90
+ * rename PreprocessorReader#exceeded_max_depth? to PreprocessorReader#exceeds_max_depth? and return nil if includes are disabled
91
+ * stop populating :ids table in document catalog (#3084)
92
+ * always use :refs table in document catalog to look for registered IDs (#3084)
93
+ * don't compute and store reference text in document catalog (#3084)
94
+ * populate reference text table lazily for resolving ID by reference text (#3084)
95
+ * don't store fallback reference text on :bibref node (#3085)
96
+ * call AbstractNode#reftext instead of AbstractNode#text to retrieve reference text for bibref node (#3085)
97
+ * only map unparsed attrlist of inline macro to target when format is short
98
+ * add clearer exception message when source data is binary or has invalid encoding (#2884)
99
+ * rename context for table cell and table column to :table_cell and :table_column, respectively
100
+ * rename hardbreaks document attribute to hardbreaks-option; retain hardbreaks as a deprecated alias (#3123)
101
+
102
+ Bug Fixes::
103
+
104
+ * fix crash caused by inline passthrough macro with the macros sub clearing the remaining passthrough placeholders (#3089)
105
+ * don't fail to parse Markdown-style quote block that only contains attribution line (#2989)
106
+ * enforce rule that Setext section title must have at least one alphanumeric character; fixes problem w/ block nested inside quote block (#3060)
107
+ * apply header subs to doctitle value when assigning it back to the doctitle document attribute (#3106)
108
+ * don't fail if value of pygments-style attribute is not recognized; gracefully fallback to default style (#2106)
109
+ * do not alter the $LOAD_PATH (#2764)
110
+ * fix crash if stem block is empty (#3118)
111
+ * remove conditional comment for IE in output of built-in HTML converter; fixes sidebar table of contents (#2983)
112
+ * fix styling of source blocks with linenums enabled when using prettify as syntax highlighter (#640)
113
+ * update default stylesheet to support prettify themes (#3020)
114
+ * remove hard-coded color values on source blocks in default stylesheet (#3020)
115
+ * add fallback if relative path cannot be computed because the paths are located on different drives (#2944)
116
+ * ignore explicit section level style (#1852)
117
+ * don't eat space before callout number in source block if line-comment attribute is empty (#3121)
118
+ * check if type is defined in a way that's compatible with autoload
119
+ * fix invalid check for DSL in extension class (previously always returned true)
120
+ * scope constant lookups (#2764)
121
+ * use byteslice instead of slice to remove BOM from string (#2764)
122
+ * don't fail if value of -a CLI option is empty string or equals sign (#2997)
123
+ * Reader#push_include should not fail if data is nil
124
+ * fix deprecated ERB trim mode that was causing warning (#3006)
125
+ * move time anchor after query string on vimeo video to avoid dropping options
126
+ * allow color for generic text, line numbers, and line number border to inherit from Pygments style (#2106)
127
+ * enforce and report relative include depth properly (depth=0 rather than depth=1 disables nested includes)
128
+ * allow outfilesuffix to be soft set from API (#2640)
129
+ * don't split paragraphs in table cell at line that resolves to blank if adjacent to other non-blank lines (#2963)
130
+ * upgrade MathJax to 2.7.5
131
+
132
+ Build / Infrastructure::
133
+
134
+ * clear SOURCE_DATE_EPOCH env var when testing timezones (PR #2969) (*@aerostitch*)
135
+ * remove compat folder (removes the AsciiDoc Python config file that provides pseudo-compliance with Asciidoctor and a stylesheet for an old Font Awesome migration)
136
+ * add Ruby 2.6.0 to build matrix
137
+ * stop running CI job on unsupported versions of Ruby
138
+ * exclude test suite, build script, and Gemfile from gem (#3044)
139
+
140
+ // tag::compact[]
16
141
  == 1.5.8 (2018-10-28) - @mojavelinux
17
142
 
18
143
  Enhancements::
@@ -39,7 +164,7 @@ Enhancements::
39
164
  * allow starting line number to be set using start attribute when highighting source block with Pygments or CodeRay (#1742)
40
165
  * upgrade highlight.js to 9.13.1
41
166
 
42
- Fixes::
167
+ Bug Fixes::
43
168
 
44
169
  * don't hang on description list item that begins with /// (#2888)
45
170
  * don't crash when using AsciiDoc table cell style on column in CSV table (#2817)
@@ -101,11 +226,11 @@ Documentation::
101
226
  Build / Infrastructure::
102
227
 
103
228
  * replace thread_safe with concurrent-ruby (PR #2822) (*@junaruga*)
229
+ // end::compact[]
104
230
 
105
- // tag::compact[]
106
231
  == 1.5.7.1 (2018-05-10) - @mojavelinux
107
232
 
108
- Fixes::
233
+ Bug Fixes::
109
234
 
110
235
  * fix regression where block attributes where being inherited by sibling blocks in a complex list item (#2771)
111
236
  * don't apply lead styling to first paragraph in nested document (AsciiDoc table cell) if role is present (#2624)
@@ -142,6 +267,7 @@ Enhancements::
142
267
  * number parts if `partnums` attribute is set (#2298)
143
268
  * allow footnote macro to define or reference footnote reference (footnoteref macro now deprecated) (#2347, PR #2362)
144
269
  * allow custom converter to be used with custom templates; converter must declare that it supports templates (#2619)
270
+ * add syntax help topic to CLI (`-h syntax`) (#1573)
145
271
  * allow manpage path for manpage help topic to be specified using ASCIIDOCTOR_MANPAGE_PATH environment variable (PR #2653) (*@aerostitch*)
146
272
  * if manpage cannot be found in default path inside gem, use `man -w asciidoctor` to resolve installed path (PR #2653)
147
273
  * uncompress contents of manpage for manpage help topic if path ends with .gz (PR #2653) (*@aerostitch*)
@@ -170,7 +296,7 @@ Enhancements::
170
296
  * upgrade to Font Awesome 4.7.0 (#2569)
171
297
  * upgrade to MathJax 4.7.4
172
298
 
173
- Bug fixes::
299
+ Bug Fixes::
174
300
 
175
301
  * set `:to_dir` option value correctly when output file is specified (#2382)
176
302
  * preserve leading indentation in contents of AsciiDoc table cell if contents starts with a newline (#2712)
@@ -293,11 +419,10 @@ Distribution Packages::
293
419
  * https://packages.ubuntu.com/search?keywords=asciidoctor[Ubuntu (asciidoctor)]
294
420
  * https://pkgs.alpinelinux.org/packages?name=asciidoctor[Alpine Linux (asciidoctor)]
295
421
  * https://software.opensuse.org/package/rubygem-asciidoctor[OpenSUSE (rubygem-asciidoctor)]
296
- // end::compact[]
297
422
 
298
423
  == 1.5.6.2 (2018-03-20) - @mojavelinux
299
424
 
300
- Bug fixes::
425
+ Bug Fixes::
301
426
 
302
427
  * fix match for multiple xref macros w/ implicit text in same line (#2450)
303
428
  * PathResolver#root? returns true for absolute URL in browser env (#2595)
@@ -336,7 +461,7 @@ Enhancements::
336
461
 
337
462
  * Don't include title of special section in DocBook output if untitled option is set (e.g., dedication%untitled)
338
463
 
339
- Bug fixes::
464
+ Bug Fixes::
340
465
 
341
466
  * continue to read blocks inside a delimited block after content is skipped (PR #2318)
342
467
  * don't create an empty paragraph for skipped content inside a delimited block (PR #2319)
@@ -390,6 +515,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.6\...v1.5.6.1[full diff]
390
515
  == 1.5.6 (2017-07-12) - @mojavelinux
391
516
 
392
517
  Enhancements::
518
+
393
519
  * use custom cross reference text if xrefstyle attribute is set (full, short, basic) (#858, #1132)
394
520
  * store referenceable nodes under refs key in document catalog (PR #2220)
395
521
  * apply reftext substitutions (specialchars, quotes, replacements) to value returned by reftext method (PR #2220)
@@ -426,6 +552,7 @@ Enhancements::
426
552
  * add Cell#text= method
427
553
 
428
554
  Improvements::
555
+
429
556
  * significant improvements to performance, especially in parser and substitutors
430
557
  * process include directive inside text of short form preprocessor conditional (#2146)
431
558
  * add support for include tags in languages that only support only circumfix comments (#1729)
@@ -487,6 +614,7 @@ Improvements::
487
614
  * rename macro regexp constants so name follows type (e.g., InlineImageMacroRx)
488
615
 
489
616
  Compliance::
617
+
490
618
  * retain block content in items of callout list when converting to HTML and man page (#1478)
491
619
  * only substitute specialchars for content in literal table cells (#1912)
492
620
  * fix operator logic for ifndef directive with multiple attributes (#1983)
@@ -530,7 +658,8 @@ Compliance::
530
658
  * remove regexp hacks for Opal (#2110)
531
659
  * drop outdated quoting exceptions for Opal (PR #2081)
532
660
 
533
- Bug fixes::
661
+ Bug Fixes::
662
+
534
663
  * don't allow table borders to cascade to nested tables (#2151)
535
664
  * escape special characters in reftext of anchor (#1694)
536
665
  * sanitize content of authors meta tag in HTML output (#2112)
@@ -566,6 +695,7 @@ Bug fixes::
566
695
  * handle cases when there are no lines for include directive to select
567
696
 
568
697
  Documentation::
698
+
569
699
  * enable admonition icons in README when displayed on GitHub
570
700
  * add German translation of chapter-label (PR #1920) (*@fapdash*)
571
701
  * add Ukrainian translation of built-in attributes (PR #1955) (*@hedrok*)
@@ -576,6 +706,7 @@ Documentation::
576
706
  * add Bahasa Indonesia translation of built-in labels (*@triyanwn*)
577
707
 
578
708
  Build / Infrastructure::
709
+
579
710
  * upgrade highlight.js to 9.12.0 (#1652)
580
711
  * include entire test suite in gem (PR #1952) (*@voxik*)
581
712
  * upgrade Slim development dependency to 3.0.x (PR #1953) (*@voxik*)
@@ -607,6 +738,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.5\...v1.5.6[full diff]
607
738
  == 1.5.5 (2016-10-05) - @mojavelinux
608
739
 
609
740
  Enhancements::
741
+
610
742
  * Add preference to limit the maximum size of an attribute value (#1861)
611
743
  * Honor SOURCE_DATE_EPOCH environment variable to accomodate reproducible builds (#1721) (*@JojoBoulix*)
612
744
  * Add reversed attribute to ordered list if reversed option is enabled (#1830)
@@ -618,6 +750,7 @@ Enhancements::
618
750
  * Translate README to Japanese (*@Mizuho32*)
619
751
 
620
752
  Improvements::
753
+
621
754
  * Style nested emphasized phrases properly when using default stylesheet (#1691)
622
755
  * Honor explicit table width even when autowidth option is set (#1843)
623
756
  * Only explicit noheader option on table should disable implicit table header (#1849)
@@ -638,11 +771,12 @@ Improvements::
638
771
  * Rename definition list to description list internally
639
772
 
640
773
  Compliance::
774
+
641
775
  * Support 6-digit decimal char refs, 5-digit hexidecimal char refs (#1824)
642
776
  * Compatibility fixes for Opal
643
777
  * Check for number using Integer instead of Fixnum class for compatibility with Ruby 2.4
644
778
 
645
- Bug fixes::
779
+ Bug Fixes::
646
780
  * Use method_defined? instead of respond_to? to check if method is already defined when patching (#1838)
647
781
  * Fix invalid conditional in HTML5 converter when handling of SVG
648
782
  * Processor#parse_content helper no longer shares attribute list between blocks (#1651)
@@ -654,6 +788,7 @@ Bug fixes::
654
788
  * Don't duplicate forward slash for path relative to root (#1822)
655
789
 
656
790
  Infrastructure::
791
+
657
792
  * Build gem properly in the absense of a git workspace, make compatible with JRuby (#1779)
658
793
  * Run tests in CI using latest versions of Ruby, including Ruby 2.3 (*@ferdinandrosario*)
659
794
 
@@ -672,10 +807,12 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.4\...v1.5.5[full diff]
672
807
  == 1.5.4 (2016-01-03) - @mojavelinux
673
808
 
674
809
  Enhancements::
810
+
675
811
  * translate README into French (#1630) (*@anthonny*, *@mogztter*, *@gscheibel*, *@mgreau*)
676
812
  * allow linkstyle in manpage output to be configured (#1610)
677
813
 
678
814
  Improvements::
815
+
679
816
  * upgrade to MathJax 2.6.0 and disable loading messages
680
817
  * upgrade to Font Awesome 4.5.0
681
818
  * disable toc if document has no sections (#1633)
@@ -687,12 +824,14 @@ Improvements::
687
824
  * allow asciidoctor cli to resolve library path when invoked without leading ./
688
825
 
689
826
  Compliance::
827
+
690
828
  * allow special section to be nested at any depth (#1591)
691
829
  * ensure colpcwidth values add up to 100%; increase precision of values to 4 decimal places (#1647)
692
830
  * ignore blank cols attribute on table (#1647)
693
831
  * support shorthand syntax for block attributes on document title (#1650)
694
832
 
695
- Bug fixes::
833
+ Bug Fixes::
834
+
696
835
  * don't include default toc in AsciiDoc table cell; don't pass toc location attributes to nested document (#1582)
697
836
  * guard against nil dlist list item in find_by (#1618)
698
837
  * don't swallow trailing line when include file is not readable (#1602)
@@ -710,7 +849,8 @@ Bug fixes::
710
849
  * don't fail if library is loaded more than once
711
850
 
712
851
  Infrastructure::
713
- * remove trailing endlines in project source code
852
+
853
+ * remove trailing newlines in project source code
714
854
  * update contributing guidelines
715
855
  * explicitly test ifeval scenario raised in issue #1585
716
856
  * remove backreference substitution hack for Opal/Asciidoctor.js
@@ -731,6 +871,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.3\...v1.5.4[full diff]
731
871
  == 1.5.3 (2015-10-31) - @mojavelinux
732
872
 
733
873
  Enhancements::
874
+
734
875
  * add support for interactive & inline SVGs (#1301, #1224)
735
876
  * add built-in manpage backend (#651) (*@davidgamba*)
736
877
  * create Mallard backend; asciidoctor/asciidoctor-mallard (#425) (*@bk2204*)
@@ -743,6 +884,7 @@ Enhancements::
743
884
  * make XrefInlineRx regexp more permissive (Mathieu Boespflug) (#844)
744
885
 
745
886
  Improvements::
887
+
746
888
  * load JavaScript and CSS at bottom of HTML document (#1238) (*@mogztter*)
747
889
  * list available backends in help text (#1271) (*@plaindocs*)
748
890
  * properly expand tabs in literal text (#1170, #841)
@@ -785,6 +927,7 @@ Improvements::
785
927
  * prevent CodeRay from bolding every 10th line number
786
928
 
787
929
  Compliance::
930
+
788
931
  * use `<sup>` for footnote reference in text instead of `<span>` (#1523)
789
932
  * fix alignment of wrapped text in footnote (#1524)
790
933
  * include full stop after footnote number in embeddable HTML
@@ -792,7 +935,8 @@ Compliance::
792
935
  * resolve missing attribute in ifeval to empty string (#1387)
793
936
  * support unbreakable & breakable options on table (rockyallen) (#1140)
794
937
 
795
- Bug fixes::
938
+ Bug Fixes::
939
+
796
940
  * don't truncate exception stack in `Asciidoctor.load` (#1248)
797
941
  * don't fail to save cause of Java exception (#1458) (*@robertpanzer*)
798
942
  * fix precision error in timings report (#1342)
@@ -819,6 +963,7 @@ Bug fixes::
819
963
  * fix grammar in warning messages regarding thread_safe gem
820
964
 
821
965
  Infrastructure::
966
+
822
967
  * migrate opal_ext from core to Asciidoctor.js (#1517)
823
968
  * add Ruby 2.2 to CI build; only specify minor Ruby versions
824
969
  * enable containerized builds on Travis CI
@@ -873,7 +1018,7 @@ Compliance::
873
1018
  * allow empty cell to appear at end of table row (#1106)
874
1019
  * only produce one row for table in CSV or DSV format with a single cell (#1180)
875
1020
 
876
- Bug fixes::
1021
+ Bug Fixes::
877
1022
 
878
1023
  * add explicit to_s call to generate delimiter settings for MathJax config (#1198)
879
1024
  * fix includes that reference absolute Windows paths (#1144)
@@ -892,7 +1037,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.1\...v1.5.2[full diff]
892
1037
 
893
1038
  == 1.5.1 (2014-09-29) - @mojavelinux
894
1039
 
895
- Bug fixes::
1040
+ Bug Fixes::
896
1041
 
897
1042
  * recognize tag directives inside comments within XML files for including tagged regions
898
1043
  * restore passthroughs inside footnotes when more than one footnote appears on the same line
@@ -999,7 +1144,7 @@ Improvements::
999
1144
  * print runtime environment in version output, support -v as version flag (#785)
1000
1145
  * unwrap preamble if standalone (#533)
1001
1146
  * drop leading & trailing blank lines in verbatim & raw content (#724)
1002
- * remove trailing endlines from source data (#727)
1147
+ * remove trailing newlines from source data (#727)
1003
1148
  * add flag to cli to suppress warnings (#557)
1004
1149
  * emit warning if tag(s) not found in include file (#639)
1005
1150
  * use <th> element for vertical table headers instead of header class (#738) (*@davidgamba*)
@@ -1445,7 +1590,7 @@ Compliance::
1445
1590
  * added support for name=value@ attribute syntax passed via cli (#97)
1446
1591
  * attr refs no longer case sensitive (#109)
1447
1592
  * fixed several cases of incorrect list handling
1448
- * don't allow links to consume endlines or surrounding angled brackets
1593
+ * don't allow links to consume newlines or surrounding angled brackets
1449
1594
  * recognize single quote in author name
1450
1595
  * support horizontal labeled list style
1451
1596
  * added support for the d cell style
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (C) 2012-2018 Dan Allen, Ryan Waldron and the Asciidoctor Project
3
+ Copyright (C) 2012-2019 Dan Allen, Ryan Waldron and the Asciidoctor Project
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -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
- v1.5.8, 2018-10-28
3
+ v2.0.0.rc.1, 2019-03-02
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: 1.5.8
20
+ :release-version: 2.0.0.rc.1
21
21
  // URIs:
22
22
  :uri-org: https://github.com/asciidoctor
23
23
  :uri-repo: {uri-org}/asciidoctor
@@ -60,11 +60,11 @@ endif::[]
60
60
  // images:
61
61
  :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
62
62
 
63
- {uri-project}[Asciidoctor] ist ein _schneller_, {uri-license}[Open Source] Textverarbeitungs- und Publishing-Toolchain für die Konvertierung von {uri-what-is-asciidoc}[AsciiDoc]-Inhalten in HTML5, DocBook, PDF und andere Formate.
63
+ {uri-project}[Asciidoctor] ist ein _schneller_, {uri-license}[Open Source] Textverarbeitungs- und Publishing-Toolchain für die Konvertierung von {uri-what-is-asciidoc}[AsciiDoc]-Inhalten in HTML 5, DocBook 5, PDF und andere Formate.
64
64
  Asciidoctor ist in Ruby geschrieben und läuft auf allen gängigen Betriebsystemen.
65
65
  Um die Installation zu vereinfachen wird Asciidoctor als Gem auf {uri-rubygem}[RubyGems.org] verpackt und ist als Paket für gängige Linux-Distributionen und MacOS erhältlich.
66
66
  Asciidoctor kann auch in einer JVM mit {uri-asciidoctorj}[AsciidoctorJ] oder einer beliebigen Javascript-Umgebung mit {uri-asciidoctorjs}[Asciidoctor.js] ausgeführt werden.
67
- Das Asciidoctor-Projekt wird {uri-repo}[auf Github] gehostet.
67
+ Das Asciidoctor-Projekt wird {uri-repo}[auf GitHub] gehostet.
68
68
 
69
69
  ifndef::env-site[]
70
70
  Dieses Dokument ist auch in folgenden Sprachen erhältlich: +
@@ -109,21 +109,21 @@ Sie können dieses Projekt unterstützen, indem Sie Sponsor bei https://opencoll
109
109
 
110
110
  == Das große Ganze
111
111
 
112
- Asciidoctor liest Inhalte, die im Klartext geschrieben wurden, wie im Feld links im Bild unten gezeigt, und wandelt Sie in HTML5 um, wie im rechten Feld dargestellt.
113
- Asciidoctor wendet ein Standard-Stylesheet auf das HTML5-Dokument an, um ein angenehmes Out-of-the-Box-Erlebnis zu bieten.
112
+ Asciidoctor liest Inhalte, die im Klartext geschrieben wurden, wie im Feld links im Bild unten gezeigt, und wandelt Sie in HTML 5 um, wie im rechten Feld dargestellt.
113
+ Asciidoctor wendet ein Standard-Stylesheet auf das HTML 5-Dokument an, um ein angenehmes Out-of-the-Box-Erlebnis zu bieten.
114
114
 
115
115
  image::{image-uri-screenshot}[Preview of AsciiDoc source and corresponding rendered HTML]
116
116
 
117
117
  == AsciiDoc Verarbeitung
118
118
 
119
- Asciidoctor liest und analysiert Text, der in der AsciiDoc-Syntax geschrieben wurde, und leitet dann den Parse-Tree durch eine Reihe von eingebauten Konvertern, um HTML5, DocBook 5 und man-pages zu erzeugen.
119
+ Asciidoctor liest und analysiert Text, der in der AsciiDoc-Syntax geschrieben wurde, und leitet dann den Parse-Tree durch eine Reihe von eingebauten Konvertern, um HTML 5, DocBook 5 und man-pages zu erzeugen.
120
120
  Sie haben die Möglichkeit, eigene Konverter zu verwenden oder {uri-tilt}[Tilt]-gestützte Vorlagen zu laden, um die generierte Ausgabe anzupassen oder zusätzliche Formate zu erzeugen.
121
121
 
122
122
  Asciidoctor ist ein Ersatz für den Original AsciiDoc Python Prozessor (`asciidoc.py`).
123
123
  Die Asciidoctor-Testsuite verfügt über {uri-tests}[mehr als 2,000 Tests], um die Kompatibilität mit der AsciiDoc-Syntax sicherzustellen.
124
124
 
125
125
  Neben der klassischen AsciiDoc-Syntax erkennt Asciidoctor zusätzliche Markup- und Formatierungsoptionen, wie z.B. fontbasierte Icons (z.B. `+icon:fire[]+`) und UI-Elemente (z.B. `+button:[Save]+`).
126
- Asciidoctor bietet auch ein modernes, __responsive Theme__, das auf {uri-foundation}[Foundation] basiert, um die HTML5-Ausgabe zu gestalten.
126
+ Asciidoctor bietet auch ein modernes, __responsive Theme__, das auf {uri-foundation}[Foundation] basiert, um die HTML 5-Ausgabe zu gestalten.
127
127
 
128
128
  == Wo Ruby hingeht, folgt Asciidoctor
129
129
 
@@ -140,9 +140,8 @@ Es wird für die AsciiDoc Vorschau-Erweiterungen für Chrome, Atom, Brackets und
140
140
 
141
141
  Asciidoctor arbeitet unter Linux, MacOS und Windows und benötigt eine der folgenden Implementierungen von {uri-ruby}[Ruby]:
142
142
 
143
- * Ruby (MRI/CRuby 1.8.7 - 2.5)
144
- * JRuby (1.7 in Ruby 1.8 und 1.9 modes, 9000)
145
- * Rubinius 2.2.x
143
+ * CRuby (aka MRI) 2.3 - 2.6
144
+ * JRuby 9.1 - 9.2
146
145
  * Opal (JavaScript)
147
146
 
148
147
  [CAUTION]
@@ -328,7 +327,7 @@ Sie sollten Informationen über die Asciidoctor-Version und Ihre Ruby-Umgebung i
328
327
  [.output,subs=attributes+]
329
328
  ....
330
329
  Asciidoctor 1.5.7 [https://asciidoctor.org]
331
- Laufzeitumgebung (ruby 2.5.1p57 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
330
+ Laufzeitumgebung (ruby 2.6.0p0 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
332
331
  ....
333
332
 
334
333
  Asciidoctor bietet auch eine API.
@@ -459,7 +458,7 @@ Asciidoctor Organization auf GitHub:: {uri-org}
459
458
 
460
459
  == Lizenz
461
460
 
462
- Copyright (C) 2012-2018 Dan Allen, Sarah White und die einzelnen Mitarbeiter von Asciidoctor.
461
+ Copyright (C) 2012-2019 Dan Allen, Sarah White und die einzelnen Mitarbeiter von Asciidoctor.
463
462
  Die Nutzung dieser Software wird unter den Bedingungen der MIT-Lizenz gewährt.
464
463
 
465
464
  Siehe die {uri-license}[LIZENZ] für den vollen Lizenztext.