@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.
Files changed (129) hide show
  1. package/README.md +7 -7
  2. package/lib/__tests__/syntax.js +72 -0
  3. package/lib/constants/defaultRules.js +3 -3
  4. package/lib/json/__tests__/decode.js +38 -0
  5. package/lib/json/__tests__/encode.js +26 -0
  6. package/lib/markup.js +2 -2
  7. package/lib/models/__tests__/token.js +18 -0
  8. package/lib/models/token.js +3 -3
  9. package/lib/parse/__tests__/mergeTokens.js +51 -0
  10. package/lib/parse/index.js +1 -1
  11. package/lib/parse/lex.js +3 -3
  12. package/lib/parse/state.js +2 -2
  13. package/lib/parse/textToUnstyledTokens.js +1 -1
  14. package/lib/render/state.js +1 -1
  15. package/lib/utils/walk.js +2 -2
  16. package/package.json +2 -2
  17. package/syntaxes/markdown/__tests__/specs/amps_and_angles_encoding.html +17 -0
  18. package/syntaxes/markdown/__tests__/specs/amps_and_angles_encoding.md +21 -0
  19. package/syntaxes/markdown/__tests__/specs/auto_links.html +18 -0
  20. package/syntaxes/markdown/__tests__/specs/auto_links.md +13 -0
  21. package/syntaxes/markdown/__tests__/specs/autolink_lines.html +3 -0
  22. package/syntaxes/markdown/__tests__/specs/autolink_lines.md +2 -0
  23. package/syntaxes/markdown/__tests__/specs/backslash_escapes.html +118 -0
  24. package/syntaxes/markdown/__tests__/specs/backslash_escapes.md +120 -0
  25. package/syntaxes/markdown/__tests__/specs/blockquote_list_item.html +3 -0
  26. package/syntaxes/markdown/__tests__/specs/blockquote_list_item.md +4 -0
  27. package/syntaxes/markdown/__tests__/specs/blockquotes_with_code_blocks.html +15 -0
  28. package/syntaxes/markdown/__tests__/specs/blockquotes_with_code_blocks.md +11 -0
  29. package/syntaxes/markdown/__tests__/specs/case_insensitive_refs.html +1 -0
  30. package/syntaxes/markdown/__tests__/specs/case_insensitive_refs.md +3 -0
  31. package/syntaxes/markdown/__tests__/specs/code_blocks.html +18 -0
  32. package/syntaxes/markdown/__tests__/specs/code_blocks.md +14 -0
  33. package/syntaxes/markdown/__tests__/specs/code_blocks_indent.html +13 -0
  34. package/syntaxes/markdown/__tests__/specs/code_blocks_indent.md +14 -0
  35. package/syntaxes/markdown/__tests__/specs/code_spans.html +6 -0
  36. package/syntaxes/markdown/__tests__/specs/code_spans.md +6 -0
  37. package/syntaxes/markdown/__tests__/specs/def_blocks.html +30 -0
  38. package/syntaxes/markdown/__tests__/specs/def_blocks.md +21 -0
  39. package/syntaxes/markdown/__tests__/specs/double_link.html +5 -0
  40. package/syntaxes/markdown/__tests__/specs/double_link.md +5 -0
  41. package/syntaxes/markdown/__tests__/specs/escaped_angles.html +1 -0
  42. package/syntaxes/markdown/__tests__/specs/escaped_angles.md +1 -0
  43. package/syntaxes/markdown/__tests__/specs/footnotes.html +4 -0
  44. package/syntaxes/markdown/__tests__/specs/footnotes.md +3 -0
  45. package/syntaxes/markdown/__tests__/specs/gfm_break.breaks.html +3 -0
  46. package/syntaxes/markdown/__tests__/specs/gfm_break.breaks.md +3 -0
  47. package/syntaxes/markdown/__tests__/specs/gfm_code.html +5 -0
  48. package/syntaxes/markdown/__tests__/specs/gfm_code.md +16 -0
  49. package/syntaxes/markdown/__tests__/specs/gfm_code_hr_list.html +52 -0
  50. package/syntaxes/markdown/__tests__/specs/gfm_code_hr_list.md +53 -0
  51. package/syntaxes/markdown/__tests__/specs/gfm_del.html +1 -0
  52. package/syntaxes/markdown/__tests__/specs/gfm_del.md +1 -0
  53. package/syntaxes/markdown/__tests__/specs/gfm_em.html +1 -0
  54. package/syntaxes/markdown/__tests__/specs/gfm_em.md +1 -0
  55. package/syntaxes/markdown/__tests__/specs/gfm_links.html +2 -0
  56. package/syntaxes/markdown/__tests__/specs/gfm_links.md +1 -0
  57. package/syntaxes/markdown/__tests__/specs/gfm_tables.html +37 -0
  58. package/syntaxes/markdown/__tests__/specs/gfm_tables.md +21 -0
  59. package/syntaxes/markdown/__tests__/specs/hard_wrapped_paragraphs_with_list_like_lines.nogfm.html +10 -0
  60. package/syntaxes/markdown/__tests__/specs/hard_wrapped_paragraphs_with_list_like_lines.nogfm.md +8 -0
  61. package/syntaxes/markdown/__tests__/specs/horizontal_rules.html +71 -0
  62. package/syntaxes/markdown/__tests__/specs/horizontal_rules.md +67 -0
  63. package/syntaxes/markdown/__tests__/specs/hr_list_break.html +10 -0
  64. package/syntaxes/markdown/__tests__/specs/hr_list_break.md +6 -0
  65. package/syntaxes/markdown/__tests__/specs/image.html +5 -0
  66. package/syntaxes/markdown/__tests__/specs/image.md +3 -0
  67. package/syntaxes/markdown/__tests__/specs/inline_html.html +6 -0
  68. package/syntaxes/markdown/__tests__/specs/inline_html.md +6 -0
  69. package/syntaxes/markdown/__tests__/specs/inline_html_advanced.html +15 -0
  70. package/syntaxes/markdown/__tests__/specs/inline_html_advanced.md +15 -0
  71. package/syntaxes/markdown/__tests__/specs/inline_html_comments.html +13 -0
  72. package/syntaxes/markdown/__tests__/specs/inline_html_comments.md +13 -0
  73. package/syntaxes/markdown/__tests__/specs/inline_html_script.html +3 -0
  74. package/syntaxes/markdown/__tests__/specs/inline_html_script.md +3 -0
  75. package/syntaxes/markdown/__tests__/specs/inline_html_simple.html +72 -0
  76. package/syntaxes/markdown/__tests__/specs/inline_html_simple.md +69 -0
  77. package/syntaxes/markdown/__tests__/specs/lazy_blockquotes.html +4 -0
  78. package/syntaxes/markdown/__tests__/specs/lazy_blockquotes.md +2 -0
  79. package/syntaxes/markdown/__tests__/specs/links_inline_style.html +15 -0
  80. package/syntaxes/markdown/__tests__/specs/links_inline_style.md +15 -0
  81. package/syntaxes/markdown/__tests__/specs/links_reference_style.html +52 -0
  82. package/syntaxes/markdown/__tests__/specs/links_reference_style.md +71 -0
  83. package/syntaxes/markdown/__tests__/specs/links_shortcut_references.html +9 -0
  84. package/syntaxes/markdown/__tests__/specs/links_shortcut_references.md +20 -0
  85. package/syntaxes/markdown/__tests__/specs/list_item_text.html +1 -0
  86. package/syntaxes/markdown/__tests__/specs/list_item_text.md +5 -0
  87. package/syntaxes/markdown/__tests__/specs/literal_quotes_in_titles.html +3 -0
  88. package/syntaxes/markdown/__tests__/specs/literal_quotes_in_titles.md +7 -0
  89. package/syntaxes/markdown/__tests__/specs/loose_lists.html +62 -0
  90. package/syntaxes/markdown/__tests__/specs/loose_lists.md +59 -0
  91. package/syntaxes/markdown/__tests__/specs/main.html +69 -0
  92. package/syntaxes/markdown/__tests__/specs/main.md +55 -0
  93. package/syntaxes/markdown/__tests__/specs/markdown_documentation_basics.html +314 -0
  94. package/syntaxes/markdown/__tests__/specs/markdown_documentation_basics.md +306 -0
  95. package/syntaxes/markdown/__tests__/specs/markdown_documentation_syntax.html +942 -0
  96. package/syntaxes/markdown/__tests__/specs/markdown_documentation_syntax.md +888 -0
  97. package/syntaxes/markdown/__tests__/specs/nested_blockquotes.html +9 -0
  98. package/syntaxes/markdown/__tests__/specs/nested_blockquotes.md +5 -0
  99. package/syntaxes/markdown/__tests__/specs/nested_code.html +1 -0
  100. package/syntaxes/markdown/__tests__/specs/nested_code.md +1 -0
  101. package/syntaxes/markdown/__tests__/specs/nested_em.html +3 -0
  102. package/syntaxes/markdown/__tests__/specs/nested_em.md +3 -0
  103. package/syntaxes/markdown/__tests__/specs/nested_square_link.html +1 -0
  104. package/syntaxes/markdown/__tests__/specs/nested_square_link.md +1 -0
  105. package/syntaxes/markdown/__tests__/specs/not_a_link.html +1 -0
  106. package/syntaxes/markdown/__tests__/specs/not_a_link.md +1 -0
  107. package/syntaxes/markdown/__tests__/specs/ordered_and_unordered_lists.html +148 -0
  108. package/syntaxes/markdown/__tests__/specs/ordered_and_unordered_lists.md +131 -0
  109. package/syntaxes/markdown/__tests__/specs/ref_paren.html +1 -0
  110. package/syntaxes/markdown/__tests__/specs/ref_paren.md +3 -0
  111. package/syntaxes/markdown/__tests__/specs/same_bullet.html +5 -0
  112. package/syntaxes/markdown/__tests__/specs/same_bullet.md +3 -0
  113. package/syntaxes/markdown/__tests__/specs/simple_paragraph.html +1 -0
  114. package/syntaxes/markdown/__tests__/specs/simple_paragraph.md +1 -0
  115. package/syntaxes/markdown/__tests__/specs/strong_and_em_together.html +7 -0
  116. package/syntaxes/markdown/__tests__/specs/strong_and_em_together.md +7 -0
  117. package/syntaxes/markdown/__tests__/specs/table_pipe.html +5 -0
  118. package/syntaxes/markdown/__tests__/specs/table_pipe.md +4 -0
  119. package/syntaxes/markdown/__tests__/specs/tabs.html +25 -0
  120. package/syntaxes/markdown/__tests__/specs/tabs.md +21 -0
  121. package/syntaxes/markdown/__tests__/specs/tidyness.html +8 -0
  122. package/syntaxes/markdown/__tests__/specs/tidyness.md +5 -0
  123. package/syntaxes/markdown/__tests__/specs/toplevel_paragraphs.gfm.html +34 -0
  124. package/syntaxes/markdown/__tests__/specs/toplevel_paragraphs.gfm.md +37 -0
  125. package/syntaxes/markdown/__tests__/specs/tricky_list.html +23 -0
  126. package/syntaxes/markdown/__tests__/specs/tricky_list.md +15 -0
  127. package/syntaxes/markdown/__tests__/specs.js +74 -0
  128. package/syntaxes/markdown/re/inline.js +1 -1
  129. 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