asciidoctor 2.0.10 → 2.0.15
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 +211 -22
- data/LICENSE +1 -1
- data/README-de.adoc +12 -13
- data/README-fr.adoc +11 -15
- data/README-jp.adoc +9 -17
- data/README-zh_CN.adoc +17 -18
- data/README.adoc +140 -132
- data/asciidoctor.gemspec +6 -6
- data/data/locale/attributes-ar.adoc +4 -3
- data/data/locale/attributes-be.adoc +23 -0
- data/data/locale/attributes-bg.adoc +4 -3
- data/data/locale/attributes-ca.adoc +6 -5
- data/data/locale/attributes-cs.adoc +4 -3
- data/data/locale/attributes-da.adoc +6 -5
- data/data/locale/attributes-de.adoc +4 -4
- data/data/locale/attributes-en.adoc +4 -4
- data/data/locale/attributes-es.adoc +6 -5
- data/data/locale/attributes-fa.adoc +4 -3
- data/data/locale/attributes-fi.adoc +4 -3
- data/data/locale/attributes-fr.adoc +6 -5
- data/data/locale/attributes-hu.adoc +4 -3
- data/data/locale/attributes-id.adoc +4 -3
- data/data/locale/attributes-it.adoc +6 -5
- data/data/locale/attributes-ja.adoc +4 -3
- data/data/locale/{attributes-kr.adoc → attributes-ko.adoc} +4 -3
- data/data/locale/attributes-nb.adoc +4 -3
- data/data/locale/attributes-nl.adoc +6 -5
- data/data/locale/attributes-nn.adoc +4 -3
- data/data/locale/attributes-pl.adoc +8 -7
- data/data/locale/attributes-pt.adoc +6 -5
- data/data/locale/attributes-pt_BR.adoc +6 -5
- data/data/locale/attributes-ro.adoc +4 -3
- data/data/locale/attributes-ru.adoc +6 -5
- data/data/locale/attributes-sr.adoc +4 -4
- data/data/locale/attributes-sr_Latn.adoc +4 -4
- data/data/locale/attributes-sv.adoc +4 -4
- data/data/locale/attributes-tr.adoc +4 -3
- data/data/locale/attributes-uk.adoc +6 -5
- data/data/locale/attributes-zh_CN.adoc +4 -3
- data/data/locale/attributes-zh_TW.adoc +4 -3
- data/data/reference/syntax.adoc +14 -7
- data/data/stylesheets/asciidoctor-default.css +27 -28
- data/lib/asciidoctor.rb +38 -12
- data/lib/asciidoctor/abstract_block.rb +9 -4
- data/lib/asciidoctor/abstract_node.rb +16 -6
- data/lib/asciidoctor/attribute_list.rb +64 -72
- data/lib/asciidoctor/cli/invoker.rb +2 -0
- data/lib/asciidoctor/cli/options.rb +10 -9
- data/lib/asciidoctor/convert.rb +167 -162
- data/lib/asciidoctor/converter.rb +13 -12
- data/lib/asciidoctor/converter/docbook5.rb +29 -12
- data/lib/asciidoctor/converter/html5.rb +69 -46
- data/lib/asciidoctor/converter/manpage.rb +68 -49
- data/lib/asciidoctor/converter/template.rb +3 -0
- data/lib/asciidoctor/document.rb +43 -50
- data/lib/asciidoctor/extensions.rb +2 -4
- data/lib/asciidoctor/helpers.rb +20 -15
- data/lib/asciidoctor/load.rb +102 -101
- data/lib/asciidoctor/parser.rb +40 -32
- data/lib/asciidoctor/path_resolver.rb +14 -12
- data/lib/asciidoctor/reader.rb +22 -13
- data/lib/asciidoctor/rx.rb +7 -6
- data/lib/asciidoctor/substitutors.rb +78 -57
- data/lib/asciidoctor/syntax_highlighter.rb +8 -5
- data/lib/asciidoctor/syntax_highlighter/coderay.rb +1 -1
- data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +12 -4
- data/lib/asciidoctor/syntax_highlighter/prettify.rb +7 -4
- data/lib/asciidoctor/syntax_highlighter/pygments.rb +6 -7
- data/lib/asciidoctor/syntax_highlighter/rouge.rb +33 -19
- data/lib/asciidoctor/table.rb +52 -23
- data/lib/asciidoctor/version.rb +1 -1
- data/man/asciidoctor.1 +8 -8
- data/man/asciidoctor.adoc +4 -4
- metadata +16 -15
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Bijlage
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Opgelet
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Hoofdstuk
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Voorbeeld
|
8
8
|
:figure-caption: Figuur
|
9
9
|
:important-caption: Belangrijk
|
@@ -11,12 +11,13 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Lijst]
|
12
12
|
ifdef::manname-title[:manname-title: Naam]
|
13
13
|
:note-caption: Noot
|
14
|
-
|
14
|
+
:part-signifier: Deel
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Inleiding]
|
16
|
-
|
17
|
+
:section-refsig: Paragraaf
|
17
18
|
:table-caption: Tabel
|
18
19
|
:tip-caption: Tip
|
19
|
-
:toc-title:
|
20
|
+
:toc-title: Inhoudsopgave
|
20
21
|
:untitled-label: Naamloos
|
21
22
|
:version-label: Versie
|
22
23
|
:warning-caption: Waarschuwing
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Vedlegg
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: OBS
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Kapittel
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Eksempel
|
8
8
|
:figure-caption: Figur
|
9
9
|
:important-caption: Viktig
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Programkode]
|
12
12
|
ifdef::manname-title[:manname-title: Namn]
|
13
13
|
:note-caption: Merk
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Forord]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tabell
|
@@ -1,19 +1,20 @@
|
|
1
|
-
// Polish translation, courtesy of Łukasz Dziedziul <l.dziedziul@gmail.com>
|
1
|
+
// Polish translation, courtesy of Łukasz Dziedziul <l.dziedziul@gmail.com> with updates via Matthew Blissett <mblissett@gbif.org>
|
2
2
|
:appendix-caption: Dodatek
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Uwaga
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Rozdział
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Przykład
|
8
8
|
:figure-caption: Rysunek
|
9
9
|
:important-caption: Ważne
|
10
10
|
:last-update-label: Ostatnio zmodyfikowany
|
11
|
-
|
11
|
+
ifdef::listing-caption[:listing-caption: Listing]
|
12
12
|
ifdef::manname-title[:manname-title: Nazwa]
|
13
13
|
:note-caption: Notka
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
:part-signifier: Część
|
15
|
+
:part-refsig: {part-signifier}
|
16
|
+
ifdef::preface-title[:preface-title: Wstęp]
|
17
|
+
:section-refsig: Sekcja
|
17
18
|
:table-caption: Tabela
|
18
19
|
:tip-caption: Sugestia
|
19
20
|
:toc-title: Spis treści
|
@@ -1,9 +1,9 @@
|
|
1
|
-
// Portuguese translation, courtesy of Roberto Cortez <radcortez@yahoo.com>
|
1
|
+
// Portuguese translation, courtesy of Roberto Cortez <radcortez@yahoo.com> with updates from Andrew Rodrigues <arodrigues@gbif.org>
|
2
2
|
:appendix-caption: Apêndice
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Atenção
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Capítulo
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Exemplo
|
8
8
|
:figure-caption: Figura
|
9
9
|
:important-caption: Importante
|
@@ -11,9 +11,10 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listagem]
|
12
12
|
ifdef::manname-title[:manname-title: Nome]
|
13
13
|
:note-caption: Nota
|
14
|
-
|
14
|
+
:part-signifier: Parte
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Prefácio]
|
16
|
-
|
17
|
+
:section-refsig: Secção
|
17
18
|
:table-caption: Tabela
|
18
19
|
:tip-caption: Sugestão
|
19
20
|
:toc-title: Índice
|
@@ -1,9 +1,9 @@
|
|
1
|
-
// Brazilian Portuguese translation, courtesy of Rafael Pestano <rmpestano@gmail.com>
|
1
|
+
// Brazilian Portuguese translation, courtesy of Rafael Pestano <rmpestano@gmail.com> with updates from Andrew Rodrigues <arodrigues@gbif.org>
|
2
2
|
:appendix-caption: Apêndice
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Cuidado
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Capítulo
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Exemplo
|
8
8
|
:figure-caption: Figura
|
9
9
|
:important-caption: Importante
|
@@ -11,9 +11,10 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listagem]
|
12
12
|
ifdef::manname-title[:manname-title: Nome]
|
13
13
|
:note-caption: Nota
|
14
|
-
|
14
|
+
:part-signifier: Parte
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Prefácio]
|
16
|
-
|
17
|
+
:section-refsig: Seção
|
17
18
|
:table-caption: Tabela
|
18
19
|
:tip-caption: Dica
|
19
20
|
:toc-title: Índice
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Apendix
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Precauție
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Exemplu
|
8
8
|
:figure-caption: Figură
|
9
9
|
:important-caption: Important
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listare]
|
12
12
|
ifdef::manname-title[:manname-title: Nume]
|
13
13
|
:note-caption: Notă
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Prefață]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tabela
|
@@ -2,18 +2,19 @@
|
|
2
2
|
:appendix-caption: Приложение
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Внимание
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Глава
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Пример
|
8
8
|
:figure-caption: Рисунок
|
9
9
|
:important-caption: Важно
|
10
|
-
:last-update-label:
|
10
|
+
:last-update-label: Последнее обновление
|
11
11
|
ifdef::listing-caption[:listing-caption: Листинг]
|
12
12
|
ifdef::manname-title[:manname-title: Название]
|
13
13
|
:note-caption: Примечание
|
14
|
-
|
14
|
+
:part-signifier: Часть
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Предисловие]
|
16
|
-
|
17
|
+
:section-refsig: Раздел
|
17
18
|
:table-caption: Таблица
|
18
19
|
:tip-caption: Подсказка
|
19
20
|
:toc-title: Содержание
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Додатак
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Опрез
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Поглавље
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Пример
|
8
8
|
:figure-caption: Слика
|
9
9
|
:important-caption: Важно
|
@@ -11,8 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Листинг]
|
12
12
|
ifdef::manname-title[:manname-title: Назив]
|
13
13
|
:note-caption: Белешка
|
14
|
-
:part-
|
15
|
-
:part-refsig: {part-
|
14
|
+
:part-signifier: Део
|
15
|
+
:part-refsig: {part-signifier}
|
16
16
|
ifdef::preface-title[:preface-title: Предговор]
|
17
17
|
:section-refsig: Секција
|
18
18
|
:table-caption: Табела
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Dodatak
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Oprez
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Poglavlje
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Primer
|
8
8
|
:figure-caption: Slika
|
9
9
|
:important-caption: Važno
|
@@ -11,8 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listing]
|
12
12
|
ifdef::manname-title[:manname-title: Naziv]
|
13
13
|
:note-caption: Beleška
|
14
|
-
:part-
|
15
|
-
:part-refsig: {part-
|
14
|
+
:part-signifier: Deo
|
15
|
+
:part-refsig: {part-signifier}
|
16
16
|
ifdef::preface-title[:preface-title: Predgovor]
|
17
17
|
:section-refsig: Sekcija
|
18
18
|
:table-caption: Tabela
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Bilaga
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Var uppmärksam
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Kapitel
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Exempel
|
8
8
|
:figure-caption: Figur
|
9
9
|
:important-caption: Viktigt
|
@@ -11,8 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Lista]
|
12
12
|
ifdef::manname-title[:manname-title: Namn]
|
13
13
|
:note-caption: Notera
|
14
|
-
:part-
|
15
|
-
:part-refsig: {part-
|
14
|
+
:part-signifier: Del
|
15
|
+
:part-refsig: {part-signifier}
|
16
16
|
ifdef::preface-title[:preface-title: Förord]
|
17
17
|
:section-refsig: Avsnitt
|
18
18
|
:table-caption: Tabell
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Ek bölüm
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Dikkat
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Örnek
|
8
8
|
:figure-caption: Görsel
|
9
9
|
:important-caption: Önemli
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listeleme]
|
12
12
|
ifdef::manname-title[:manname-title: İsim]
|
13
13
|
:note-caption: Not
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Ön söz]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tablo
|
@@ -2,18 +2,19 @@
|
|
2
2
|
:appendix-caption: Додаток
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Обережно
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Розділ
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Приклад
|
8
|
-
:figure-caption:
|
8
|
+
:figure-caption: Рисунок
|
9
9
|
:important-caption: Важливо
|
10
10
|
:last-update-label: Востаннє оновлено
|
11
11
|
ifdef::listing-caption[:listing-caption: Лістинг]
|
12
12
|
ifdef::manname-title[:manname-title: Назва]
|
13
13
|
:note-caption: Зауваження
|
14
|
-
|
14
|
+
:part-signifier: Частина
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Передмова]
|
16
|
-
|
17
|
+
:section-refsig: Підрозділ
|
17
18
|
:table-caption: Таблиця
|
18
19
|
:tip-caption: Підказка
|
19
20
|
:toc-title: Зміст
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: 附录
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: 注意
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: 示例
|
8
8
|
:figure-caption: 图表
|
9
9
|
:important-caption: 重要
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: 列表]
|
12
12
|
ifdef::manname-title[:manname-title: 名称]
|
13
13
|
:note-caption: 笔记
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: 序言]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: 表格
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: 附錄
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: 注意
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: 示例
|
8
8
|
:figure-caption: 圖表
|
9
9
|
:important-caption: 重要
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: 列表]
|
12
12
|
ifdef::manname-title[:manname-title: 名稱]
|
13
13
|
:note-caption: 筆記
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: 序言]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: 表格
|
data/data/reference/syntax.adoc
CHANGED
@@ -17,7 +17,7 @@ Line breaks are not preserved.
|
|
17
17
|
A blank line separates paragraphs.
|
18
18
|
|
19
19
|
[%hardbreaks]
|
20
|
-
This paragraph
|
20
|
+
This paragraph is marked with the `hardbreaks` option.
|
21
21
|
Notice how line breaks are now preserved.
|
22
22
|
|
23
23
|
An indented (literal) paragraph disables text formatting,
|
@@ -25,14 +25,14 @@ Notice how line breaks are now preserved.
|
|
25
25
|
monospaced font.
|
26
26
|
|
27
27
|
[sidebar#id.role]
|
28
|
-
|
28
|
+
Adding a style, ID, and/or role gives a paragraph (or block) special meaning, like this sidebar.
|
29
29
|
|
30
30
|
NOTE: An admonition paragraph, like this note, grabs the reader's attention.
|
31
31
|
|
32
32
|
TIP: Convert this document using the `asciidoctor` command to see the output produced from it.
|
33
33
|
|
34
34
|
== Text Formatting
|
35
|
-
:hardbreaks:
|
35
|
+
:hardbreaks-option:
|
36
36
|
|
37
37
|
.Constrained (applied at word boundaries)
|
38
38
|
*strong importance* (aka bold)
|
@@ -41,17 +41,24 @@ _stress emphasis_ (aka italic)
|
|
41
41
|
"`double`" and '`single`' typographic quotes
|
42
42
|
+passthrough text+ (substitutions disabled)
|
43
43
|
`+literal text+` (monospaced with substitutions disabled)
|
44
|
+
a #mark# to remember (highlighted for notation)
|
44
45
|
|
45
46
|
.Unconstrained (applied anywhere)
|
46
|
-
**C**reate
|
47
|
+
**C**reate, **R**ead, **U**pdate, and **D**elete (CRUD)
|
47
48
|
fan__freakin__tastic
|
48
49
|
``mono``culture
|
50
|
+
##mark##up your text
|
49
51
|
|
50
52
|
.Replacements
|
51
53
|
A long time ago in a galaxy far, far away...
|
52
54
|
(C) 1976 Arty Artisan
|
53
55
|
I believe I shall--no, actually I won't.
|
54
56
|
|
57
|
+
.ID and roles for phrases
|
58
|
+
[.line-through]#delete me#
|
59
|
+
the [.path]_images_ directory
|
60
|
+
a [#wibble.term]*wibble* does wobble
|
61
|
+
|
55
62
|
.Macros
|
56
63
|
// where c=specialchars, q=quotes, a=attributes, r=replacements, m=macros, p=post_replacements, etc.
|
57
64
|
The European icon:flag[role=blue] is blue & contains pass:[************] arranged in a icon:circle-o[role=yellow].
|
@@ -60,7 +67,7 @@ Since `pass:[++]` has strong priority in AsciiDoc, you can rewrite pass:c,a,r[C+
|
|
60
67
|
// activate stem support by adding `:stem:` to the document header
|
61
68
|
stem:[sqrt(4) = 2]
|
62
69
|
|
63
|
-
:!hardbreaks:
|
70
|
+
:!hardbreaks-option:
|
64
71
|
== Attributes
|
65
72
|
|
66
73
|
// define attributes in the document header; must be flush with left margin
|
@@ -242,7 +249,7 @@ comment - content which is not included in the output document
|
|
242
249
|
== Tables
|
243
250
|
|
244
251
|
.Table Attributes
|
245
|
-
[cols=>1h;2d,width=50%,frame=
|
252
|
+
[cols=>1h;2d,width=50%,frame=ends]
|
246
253
|
|===
|
247
254
|
| Attribute Name | Values
|
248
255
|
|
@@ -256,7 +263,7 @@ comment - content which is not included in the output document
|
|
256
263
|
| all \| cols \| rows \| none
|
257
264
|
|
258
265
|
| frame
|
259
|
-
| all \| sides \|
|
266
|
+
| all \| sides \| ends \| none
|
260
267
|
|
261
268
|
| stripes
|
262
269
|
| all \| even \| odd \| none
|
@@ -37,7 +37,7 @@ textarea{overflow:auto;vertical-align:top}
|
|
37
37
|
table{border-collapse:collapse;border-spacing:0}
|
38
38
|
*,*::before,*::after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
|
39
39
|
html,body{font-size:100%}
|
40
|
-
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
|
40
|
+
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;word-wrap:anywhere;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
|
41
41
|
a:hover{cursor:pointer}
|
42
42
|
img,object,embed{max-width:100%;height:auto}
|
43
43
|
object,embed{height:100%}
|
@@ -52,10 +52,8 @@ img{-ms-interpolation-mode:bicubic}
|
|
52
52
|
img,object,svg{display:inline-block;vertical-align:middle}
|
53
53
|
textarea{height:auto;min-height:50px}
|
54
54
|
select{width:100%}
|
55
|
-
.center{margin-left:auto;margin-right:auto}
|
56
|
-
.stretch{width:100%}
|
57
55
|
.subheader,.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{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em}
|
58
|
-
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0
|
56
|
+
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0}
|
59
57
|
a{color:#2156a5;text-decoration:underline;line-height:inherit}
|
60
58
|
a:hover,a:focus{color:#1d4b8f}
|
61
59
|
a img{border:0}
|
@@ -86,28 +84,28 @@ dl dd{margin-bottom:1.25em}
|
|
86
84
|
abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-bottom:1px dotted #ddd;cursor:help}
|
87
85
|
abbr{text-transform:none}
|
88
86
|
blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
|
89
|
-
blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)}
|
90
|
-
blockquote cite::before{content:"\2014 \0020"}
|
91
|
-
blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)}
|
92
87
|
blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
|
93
88
|
@media screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
|
94
89
|
h1{font-size:2.75em}
|
95
90
|
h2{font-size:2.3125em}
|
96
91
|
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
|
97
92
|
h4{font-size:1.4375em}}
|
98
|
-
table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede}
|
93
|
+
table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede;word-wrap:normal}
|
99
94
|
table thead,table tfoot{background:#f7f8f7}
|
100
95
|
table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left}
|
101
96
|
table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
|
102
97
|
table tr.even,table tr.alt{background:#f8f8f7}
|
103
|
-
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{
|
98
|
+
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{line-height:1.6}
|
104
99
|
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
|
105
100
|
h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
|
101
|
+
.center{margin-left:auto;margin-right:auto}
|
102
|
+
.stretch{width:100%}
|
106
103
|
.clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table}
|
107
104
|
.clearfix::after,.float-group::after{clear:both}
|
108
|
-
:not(pre)
|
109
|
-
:not(pre)
|
110
|
-
:not(pre)
|
105
|
+
:not(pre).nobreak{word-wrap:normal}
|
106
|
+
:not(pre).nowrap{white-space:nowrap}
|
107
|
+
:not(pre).pre-wrap{white-space:pre-wrap}
|
108
|
+
:not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
|
111
109
|
pre{color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;line-height:1.45;text-rendering:optimizeSpeed}
|
112
110
|
pre code,pre pre{color:inherit;font-size:inherit;line-height:inherit}
|
113
111
|
pre>code{display:block}
|
@@ -172,7 +170,7 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
172
170
|
#content #toc{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px}
|
173
171
|
#content #toc>:first-child{margin-top:0}
|
174
172
|
#content #toc>:last-child{margin-bottom:0}
|
175
|
-
#footer{max-width:
|
173
|
+
#footer{max-width:none;background:rgba(0,0,0,.8);padding:1.25em}
|
176
174
|
#footer-text{color:rgba(255,255,255,.8);line-height:1.44}
|
177
175
|
#content{margin-bottom:.625em}
|
178
176
|
.sect1{padding-bottom:.625em}
|
@@ -195,7 +193,7 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
195
193
|
.admonitionblock>table td.icon{text-align:center;width:80px}
|
196
194
|
.admonitionblock>table td.icon img{max-width:none}
|
197
195
|
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
|
198
|
-
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6)}
|
196
|
+
.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}
|
199
197
|
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
|
200
198
|
.exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px}
|
201
199
|
.exampleblock>.content>:first-child{margin-top:0}
|
@@ -205,7 +203,7 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
205
203
|
.sidebarblock>:last-child{margin-bottom:0}
|
206
204
|
.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
|
207
205
|
.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>: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}
|
208
|
-
.literalblock pre,.listingblock>.content>pre{-webkit-border-radius:4px;border-radius:4px;
|
206
|
+
.literalblock pre,.listingblock>.content>pre{-webkit-border-radius:4px;border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}
|
209
207
|
@media screen and (min-width:768px){.literalblock pre,.listingblock>.content>pre{font-size:.90625em}}
|
210
208
|
@media screen and (min-width:1280px){.literalblock pre,.listingblock>.content>pre{font-size:1em}}
|
211
209
|
.literalblock pre,.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class="highlight"],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
|
@@ -250,22 +248,21 @@ pre.pygments .lineno::before{content:"";margin-right:-.125em}
|
|
250
248
|
.quoteblock.excerpt>blockquote,.quoteblock .quoteblock{padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
|
251
249
|
.quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
|
252
250
|
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
|
253
|
-
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
|
254
|
-
table.tableblock{max-width:100%;border-collapse:separate}
|
251
|
+
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;font-size:.85rem;text-align:left;margin-right:0}
|
255
252
|
p.tableblock:last-child{margin-bottom:0}
|
253
|
+
td.tableblock>.content{margin-bottom:1.25em;word-wrap:anywhere}
|
256
254
|
td.tableblock>.content>:last-child{margin-bottom:-1.25em}
|
257
|
-
td.tableblock>.content>:last-child.sidebarblock{margin-bottom:0}
|
258
255
|
table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
|
259
|
-
table.grid-all
|
260
|
-
table.grid-
|
261
|
-
table.grid-
|
262
|
-
table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}
|
263
|
-
table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}
|
264
|
-
table.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}
|
265
|
-
table.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}
|
256
|
+
table.grid-all>*>tr>*{border-width:1px}
|
257
|
+
table.grid-cols>*>tr>*{border-width:0 1px}
|
258
|
+
table.grid-rows>*>tr>*{border-width:1px 0}
|
266
259
|
table.frame-all{border-width:1px}
|
260
|
+
table.frame-ends{border-width:1px 0}
|
267
261
|
table.frame-sides{border-width:0 1px}
|
268
|
-
table.frame-
|
262
|
+
table.frame-none>colgroup+*>:first-child>*,table.frame-sides>colgroup+*>:first-child>*{border-top-width:0}
|
263
|
+
table.frame-none>:last-child>:last-child>*,table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}
|
264
|
+
table.frame-none>*>tr>:first-child,table.frame-ends>*>tr>:first-child{border-left-width:0}
|
265
|
+
table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}
|
269
266
|
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}
|
270
267
|
th.halign-left,td.halign-left{text-align:left}
|
271
268
|
th.halign-right,td.halign-right{text-align:right}
|
@@ -274,7 +271,7 @@ th.valign-top,td.valign-top{vertical-align:top}
|
|
274
271
|
th.valign-bottom,td.valign-bottom{vertical-align:bottom}
|
275
272
|
th.valign-middle,td.valign-middle{vertical-align:middle}
|
276
273
|
table thead th,table tfoot th{font-weight:bold}
|
277
|
-
tbody tr th{
|
274
|
+
tbody tr th{background:#f7f8f7}
|
278
275
|
tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold}
|
279
276
|
p.tableblock>code:only-child{background:none;padding:0}
|
280
277
|
p.tableblock{font-size:1em}
|
@@ -303,6 +300,7 @@ ol.lowergreek{list-style-type:lower-greek}
|
|
303
300
|
.hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none}
|
304
301
|
td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em}
|
305
302
|
td.hdlist1{font-weight:bold;padding-bottom:1.25em}
|
303
|
+
td.hdlist2{word-wrap:anywhere}
|
306
304
|
.literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
|
307
305
|
.colist td:not([class]):first-child{padding:.4em .75em 0;line-height:1;vertical-align:top}
|
308
306
|
.colist td:not([class]):first-child img{max-width:none}
|
@@ -375,7 +373,7 @@ a span.icon>.fa{cursor:inherit}
|
|
375
373
|
.admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
|
376
374
|
.admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
|
377
375
|
.admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000}
|
378
|
-
.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:
|
376
|
+
.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:50%;border-radius:50%;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
|
379
377
|
.conum[data-value] *{color:#fff!important}
|
380
378
|
.conum[data-value]+b{display:none}
|
381
379
|
.conum[data-value]::after{content:attr(data-value)}
|
@@ -402,6 +400,7 @@ thead{display:table-header-group}
|
|
402
400
|
svg{max-width:100%}
|
403
401
|
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
|
404
402
|
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
|
403
|
+
#header,#content,#footnotes,#footer{max-width:none}
|
405
404
|
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
|
406
405
|
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
|
407
406
|
body.book #header{text-align:center}
|