@honkit/markup-it 3.6.17 → 3.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/lib/__tests__/syntax.js +72 -0
- package/lib/constants/defaultRules.js +3 -3
- package/lib/json/__tests__/decode.js +38 -0
- package/lib/json/__tests__/encode.js +26 -0
- package/lib/markup.js +2 -2
- package/lib/models/__tests__/token.js +18 -0
- package/lib/models/token.js +3 -3
- package/lib/parse/__tests__/mergeTokens.js +51 -0
- package/lib/parse/index.js +1 -1
- package/lib/parse/lex.js +3 -3
- package/lib/parse/state.js +2 -2
- package/lib/parse/textToUnstyledTokens.js +1 -1
- package/lib/render/state.js +1 -1
- package/lib/utils/walk.js +2 -2
- package/package.json +2 -2
- package/syntaxes/markdown/__tests__/specs/amps_and_angles_encoding.html +17 -0
- package/syntaxes/markdown/__tests__/specs/amps_and_angles_encoding.md +21 -0
- package/syntaxes/markdown/__tests__/specs/auto_links.html +18 -0
- package/syntaxes/markdown/__tests__/specs/auto_links.md +13 -0
- package/syntaxes/markdown/__tests__/specs/autolink_lines.html +3 -0
- package/syntaxes/markdown/__tests__/specs/autolink_lines.md +2 -0
- package/syntaxes/markdown/__tests__/specs/backslash_escapes.html +118 -0
- package/syntaxes/markdown/__tests__/specs/backslash_escapes.md +120 -0
- package/syntaxes/markdown/__tests__/specs/blockquote_list_item.html +3 -0
- package/syntaxes/markdown/__tests__/specs/blockquote_list_item.md +4 -0
- package/syntaxes/markdown/__tests__/specs/blockquotes_with_code_blocks.html +15 -0
- package/syntaxes/markdown/__tests__/specs/blockquotes_with_code_blocks.md +11 -0
- package/syntaxes/markdown/__tests__/specs/case_insensitive_refs.html +1 -0
- package/syntaxes/markdown/__tests__/specs/case_insensitive_refs.md +3 -0
- package/syntaxes/markdown/__tests__/specs/code_blocks.html +18 -0
- package/syntaxes/markdown/__tests__/specs/code_blocks.md +14 -0
- package/syntaxes/markdown/__tests__/specs/code_blocks_indent.html +13 -0
- package/syntaxes/markdown/__tests__/specs/code_blocks_indent.md +14 -0
- package/syntaxes/markdown/__tests__/specs/code_spans.html +6 -0
- package/syntaxes/markdown/__tests__/specs/code_spans.md +6 -0
- package/syntaxes/markdown/__tests__/specs/def_blocks.html +30 -0
- package/syntaxes/markdown/__tests__/specs/def_blocks.md +21 -0
- package/syntaxes/markdown/__tests__/specs/double_link.html +5 -0
- package/syntaxes/markdown/__tests__/specs/double_link.md +5 -0
- package/syntaxes/markdown/__tests__/specs/escaped_angles.html +1 -0
- package/syntaxes/markdown/__tests__/specs/escaped_angles.md +1 -0
- package/syntaxes/markdown/__tests__/specs/footnotes.html +4 -0
- package/syntaxes/markdown/__tests__/specs/footnotes.md +3 -0
- package/syntaxes/markdown/__tests__/specs/gfm_break.breaks.html +3 -0
- package/syntaxes/markdown/__tests__/specs/gfm_break.breaks.md +3 -0
- package/syntaxes/markdown/__tests__/specs/gfm_code.html +5 -0
- package/syntaxes/markdown/__tests__/specs/gfm_code.md +16 -0
- package/syntaxes/markdown/__tests__/specs/gfm_code_hr_list.html +52 -0
- package/syntaxes/markdown/__tests__/specs/gfm_code_hr_list.md +53 -0
- package/syntaxes/markdown/__tests__/specs/gfm_del.html +1 -0
- package/syntaxes/markdown/__tests__/specs/gfm_del.md +1 -0
- package/syntaxes/markdown/__tests__/specs/gfm_em.html +1 -0
- package/syntaxes/markdown/__tests__/specs/gfm_em.md +1 -0
- package/syntaxes/markdown/__tests__/specs/gfm_links.html +2 -0
- package/syntaxes/markdown/__tests__/specs/gfm_links.md +1 -0
- package/syntaxes/markdown/__tests__/specs/gfm_tables.html +37 -0
- package/syntaxes/markdown/__tests__/specs/gfm_tables.md +21 -0
- package/syntaxes/markdown/__tests__/specs/hard_wrapped_paragraphs_with_list_like_lines.nogfm.html +10 -0
- package/syntaxes/markdown/__tests__/specs/hard_wrapped_paragraphs_with_list_like_lines.nogfm.md +8 -0
- package/syntaxes/markdown/__tests__/specs/horizontal_rules.html +71 -0
- package/syntaxes/markdown/__tests__/specs/horizontal_rules.md +67 -0
- package/syntaxes/markdown/__tests__/specs/hr_list_break.html +10 -0
- package/syntaxes/markdown/__tests__/specs/hr_list_break.md +6 -0
- package/syntaxes/markdown/__tests__/specs/image.html +5 -0
- package/syntaxes/markdown/__tests__/specs/image.md +3 -0
- package/syntaxes/markdown/__tests__/specs/inline_html.html +6 -0
- package/syntaxes/markdown/__tests__/specs/inline_html.md +6 -0
- package/syntaxes/markdown/__tests__/specs/inline_html_advanced.html +15 -0
- package/syntaxes/markdown/__tests__/specs/inline_html_advanced.md +15 -0
- package/syntaxes/markdown/__tests__/specs/inline_html_comments.html +13 -0
- package/syntaxes/markdown/__tests__/specs/inline_html_comments.md +13 -0
- package/syntaxes/markdown/__tests__/specs/inline_html_script.html +3 -0
- package/syntaxes/markdown/__tests__/specs/inline_html_script.md +3 -0
- package/syntaxes/markdown/__tests__/specs/inline_html_simple.html +72 -0
- package/syntaxes/markdown/__tests__/specs/inline_html_simple.md +69 -0
- package/syntaxes/markdown/__tests__/specs/lazy_blockquotes.html +4 -0
- package/syntaxes/markdown/__tests__/specs/lazy_blockquotes.md +2 -0
- package/syntaxes/markdown/__tests__/specs/links_inline_style.html +15 -0
- package/syntaxes/markdown/__tests__/specs/links_inline_style.md +15 -0
- package/syntaxes/markdown/__tests__/specs/links_reference_style.html +52 -0
- package/syntaxes/markdown/__tests__/specs/links_reference_style.md +71 -0
- package/syntaxes/markdown/__tests__/specs/links_shortcut_references.html +9 -0
- package/syntaxes/markdown/__tests__/specs/links_shortcut_references.md +20 -0
- package/syntaxes/markdown/__tests__/specs/list_item_text.html +1 -0
- package/syntaxes/markdown/__tests__/specs/list_item_text.md +5 -0
- package/syntaxes/markdown/__tests__/specs/literal_quotes_in_titles.html +3 -0
- package/syntaxes/markdown/__tests__/specs/literal_quotes_in_titles.md +7 -0
- package/syntaxes/markdown/__tests__/specs/loose_lists.html +62 -0
- package/syntaxes/markdown/__tests__/specs/loose_lists.md +59 -0
- package/syntaxes/markdown/__tests__/specs/main.html +69 -0
- package/syntaxes/markdown/__tests__/specs/main.md +55 -0
- package/syntaxes/markdown/__tests__/specs/markdown_documentation_basics.html +314 -0
- package/syntaxes/markdown/__tests__/specs/markdown_documentation_basics.md +306 -0
- package/syntaxes/markdown/__tests__/specs/markdown_documentation_syntax.html +942 -0
- package/syntaxes/markdown/__tests__/specs/markdown_documentation_syntax.md +888 -0
- package/syntaxes/markdown/__tests__/specs/nested_blockquotes.html +9 -0
- package/syntaxes/markdown/__tests__/specs/nested_blockquotes.md +5 -0
- package/syntaxes/markdown/__tests__/specs/nested_code.html +1 -0
- package/syntaxes/markdown/__tests__/specs/nested_code.md +1 -0
- package/syntaxes/markdown/__tests__/specs/nested_em.html +3 -0
- package/syntaxes/markdown/__tests__/specs/nested_em.md +3 -0
- package/syntaxes/markdown/__tests__/specs/nested_square_link.html +1 -0
- package/syntaxes/markdown/__tests__/specs/nested_square_link.md +1 -0
- package/syntaxes/markdown/__tests__/specs/not_a_link.html +1 -0
- package/syntaxes/markdown/__tests__/specs/not_a_link.md +1 -0
- package/syntaxes/markdown/__tests__/specs/ordered_and_unordered_lists.html +148 -0
- package/syntaxes/markdown/__tests__/specs/ordered_and_unordered_lists.md +131 -0
- package/syntaxes/markdown/__tests__/specs/ref_paren.html +1 -0
- package/syntaxes/markdown/__tests__/specs/ref_paren.md +3 -0
- package/syntaxes/markdown/__tests__/specs/same_bullet.html +5 -0
- package/syntaxes/markdown/__tests__/specs/same_bullet.md +3 -0
- package/syntaxes/markdown/__tests__/specs/simple_paragraph.html +1 -0
- package/syntaxes/markdown/__tests__/specs/simple_paragraph.md +1 -0
- package/syntaxes/markdown/__tests__/specs/strong_and_em_together.html +7 -0
- package/syntaxes/markdown/__tests__/specs/strong_and_em_together.md +7 -0
- package/syntaxes/markdown/__tests__/specs/table_pipe.html +5 -0
- package/syntaxes/markdown/__tests__/specs/table_pipe.md +4 -0
- package/syntaxes/markdown/__tests__/specs/tabs.html +25 -0
- package/syntaxes/markdown/__tests__/specs/tabs.md +21 -0
- package/syntaxes/markdown/__tests__/specs/tidyness.html +8 -0
- package/syntaxes/markdown/__tests__/specs/tidyness.md +5 -0
- package/syntaxes/markdown/__tests__/specs/toplevel_paragraphs.gfm.html +34 -0
- package/syntaxes/markdown/__tests__/specs/toplevel_paragraphs.gfm.md +37 -0
- package/syntaxes/markdown/__tests__/specs/tricky_list.html +23 -0
- package/syntaxes/markdown/__tests__/specs/tricky_list.md +15 -0
- package/syntaxes/markdown/__tests__/specs.js +74 -0
- package/syntaxes/markdown/re/inline.js +1 -1
- package/CHANGELOG.md +0 -121
package/CHANGELOG.md
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [3.6.17](https://github.com/GitbookIO/draft-markup/compare/v3.6.16...v3.6.17) (2021-02-15)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## 3.6.16 (2020-12-15)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## 3.6.15 (2020-12-05)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## 3.6.14 (2020-11-29)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
## 3.6.13 (2020-11-17)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### Bug Fixes
|
|
42
|
-
|
|
43
|
-
* **honkit:** browser print layout in default theme ([#159](https://github.com/GitbookIO/draft-markup/issues/159)) ([672cb9c](https://github.com/GitbookIO/draft-markup/commit/672cb9c92f90dd154793b7a36d4dbf2654e7aec4))
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
## 3.6.12 (2020-11-13)
|
|
50
|
-
|
|
51
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
## [3.5.4](https://github.com/GitbookIO/draft-markup/compare/v3.5.3...v3.5.4) (2020-08-01)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Bug Fixes
|
|
61
|
-
|
|
62
|
-
* add prepublish script ([810fcc7](https://github.com/GitbookIO/draft-markup/commit/810fcc7f45f3b1ab8d9527e8738f9861fdbe2c31))
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
## [3.5.1](https://github.com/GitbookIO/draft-markup/compare/v3.5.0...v3.5.1) (2020-07-04)
|
|
69
|
-
|
|
70
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
## [3.4.1](https://github.com/GitbookIO/draft-markup/compare/v3.4.0...v3.4.1) (2020-06-29)
|
|
77
|
-
|
|
78
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
## [3.3.11](https://github.com/GitbookIO/draft-markup/compare/v3.3.10...v3.3.11) (2020-06-27)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
### Bug Fixes
|
|
88
|
-
|
|
89
|
-
* **markdown:** Do not force convert Indented CodeBlock to Fenced code blocks ([#60](https://github.com/GitbookIO/draft-markup/issues/60)) ([ef55687](https://github.com/GitbookIO/draft-markup/commit/ef556874f42d27a4d7b323acbc92fcadd579d034))
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
## [3.3.8](https://github.com/GitbookIO/draft-markup/compare/v3.3.7...v3.3.8) (2020-06-18)
|
|
96
|
-
|
|
97
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
## [3.3.7](https://github.com/GitbookIO/draft-markup/compare/v3.3.6...v3.3.7) (2020-06-18)
|
|
104
|
-
|
|
105
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
## [3.3.6](https://github.com/GitbookIO/draft-markup/compare/v3.3.5...v3.3.6) (2020-06-18)
|
|
112
|
-
|
|
113
|
-
**Note:** Version bump only for package @honkit/markup-it
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
## [3.3.5](https://github.com/GitbookIO/draft-markup/compare/v3.3.4...v3.3.5) (2020-06-18)
|
|
120
|
-
|
|
121
|
-
**Note:** Version bump only for package @honkit/markup-it
|