--- 02_01_00__preliminaries__tabs__001: spec_example_position: 1 source_specification: commonmark 02_01_00__preliminaries__tabs__002: spec_example_position: 2 source_specification: commonmark 02_01_00__preliminaries__tabs__003: spec_example_position: 3 source_specification: commonmark 02_01_00__preliminaries__tabs__004: spec_example_position: 4 source_specification: commonmark 02_01_00__preliminaries__tabs__005: spec_example_position: 5 source_specification: commonmark 02_01_00__preliminaries__tabs__006: spec_example_position: 6 source_specification: commonmark 02_01_00__preliminaries__tabs__007: spec_example_position: 7 source_specification: commonmark 02_01_00__preliminaries__tabs__008: spec_example_position: 8 source_specification: commonmark 02_01_00__preliminaries__tabs__009: spec_example_position: 9 source_specification: commonmark 02_01_00__preliminaries__tabs__010: spec_example_position: 10 source_specification: commonmark 02_01_00__preliminaries__tabs__011: spec_example_position: 11 source_specification: commonmark 03_01_00__blocks_and_inlines__precedence__001: spec_example_position: 12 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__001: spec_example_position: 13 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__002: spec_example_position: 14 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__003: spec_example_position: 15 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__004: spec_example_position: 16 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__005: spec_example_position: 17 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__006: spec_example_position: 18 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__007: spec_example_position: 19 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__008: spec_example_position: 20 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__009: spec_example_position: 21 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__010: spec_example_position: 22 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__011: spec_example_position: 23 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__012: spec_example_position: 24 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__013: spec_example_position: 25 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__014: spec_example_position: 26 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__015: spec_example_position: 27 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__016: spec_example_position: 28 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__017: spec_example_position: 29 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__018: spec_example_position: 30 source_specification: commonmark 04_01_00__leaf_blocks__thematic_breaks__019: spec_example_position: 31 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__001: spec_example_position: 32 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__002: spec_example_position: 33 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__003: spec_example_position: 34 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__004: spec_example_position: 35 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__005: spec_example_position: 36 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__006: spec_example_position: 37 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__007: spec_example_position: 38 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__008: spec_example_position: 39 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__009: spec_example_position: 40 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__010: spec_example_position: 41 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__011: spec_example_position: 42 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__012: spec_example_position: 43 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__013: spec_example_position: 44 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__014: spec_example_position: 45 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__015: spec_example_position: 46 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__016: spec_example_position: 47 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__017: spec_example_position: 48 source_specification: commonmark 04_02_00__leaf_blocks__atx_headings__018: spec_example_position: 49 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__001: spec_example_position: 50 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__002: spec_example_position: 51 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__003: spec_example_position: 52 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__004: spec_example_position: 53 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__005: spec_example_position: 54 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__006: spec_example_position: 55 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__007: spec_example_position: 56 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__008: spec_example_position: 57 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__009: spec_example_position: 58 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__010: spec_example_position: 59 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__011: spec_example_position: 60 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__012: spec_example_position: 61 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__013: spec_example_position: 62 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__014: spec_example_position: 63 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__015: spec_example_position: 64 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__016: spec_example_position: 65 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__017: spec_example_position: 66 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__018: spec_example_position: 67 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__019: spec_example_position: 68 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__020: spec_example_position: 69 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__021: spec_example_position: 70 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__022: spec_example_position: 71 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__023: spec_example_position: 72 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__024: spec_example_position: 73 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__025: spec_example_position: 74 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__026: spec_example_position: 75 source_specification: commonmark 04_03_00__leaf_blocks__setext_headings__027: spec_example_position: 76 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__001: spec_example_position: 77 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__002: spec_example_position: 78 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__003: spec_example_position: 79 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__004: spec_example_position: 80 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__005: spec_example_position: 81 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__006: spec_example_position: 82 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__007: spec_example_position: 83 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__008: spec_example_position: 84 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__009: spec_example_position: 85 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__010: spec_example_position: 86 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__011: spec_example_position: 87 source_specification: commonmark 04_04_00__leaf_blocks__indented_code_blocks__012: spec_example_position: 88 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__001: spec_example_position: 89 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__002: spec_example_position: 90 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__003: spec_example_position: 91 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__004: spec_example_position: 92 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__005: spec_example_position: 93 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__006: spec_example_position: 94 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__007: spec_example_position: 95 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__008: spec_example_position: 96 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__009: spec_example_position: 97 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__010: spec_example_position: 98 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__011: spec_example_position: 99 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__012: spec_example_position: 100 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__013: spec_example_position: 101 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__014: spec_example_position: 102 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__015: spec_example_position: 103 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__016: spec_example_position: 104 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__017: spec_example_position: 105 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__018: spec_example_position: 106 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__019: spec_example_position: 107 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__020: spec_example_position: 108 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__021: spec_example_position: 109 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__022: spec_example_position: 110 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__023: spec_example_position: 111 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__024: spec_example_position: 112 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__025: spec_example_position: 113 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__026: spec_example_position: 114 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__027: spec_example_position: 115 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__028: spec_example_position: 116 source_specification: commonmark 04_05_00__leaf_blocks__fenced_code_blocks__029: spec_example_position: 117 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__001: spec_example_position: 118 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__002: spec_example_position: 119 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__003: spec_example_position: 120 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__004: spec_example_position: 121 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__005: spec_example_position: 122 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__006: spec_example_position: 123 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__007: spec_example_position: 124 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__008: spec_example_position: 125 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__009: spec_example_position: 126 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__010: spec_example_position: 127 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__011: spec_example_position: 128 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__012: spec_example_position: 129 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__013: spec_example_position: 130 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__014: spec_example_position: 131 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__015: spec_example_position: 132 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__016: spec_example_position: 133 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__017: spec_example_position: 134 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__018: spec_example_position: 135 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__019: spec_example_position: 136 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__020: spec_example_position: 137 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__021: spec_example_position: 138 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__022: spec_example_position: 139 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__023: spec_example_position: 140 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__024: spec_example_position: 141 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__025: spec_example_position: 142 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__026: spec_example_position: 143 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__027: spec_example_position: 144 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__028: spec_example_position: 145 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__029: spec_example_position: 146 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__030: spec_example_position: 147 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__031: spec_example_position: 148 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__032: spec_example_position: 149 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__033: spec_example_position: 150 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__034: spec_example_position: 151 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__035: spec_example_position: 152 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__036: spec_example_position: 153 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__037: spec_example_position: 154 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__038: spec_example_position: 155 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__039: spec_example_position: 156 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__040: spec_example_position: 157 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__041: spec_example_position: 158 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__042: spec_example_position: 159 source_specification: commonmark 04_06_00__leaf_blocks__html_blocks__043: spec_example_position: 160 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__001: spec_example_position: 161 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__002: spec_example_position: 162 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__003: spec_example_position: 163 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__004: spec_example_position: 164 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__005: spec_example_position: 165 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__006: spec_example_position: 166 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__007: spec_example_position: 167 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__008: spec_example_position: 168 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__009: spec_example_position: 169 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__010: spec_example_position: 170 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__011: spec_example_position: 171 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__012: spec_example_position: 172 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__013: spec_example_position: 173 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__014: spec_example_position: 174 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__015: spec_example_position: 175 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__016: spec_example_position: 176 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__017: spec_example_position: 177 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__018: spec_example_position: 178 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__019: spec_example_position: 179 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__020: spec_example_position: 180 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__021: spec_example_position: 181 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__022: spec_example_position: 182 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__023: spec_example_position: 183 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__024: spec_example_position: 184 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__025: spec_example_position: 185 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__026: spec_example_position: 186 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__027: spec_example_position: 187 source_specification: commonmark 04_07_00__leaf_blocks__link_reference_definitions__028: spec_example_position: 188 source_specification: commonmark 04_08_00__leaf_blocks__paragraphs__001: spec_example_position: 189 source_specification: commonmark 04_08_00__leaf_blocks__paragraphs__002: spec_example_position: 190 source_specification: commonmark 04_08_00__leaf_blocks__paragraphs__003: spec_example_position: 191 source_specification: commonmark 04_08_00__leaf_blocks__paragraphs__004: spec_example_position: 192 source_specification: commonmark 04_08_00__leaf_blocks__paragraphs__005: spec_example_position: 193 source_specification: commonmark 04_08_00__leaf_blocks__paragraphs__006: spec_example_position: 194 source_specification: commonmark 04_08_00__leaf_blocks__paragraphs__007: spec_example_position: 195 source_specification: commonmark 04_08_00__leaf_blocks__paragraphs__008: spec_example_position: 196 source_specification: commonmark 04_09_00__leaf_blocks__blank_lines__001: spec_example_position: 197 source_specification: commonmark 04_10_00__leaf_blocks__tables_extension__001: spec_example_position: 198 source_specification: github 04_10_00__leaf_blocks__tables_extension__002: spec_example_position: 199 source_specification: github 04_10_00__leaf_blocks__tables_extension__003: spec_example_position: 200 source_specification: github 04_10_00__leaf_blocks__tables_extension__004: spec_example_position: 201 source_specification: github 04_10_00__leaf_blocks__tables_extension__005: spec_example_position: 202 source_specification: github 04_10_00__leaf_blocks__tables_extension__006: spec_example_position: 203 source_specification: github 04_10_00__leaf_blocks__tables_extension__007: spec_example_position: 204 source_specification: github 04_10_00__leaf_blocks__tables_extension__008: spec_example_position: 205 source_specification: github 05_01_00__container_blocks__block_quotes__001: spec_example_position: 206 source_specification: commonmark 05_01_00__container_blocks__block_quotes__002: spec_example_position: 207 source_specification: commonmark 05_01_00__container_blocks__block_quotes__003: spec_example_position: 208 source_specification: commonmark 05_01_00__container_blocks__block_quotes__004: spec_example_position: 209 source_specification: commonmark 05_01_00__container_blocks__block_quotes__005: spec_example_position: 210 source_specification: commonmark 05_01_00__container_blocks__block_quotes__006: spec_example_position: 211 source_specification: commonmark 05_01_00__container_blocks__block_quotes__007: spec_example_position: 212 source_specification: commonmark 05_01_00__container_blocks__block_quotes__008: spec_example_position: 213 source_specification: commonmark 05_01_00__container_blocks__block_quotes__009: spec_example_position: 214 source_specification: commonmark 05_01_00__container_blocks__block_quotes__010: spec_example_position: 215 source_specification: commonmark 05_01_00__container_blocks__block_quotes__011: spec_example_position: 216 source_specification: commonmark 05_01_00__container_blocks__block_quotes__012: spec_example_position: 217 source_specification: commonmark 05_01_00__container_blocks__block_quotes__013: spec_example_position: 218 source_specification: commonmark 05_01_00__container_blocks__block_quotes__014: spec_example_position: 219 source_specification: commonmark 05_01_00__container_blocks__block_quotes__015: spec_example_position: 220 source_specification: commonmark 05_01_00__container_blocks__block_quotes__016: spec_example_position: 221 source_specification: commonmark 05_01_00__container_blocks__block_quotes__017: spec_example_position: 222 source_specification: commonmark 05_01_00__container_blocks__block_quotes__018: spec_example_position: 223 source_specification: commonmark 05_01_00__container_blocks__block_quotes__019: spec_example_position: 224 source_specification: commonmark 05_01_00__container_blocks__block_quotes__020: spec_example_position: 225 source_specification: commonmark 05_01_00__container_blocks__block_quotes__021: spec_example_position: 226 source_specification: commonmark 05_01_00__container_blocks__block_quotes__022: spec_example_position: 227 source_specification: commonmark 05_01_00__container_blocks__block_quotes__023: spec_example_position: 228 source_specification: commonmark 05_01_00__container_blocks__block_quotes__024: spec_example_position: 229 source_specification: commonmark 05_01_00__container_blocks__block_quotes__025: spec_example_position: 230 source_specification: commonmark 05_02_00__container_blocks__list_items__001: spec_example_position: 231 source_specification: commonmark 05_02_00__container_blocks__list_items__002: spec_example_position: 232 source_specification: commonmark 05_02_00__container_blocks__list_items__003: spec_example_position: 233 source_specification: commonmark 05_02_00__container_blocks__list_items__004: spec_example_position: 234 source_specification: commonmark 05_02_00__container_blocks__list_items__005: spec_example_position: 235 source_specification: commonmark 05_02_00__container_blocks__list_items__006: spec_example_position: 236 source_specification: commonmark 05_02_00__container_blocks__list_items__007: spec_example_position: 237 source_specification: commonmark 05_02_00__container_blocks__list_items__008: spec_example_position: 238 source_specification: commonmark 05_02_00__container_blocks__list_items__009: spec_example_position: 239 source_specification: commonmark 05_02_00__container_blocks__list_items__010: spec_example_position: 240 source_specification: commonmark 05_02_00__container_blocks__list_items__011: spec_example_position: 241 source_specification: commonmark 05_02_00__container_blocks__list_items__012: spec_example_position: 242 source_specification: commonmark 05_02_00__container_blocks__list_items__013: spec_example_position: 243 source_specification: commonmark 05_02_00__container_blocks__list_items__014: spec_example_position: 244 source_specification: commonmark 05_02_00__container_blocks__list_items__015: spec_example_position: 245 source_specification: commonmark 05_02_00__container_blocks__list_items__016: spec_example_position: 246 source_specification: commonmark 05_02_00__container_blocks__list_items__017: spec_example_position: 247 source_specification: commonmark 05_02_00__container_blocks__list_items__018: spec_example_position: 248 source_specification: commonmark 05_02_00__container_blocks__list_items__019: spec_example_position: 249 source_specification: commonmark 05_02_00__container_blocks__list_items__020: spec_example_position: 250 source_specification: commonmark 05_02_00__container_blocks__list_items__021: spec_example_position: 251 source_specification: commonmark 05_02_00__container_blocks__list_items__022: spec_example_position: 252 source_specification: commonmark 05_02_00__container_blocks__list_items__023: spec_example_position: 253 source_specification: commonmark 05_02_00__container_blocks__list_items__024: spec_example_position: 254 source_specification: commonmark 05_02_00__container_blocks__list_items__025: spec_example_position: 255 source_specification: commonmark 05_02_00__container_blocks__list_items__026: spec_example_position: 256 source_specification: commonmark 05_02_00__container_blocks__list_items__027: spec_example_position: 257 source_specification: commonmark 05_02_00__container_blocks__list_items__028: spec_example_position: 258 source_specification: commonmark 05_02_00__container_blocks__list_items__029: spec_example_position: 259 source_specification: commonmark 05_02_00__container_blocks__list_items__030: spec_example_position: 260 source_specification: commonmark 05_02_00__container_blocks__list_items__031: spec_example_position: 261 source_specification: commonmark 05_02_00__container_blocks__list_items__032: spec_example_position: 262 source_specification: commonmark 05_02_00__container_blocks__list_items__033: spec_example_position: 263 source_specification: commonmark 05_02_00__container_blocks__list_items__034: spec_example_position: 264 source_specification: commonmark 05_02_00__container_blocks__list_items__035: spec_example_position: 265 source_specification: commonmark 05_02_00__container_blocks__list_items__036: spec_example_position: 266 source_specification: commonmark 05_02_00__container_blocks__list_items__037: spec_example_position: 267 source_specification: commonmark 05_02_00__container_blocks__list_items__038: spec_example_position: 268 source_specification: commonmark 05_02_00__container_blocks__list_items__039: spec_example_position: 269 source_specification: commonmark 05_02_00__container_blocks__list_items__040: spec_example_position: 270 source_specification: commonmark 05_02_00__container_blocks__list_items__041: spec_example_position: 271 source_specification: commonmark 05_02_00__container_blocks__list_items__042: spec_example_position: 272 source_specification: commonmark 05_02_00__container_blocks__list_items__043: spec_example_position: 273 source_specification: commonmark 05_02_00__container_blocks__list_items__044: spec_example_position: 274 source_specification: commonmark 05_02_00__container_blocks__list_items__045: spec_example_position: 275 source_specification: commonmark 05_02_00__container_blocks__list_items__046: spec_example_position: 276 source_specification: commonmark 05_02_00__container_blocks__list_items__047: spec_example_position: 277 source_specification: commonmark 05_02_00__container_blocks__list_items__048: spec_example_position: 278 source_specification: commonmark 05_04_00__container_blocks__lists__001: spec_example_position: 281 source_specification: commonmark 05_04_00__container_blocks__lists__002: spec_example_position: 282 source_specification: commonmark 05_04_00__container_blocks__lists__003: spec_example_position: 283 source_specification: commonmark 05_04_00__container_blocks__lists__004: spec_example_position: 284 source_specification: commonmark 05_04_00__container_blocks__lists__005: spec_example_position: 285 source_specification: commonmark 05_04_00__container_blocks__lists__006: spec_example_position: 286 source_specification: commonmark 05_04_00__container_blocks__lists__007: spec_example_position: 287 source_specification: commonmark 05_04_00__container_blocks__lists__008: spec_example_position: 288 source_specification: commonmark 05_04_00__container_blocks__lists__009: spec_example_position: 289 source_specification: commonmark 05_04_00__container_blocks__lists__010: spec_example_position: 290 source_specification: commonmark 05_04_00__container_blocks__lists__011: spec_example_position: 291 source_specification: commonmark 05_04_00__container_blocks__lists__012: spec_example_position: 292 source_specification: commonmark 05_04_00__container_blocks__lists__013: spec_example_position: 293 source_specification: commonmark 05_04_00__container_blocks__lists__014: spec_example_position: 294 source_specification: commonmark 05_04_00__container_blocks__lists__015: spec_example_position: 295 source_specification: commonmark 05_04_00__container_blocks__lists__016: spec_example_position: 296 source_specification: commonmark 05_04_00__container_blocks__lists__017: spec_example_position: 297 source_specification: commonmark 05_04_00__container_blocks__lists__018: spec_example_position: 298 source_specification: commonmark 05_04_00__container_blocks__lists__019: spec_example_position: 299 source_specification: commonmark 05_04_00__container_blocks__lists__020: spec_example_position: 300 source_specification: commonmark 05_04_00__container_blocks__lists__021: spec_example_position: 301 source_specification: commonmark 05_04_00__container_blocks__lists__022: spec_example_position: 302 source_specification: commonmark 05_04_00__container_blocks__lists__023: spec_example_position: 303 source_specification: commonmark 05_04_00__container_blocks__lists__024: spec_example_position: 304 source_specification: commonmark 05_04_00__container_blocks__lists__025: spec_example_position: 305 source_specification: commonmark 05_04_00__container_blocks__lists__026: spec_example_position: 306 source_specification: commonmark 06_01_00__inlines__001: spec_example_position: 307 source_specification: commonmark 06_02_00__inlines__backslash_escapes__001: spec_example_position: 308 source_specification: commonmark 06_02_00__inlines__backslash_escapes__002: spec_example_position: 309 source_specification: commonmark 06_02_00__inlines__backslash_escapes__003: spec_example_position: 310 source_specification: commonmark 06_02_00__inlines__backslash_escapes__004: spec_example_position: 311 source_specification: commonmark 06_02_00__inlines__backslash_escapes__005: spec_example_position: 312 source_specification: commonmark 06_02_00__inlines__backslash_escapes__006: spec_example_position: 313 source_specification: commonmark 06_02_00__inlines__backslash_escapes__007: spec_example_position: 314 source_specification: commonmark 06_02_00__inlines__backslash_escapes__008: spec_example_position: 315 source_specification: commonmark 06_02_00__inlines__backslash_escapes__009: spec_example_position: 316 source_specification: commonmark 06_02_00__inlines__backslash_escapes__010: spec_example_position: 317 source_specification: commonmark 06_02_00__inlines__backslash_escapes__011: spec_example_position: 318 source_specification: commonmark 06_02_00__inlines__backslash_escapes__012: spec_example_position: 319 source_specification: commonmark 06_02_00__inlines__backslash_escapes__013: spec_example_position: 320 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__001: spec_example_position: 321 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__002: spec_example_position: 322 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__003: spec_example_position: 323 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__004: spec_example_position: 324 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__005: spec_example_position: 325 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__006: spec_example_position: 326 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__007: spec_example_position: 327 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__008: spec_example_position: 328 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__009: spec_example_position: 329 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__010: spec_example_position: 330 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__011: spec_example_position: 331 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__012: spec_example_position: 332 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__013: spec_example_position: 333 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__014: spec_example_position: 334 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__015: spec_example_position: 335 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__016: spec_example_position: 336 source_specification: commonmark 06_03_00__inlines__entity_and_numeric_character_references__017: spec_example_position: 337 source_specification: commonmark 06_04_00__inlines__code_spans__001: spec_example_position: 338 source_specification: commonmark 06_04_00__inlines__code_spans__002: spec_example_position: 339 source_specification: commonmark 06_04_00__inlines__code_spans__003: spec_example_position: 340 source_specification: commonmark 06_04_00__inlines__code_spans__004: spec_example_position: 341 source_specification: commonmark 06_04_00__inlines__code_spans__005: spec_example_position: 342 source_specification: commonmark 06_04_00__inlines__code_spans__006: spec_example_position: 343 source_specification: commonmark 06_04_00__inlines__code_spans__007: spec_example_position: 344 source_specification: commonmark 06_04_00__inlines__code_spans__008: spec_example_position: 345 source_specification: commonmark 06_04_00__inlines__code_spans__009: spec_example_position: 346 source_specification: commonmark 06_04_00__inlines__code_spans__010: spec_example_position: 347 source_specification: commonmark 06_04_00__inlines__code_spans__011: spec_example_position: 348 source_specification: commonmark 06_04_00__inlines__code_spans__012: spec_example_position: 349 source_specification: commonmark 06_04_00__inlines__code_spans__013: spec_example_position: 350 source_specification: commonmark 06_04_00__inlines__code_spans__014: spec_example_position: 351 source_specification: commonmark 06_04_00__inlines__code_spans__015: spec_example_position: 352 source_specification: commonmark 06_04_00__inlines__code_spans__016: spec_example_position: 353 source_specification: commonmark 06_04_00__inlines__code_spans__017: spec_example_position: 354 source_specification: commonmark 06_04_00__inlines__code_spans__018: spec_example_position: 355 source_specification: commonmark 06_04_00__inlines__code_spans__019: spec_example_position: 356 source_specification: commonmark 06_04_00__inlines__code_spans__020: spec_example_position: 357 source_specification: commonmark 06_04_00__inlines__code_spans__021: spec_example_position: 358 source_specification: commonmark 06_04_00__inlines__code_spans__022: spec_example_position: 359 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__001: spec_example_position: 360 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__002: spec_example_position: 361 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__003: spec_example_position: 362 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__004: spec_example_position: 363 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__005: spec_example_position: 364 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__006: spec_example_position: 365 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__007: spec_example_position: 366 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__008: spec_example_position: 367 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__009: spec_example_position: 368 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__010: spec_example_position: 369 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__011: spec_example_position: 370 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__012: spec_example_position: 371 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__013: spec_example_position: 372 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__014: spec_example_position: 373 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__015: spec_example_position: 374 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__016: spec_example_position: 375 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__017: spec_example_position: 376 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__018: spec_example_position: 377 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__019: spec_example_position: 378 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__020: spec_example_position: 379 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__021: spec_example_position: 380 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__022: spec_example_position: 381 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__023: spec_example_position: 382 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__024: spec_example_position: 383 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__025: spec_example_position: 384 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__026: spec_example_position: 385 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__027: spec_example_position: 386 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__028: spec_example_position: 387 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__029: spec_example_position: 388 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__030: spec_example_position: 389 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__031: spec_example_position: 390 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__032: spec_example_position: 391 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__033: spec_example_position: 392 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__034: spec_example_position: 393 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__035: spec_example_position: 394 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__036: spec_example_position: 395 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__037: spec_example_position: 396 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__038: spec_example_position: 397 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__039: spec_example_position: 398 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__040: spec_example_position: 399 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__041: spec_example_position: 400 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__042: spec_example_position: 401 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__043: spec_example_position: 402 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__044: spec_example_position: 403 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__045: spec_example_position: 404 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__046: spec_example_position: 405 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__047: spec_example_position: 406 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__048: spec_example_position: 407 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__049: spec_example_position: 408 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__050: spec_example_position: 409 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__051: spec_example_position: 410 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__052: spec_example_position: 411 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__053: spec_example_position: 412 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__054: spec_example_position: 413 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__055: spec_example_position: 414 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__056: spec_example_position: 415 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__057: spec_example_position: 416 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__058: spec_example_position: 417 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__059: spec_example_position: 418 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__060: spec_example_position: 419 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__061: spec_example_position: 420 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__062: spec_example_position: 421 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__063: spec_example_position: 422 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__064: spec_example_position: 423 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__065: spec_example_position: 424 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__066: spec_example_position: 425 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__067: spec_example_position: 426 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__068: spec_example_position: 427 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__069: spec_example_position: 428 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__070: spec_example_position: 429 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__071: spec_example_position: 430 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__072: spec_example_position: 431 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__073: spec_example_position: 432 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__074: spec_example_position: 433 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__075: spec_example_position: 434 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__076: spec_example_position: 435 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__077: spec_example_position: 436 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__078: spec_example_position: 437 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__079: spec_example_position: 438 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__080: spec_example_position: 439 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__081: spec_example_position: 440 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__082: spec_example_position: 441 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__083: spec_example_position: 442 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__084: spec_example_position: 443 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__085: spec_example_position: 444 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__086: spec_example_position: 445 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__087: spec_example_position: 446 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__088: spec_example_position: 447 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__089: spec_example_position: 448 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__090: spec_example_position: 449 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__091: spec_example_position: 450 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__092: spec_example_position: 451 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__093: spec_example_position: 452 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__094: spec_example_position: 453 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__095: spec_example_position: 454 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__096: spec_example_position: 455 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__097: spec_example_position: 456 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__098: spec_example_position: 457 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__099: spec_example_position: 458 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__100: spec_example_position: 459 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__101: spec_example_position: 460 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__102: spec_example_position: 461 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__103: spec_example_position: 462 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__104: spec_example_position: 463 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__105: spec_example_position: 464 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__106: spec_example_position: 465 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__107: spec_example_position: 466 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__108: spec_example_position: 467 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__109: spec_example_position: 468 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__110: spec_example_position: 469 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__111: spec_example_position: 470 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__112: spec_example_position: 471 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__113: spec_example_position: 472 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__114: spec_example_position: 473 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__115: spec_example_position: 474 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__116: spec_example_position: 475 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__117: spec_example_position: 476 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__118: spec_example_position: 477 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__119: spec_example_position: 478 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__120: spec_example_position: 479 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__121: spec_example_position: 480 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__122: spec_example_position: 481 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__123: spec_example_position: 482 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__124: spec_example_position: 483 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__125: spec_example_position: 484 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__126: spec_example_position: 485 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__127: spec_example_position: 486 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__128: spec_example_position: 487 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__129: spec_example_position: 488 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__130: spec_example_position: 489 source_specification: commonmark 06_05_00__inlines__emphasis_and_strong_emphasis__131: spec_example_position: 490 source_specification: commonmark 06_06_00__inlines__strikethrough_extension__001: spec_example_position: 491 source_specification: github 06_06_00__inlines__strikethrough_extension__002: spec_example_position: 492 source_specification: github 06_07_00__inlines__links__001: spec_example_position: 493 source_specification: commonmark 06_07_00__inlines__links__002: spec_example_position: 494 source_specification: commonmark 06_07_00__inlines__links__003: spec_example_position: 495 source_specification: commonmark 06_07_00__inlines__links__004: spec_example_position: 496 source_specification: commonmark 06_07_00__inlines__links__005: spec_example_position: 497 source_specification: commonmark 06_07_00__inlines__links__006: spec_example_position: 498 source_specification: commonmark 06_07_00__inlines__links__007: spec_example_position: 499 source_specification: commonmark 06_07_00__inlines__links__008: spec_example_position: 500 source_specification: commonmark 06_07_00__inlines__links__009: spec_example_position: 501 source_specification: commonmark 06_07_00__inlines__links__010: spec_example_position: 502 source_specification: commonmark 06_07_00__inlines__links__011: spec_example_position: 503 source_specification: commonmark 06_07_00__inlines__links__012: spec_example_position: 504 source_specification: commonmark 06_07_00__inlines__links__013: spec_example_position: 505 source_specification: commonmark 06_07_00__inlines__links__014: spec_example_position: 506 source_specification: commonmark 06_07_00__inlines__links__015: spec_example_position: 507 source_specification: commonmark 06_07_00__inlines__links__016: spec_example_position: 508 source_specification: commonmark 06_07_00__inlines__links__017: spec_example_position: 509 source_specification: commonmark 06_07_00__inlines__links__018: spec_example_position: 510 source_specification: commonmark 06_07_00__inlines__links__019: spec_example_position: 511 source_specification: commonmark 06_07_00__inlines__links__020: spec_example_position: 512 source_specification: commonmark 06_07_00__inlines__links__021: spec_example_position: 513 source_specification: commonmark 06_07_00__inlines__links__022: spec_example_position: 514 source_specification: commonmark 06_07_00__inlines__links__023: spec_example_position: 515 source_specification: commonmark 06_07_00__inlines__links__024: spec_example_position: 516 source_specification: commonmark 06_07_00__inlines__links__025: spec_example_position: 517 source_specification: commonmark 06_07_00__inlines__links__026: spec_example_position: 518 source_specification: commonmark 06_07_00__inlines__links__027: spec_example_position: 519 source_specification: commonmark 06_07_00__inlines__links__028: spec_example_position: 520 source_specification: commonmark 06_07_00__inlines__links__029: spec_example_position: 521 source_specification: commonmark 06_07_00__inlines__links__030: spec_example_position: 522 source_specification: commonmark 06_07_00__inlines__links__031: spec_example_position: 523 source_specification: commonmark 06_07_00__inlines__links__032: spec_example_position: 524 source_specification: commonmark 06_07_00__inlines__links__033: spec_example_position: 525 source_specification: commonmark 06_07_00__inlines__links__034: spec_example_position: 526 source_specification: commonmark 06_07_00__inlines__links__035: spec_example_position: 527 source_specification: commonmark 06_07_00__inlines__links__036: spec_example_position: 528 source_specification: commonmark 06_07_00__inlines__links__037: spec_example_position: 529 source_specification: commonmark 06_07_00__inlines__links__038: spec_example_position: 530 source_specification: commonmark 06_07_00__inlines__links__039: spec_example_position: 531 source_specification: commonmark 06_07_00__inlines__links__040: spec_example_position: 532 source_specification: commonmark 06_07_00__inlines__links__041: spec_example_position: 533 source_specification: commonmark 06_07_00__inlines__links__042: spec_example_position: 534 source_specification: commonmark 06_07_00__inlines__links__043: spec_example_position: 535 source_specification: commonmark 06_07_00__inlines__links__044: spec_example_position: 536 source_specification: commonmark 06_07_00__inlines__links__045: spec_example_position: 537 source_specification: commonmark 06_07_00__inlines__links__046: spec_example_position: 538 source_specification: commonmark 06_07_00__inlines__links__047: spec_example_position: 539 source_specification: commonmark 06_07_00__inlines__links__048: spec_example_position: 540 source_specification: commonmark 06_07_00__inlines__links__049: spec_example_position: 541 source_specification: commonmark 06_07_00__inlines__links__050: spec_example_position: 542 source_specification: commonmark 06_07_00__inlines__links__051: spec_example_position: 543 source_specification: commonmark 06_07_00__inlines__links__052: spec_example_position: 544 source_specification: commonmark 06_07_00__inlines__links__053: spec_example_position: 545 source_specification: commonmark 06_07_00__inlines__links__054: spec_example_position: 546 source_specification: commonmark 06_07_00__inlines__links__055: spec_example_position: 547 source_specification: commonmark 06_07_00__inlines__links__056: spec_example_position: 548 source_specification: commonmark 06_07_00__inlines__links__057: spec_example_position: 549 source_specification: commonmark 06_07_00__inlines__links__058: spec_example_position: 550 source_specification: commonmark 06_07_00__inlines__links__059: spec_example_position: 551 source_specification: commonmark 06_07_00__inlines__links__060: spec_example_position: 552 source_specification: commonmark 06_07_00__inlines__links__061: spec_example_position: 553 source_specification: commonmark 06_07_00__inlines__links__062: spec_example_position: 554 source_specification: commonmark 06_07_00__inlines__links__063: spec_example_position: 555 source_specification: commonmark 06_07_00__inlines__links__064: spec_example_position: 556 source_specification: commonmark 06_07_00__inlines__links__065: spec_example_position: 557 source_specification: commonmark 06_07_00__inlines__links__066: spec_example_position: 558 source_specification: commonmark 06_07_00__inlines__links__067: spec_example_position: 559 source_specification: commonmark 06_07_00__inlines__links__068: spec_example_position: 560 source_specification: commonmark 06_07_00__inlines__links__069: spec_example_position: 561 source_specification: commonmark 06_07_00__inlines__links__070: spec_example_position: 562 source_specification: commonmark 06_07_00__inlines__links__071: spec_example_position: 563 source_specification: commonmark 06_07_00__inlines__links__072: spec_example_position: 564 source_specification: commonmark 06_07_00__inlines__links__073: spec_example_position: 565 source_specification: commonmark 06_07_00__inlines__links__074: spec_example_position: 566 source_specification: commonmark 06_07_00__inlines__links__075: spec_example_position: 567 source_specification: commonmark 06_07_00__inlines__links__076: spec_example_position: 568 source_specification: commonmark 06_07_00__inlines__links__077: spec_example_position: 569 source_specification: commonmark 06_07_00__inlines__links__078: spec_example_position: 570 source_specification: commonmark 06_07_00__inlines__links__079: spec_example_position: 571 source_specification: commonmark 06_07_00__inlines__links__080: spec_example_position: 572 source_specification: commonmark 06_07_00__inlines__links__081: spec_example_position: 573 source_specification: commonmark 06_07_00__inlines__links__082: spec_example_position: 574 source_specification: commonmark 06_07_00__inlines__links__083: spec_example_position: 575 source_specification: commonmark 06_07_00__inlines__links__084: spec_example_position: 576 source_specification: commonmark 06_07_00__inlines__links__085: spec_example_position: 577 source_specification: commonmark 06_07_00__inlines__links__086: spec_example_position: 578 source_specification: commonmark 06_07_00__inlines__links__087: spec_example_position: 579 source_specification: commonmark 06_08_00__inlines__images__001: spec_example_position: 580 source_specification: commonmark 06_08_00__inlines__images__002: spec_example_position: 581 source_specification: commonmark 06_08_00__inlines__images__003: spec_example_position: 582 source_specification: commonmark 06_08_00__inlines__images__004: spec_example_position: 583 source_specification: commonmark 06_08_00__inlines__images__005: spec_example_position: 584 source_specification: commonmark 06_08_00__inlines__images__006: spec_example_position: 585 source_specification: commonmark 06_08_00__inlines__images__007: spec_example_position: 586 source_specification: commonmark 06_08_00__inlines__images__008: spec_example_position: 587 source_specification: commonmark 06_08_00__inlines__images__009: spec_example_position: 588 source_specification: commonmark 06_08_00__inlines__images__010: spec_example_position: 589 source_specification: commonmark 06_08_00__inlines__images__011: spec_example_position: 590 source_specification: commonmark 06_08_00__inlines__images__012: spec_example_position: 591 source_specification: commonmark 06_08_00__inlines__images__013: spec_example_position: 592 source_specification: commonmark 06_08_00__inlines__images__014: spec_example_position: 593 source_specification: commonmark 06_08_00__inlines__images__015: spec_example_position: 594 source_specification: commonmark 06_08_00__inlines__images__016: spec_example_position: 595 source_specification: commonmark 06_08_00__inlines__images__017: spec_example_position: 596 source_specification: commonmark 06_08_00__inlines__images__018: spec_example_position: 597 source_specification: commonmark 06_08_00__inlines__images__019: spec_example_position: 598 source_specification: commonmark 06_08_00__inlines__images__020: spec_example_position: 599 source_specification: commonmark 06_08_00__inlines__images__021: spec_example_position: 600 source_specification: commonmark 06_08_00__inlines__images__022: spec_example_position: 601 source_specification: commonmark 06_09_00__inlines__autolinks__001: spec_example_position: 602 source_specification: commonmark 06_09_00__inlines__autolinks__002: spec_example_position: 603 source_specification: commonmark 06_09_00__inlines__autolinks__003: spec_example_position: 604 source_specification: commonmark 06_09_00__inlines__autolinks__004: spec_example_position: 605 source_specification: commonmark 06_09_00__inlines__autolinks__005: spec_example_position: 606 source_specification: commonmark 06_09_00__inlines__autolinks__006: spec_example_position: 607 source_specification: commonmark 06_09_00__inlines__autolinks__007: spec_example_position: 608 source_specification: commonmark 06_09_00__inlines__autolinks__008: spec_example_position: 609 source_specification: commonmark 06_09_00__inlines__autolinks__009: spec_example_position: 610 source_specification: commonmark 06_09_00__inlines__autolinks__010: spec_example_position: 611 source_specification: commonmark 06_09_00__inlines__autolinks__011: spec_example_position: 612 source_specification: commonmark 06_09_00__inlines__autolinks__012: spec_example_position: 613 source_specification: commonmark 06_09_00__inlines__autolinks__013: spec_example_position: 614 source_specification: commonmark 06_09_00__inlines__autolinks__014: spec_example_position: 615 source_specification: commonmark 06_09_00__inlines__autolinks__015: spec_example_position: 616 source_specification: commonmark 06_09_00__inlines__autolinks__016: spec_example_position: 617 source_specification: commonmark 06_09_00__inlines__autolinks__017: spec_example_position: 618 source_specification: commonmark 06_09_00__inlines__autolinks__018: spec_example_position: 619 source_specification: commonmark 06_09_00__inlines__autolinks__019: spec_example_position: 620 source_specification: commonmark 06_10_00__inlines__autolinks_extension__001: spec_example_position: 621 source_specification: github 06_10_00__inlines__autolinks_extension__002: spec_example_position: 622 source_specification: github 06_10_00__inlines__autolinks_extension__003: spec_example_position: 623 source_specification: github 06_10_00__inlines__autolinks_extension__004: spec_example_position: 624 source_specification: github 06_10_00__inlines__autolinks_extension__005: spec_example_position: 625 source_specification: github 06_10_00__inlines__autolinks_extension__006: spec_example_position: 626 source_specification: github 06_10_00__inlines__autolinks_extension__007: spec_example_position: 627 source_specification: github 06_10_00__inlines__autolinks_extension__008: spec_example_position: 628 source_specification: github 06_10_00__inlines__autolinks_extension__009: spec_example_position: 629 source_specification: github 06_10_00__inlines__autolinks_extension__010: spec_example_position: 630 source_specification: github 06_10_00__inlines__autolinks_extension__011: spec_example_position: 631 source_specification: github 06_11_00__inlines__raw_html__001: spec_example_position: 632 source_specification: commonmark 06_11_00__inlines__raw_html__002: spec_example_position: 633 source_specification: commonmark 06_11_00__inlines__raw_html__003: spec_example_position: 634 source_specification: commonmark 06_11_00__inlines__raw_html__004: spec_example_position: 635 source_specification: commonmark 06_11_00__inlines__raw_html__005: spec_example_position: 636 source_specification: commonmark 06_11_00__inlines__raw_html__006: spec_example_position: 637 source_specification: commonmark 06_11_00__inlines__raw_html__007: spec_example_position: 638 source_specification: commonmark 06_11_00__inlines__raw_html__008: spec_example_position: 639 source_specification: commonmark 06_11_00__inlines__raw_html__009: spec_example_position: 640 source_specification: commonmark 06_11_00__inlines__raw_html__010: spec_example_position: 641 source_specification: commonmark 06_11_00__inlines__raw_html__011: spec_example_position: 642 source_specification: commonmark 06_11_00__inlines__raw_html__012: spec_example_position: 643 source_specification: commonmark 06_11_00__inlines__raw_html__013: spec_example_position: 644 source_specification: commonmark 06_11_00__inlines__raw_html__014: spec_example_position: 645 source_specification: commonmark 06_11_00__inlines__raw_html__015: spec_example_position: 646 source_specification: commonmark 06_11_00__inlines__raw_html__016: spec_example_position: 647 source_specification: commonmark 06_11_00__inlines__raw_html__017: spec_example_position: 648 source_specification: commonmark 06_11_00__inlines__raw_html__018: spec_example_position: 649 source_specification: commonmark 06_11_00__inlines__raw_html__019: spec_example_position: 650 source_specification: commonmark 06_11_00__inlines__raw_html__020: spec_example_position: 651 source_specification: commonmark 06_11_00__inlines__raw_html__021: spec_example_position: 652 source_specification: commonmark 06_12_00__inlines__disallowed_raw_html_extension__001: spec_example_position: 653 source_specification: github 06_13_00__inlines__hard_line_breaks__001: spec_example_position: 654 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__002: spec_example_position: 655 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__003: spec_example_position: 656 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__004: spec_example_position: 657 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__005: spec_example_position: 658 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__006: spec_example_position: 659 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__007: spec_example_position: 660 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__008: spec_example_position: 661 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__009: spec_example_position: 662 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__010: spec_example_position: 663 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__011: spec_example_position: 664 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__012: spec_example_position: 665 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__013: spec_example_position: 666 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__014: spec_example_position: 667 source_specification: commonmark 06_13_00__inlines__hard_line_breaks__015: spec_example_position: 668 source_specification: commonmark 06_14_00__inlines__soft_line_breaks__001: spec_example_position: 669 source_specification: commonmark 06_14_00__inlines__soft_line_breaks__002: spec_example_position: 670 source_specification: commonmark 06_15_00__inlines__textual_content__001: spec_example_position: 671 source_specification: commonmark 06_15_00__inlines__textual_content__002: spec_example_position: 672 source_specification: commonmark 06_15_00__inlines__textual_content__003: spec_example_position: 673 source_specification: commonmark 07_01_00__gitlab_official_specification_markdown__task_list_items__001: spec_example_position: 674 source_specification: gitlab 07_01_00__gitlab_official_specification_markdown__task_list_items__002: spec_example_position: 675 source_specification: gitlab 07_01_00__gitlab_official_specification_markdown__task_list_items__003: spec_example_position: 676 source_specification: gitlab 07_01_00__gitlab_official_specification_markdown__task_list_items__004: spec_example_position: 677 source_specification: gitlab 07_02_00__gitlab_official_specification_markdown__front_matter__001: spec_example_position: 678 source_specification: gitlab 07_02_00__gitlab_official_specification_markdown__front_matter__002: spec_example_position: 679 source_specification: gitlab 07_02_00__gitlab_official_specification_markdown__front_matter__003: spec_example_position: 680 source_specification: gitlab 07_02_00__gitlab_official_specification_markdown__front_matter__004: spec_example_position: 681 source_specification: gitlab 07_02_00__gitlab_official_specification_markdown__front_matter__005: spec_example_position: 682 source_specification: gitlab 07_03_00__gitlab_official_specification_markdown__table_of_contents__001: spec_example_position: 683 source_specification: gitlab 07_03_00__gitlab_official_specification_markdown__table_of_contents__002: spec_example_position: 684 source_specification: gitlab 07_03_00__gitlab_official_specification_markdown__table_of_contents__003: spec_example_position: 685 source_specification: gitlab 07_03_00__gitlab_official_specification_markdown__table_of_contents__004: spec_example_position: 686 source_specification: gitlab 08_01_00__gitlab_internal_extension_markdown__audio__001: spec_example_position: 687 source_specification: gitlab 08_01_00__gitlab_internal_extension_markdown__audio__002: spec_example_position: 688 source_specification: gitlab 08_02_00__gitlab_internal_extension_markdown__video__001: spec_example_position: 689 source_specification: gitlab 08_02_00__gitlab_internal_extension_markdown__video__002: spec_example_position: 690 source_specification: gitlab 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__001: spec_example_position: 691 source_specification: gitlab 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__002: spec_example_position: 692 source_specification: gitlab 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__003: spec_example_position: 693 source_specification: gitlab 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__004: spec_example_position: 694 source_specification: gitlab 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__005: spec_example_position: 695 source_specification: gitlab 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__006: spec_example_position: 696 source_specification: gitlab 08_04_01__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_group__001: spec_example_position: 697 source_specification: gitlab 08_04_02__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_project__001: spec_example_position: 698 source_specification: gitlab 08_04_03__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_project_wiki__001: spec_example_position: 699 source_specification: gitlab 08_04_04__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_group__001: spec_example_position: 700 source_specification: gitlab 08_04_05__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_project__001: spec_example_position: 701 source_specification: gitlab 08_04_06__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_project_wiki__001: spec_example_position: 702 source_specification: gitlab 08_04_07__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_group_wiki__001: spec_example_position: 703 source_specification: gitlab 08_04_08__gitlab_internal_extension_markdown__migrated_golden_master_examples__audio__001: spec_example_position: 704 source_specification: gitlab 08_04_09__gitlab_internal_extension_markdown__migrated_golden_master_examples__audio_and_video_in_lists__001: spec_example_position: 705 source_specification: gitlab 08_04_10__gitlab_internal_extension_markdown__migrated_golden_master_examples__blockquote__001: spec_example_position: 706 source_specification: gitlab 08_04_11__gitlab_internal_extension_markdown__migrated_golden_master_examples__bold__001: spec_example_position: 707 source_specification: gitlab 08_04_12__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_1__001: spec_example_position: 708 source_specification: gitlab 08_04_13__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_2__001: spec_example_position: 709 source_specification: gitlab 08_04_14__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_3__001: spec_example_position: 710 source_specification: gitlab 08_04_15__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_javascript__001: spec_example_position: 711 source_specification: gitlab 08_04_16__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_plaintext__001: spec_example_position: 712 source_specification: gitlab 08_04_17__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_unknown__001: spec_example_position: 713 source_specification: gitlab 08_04_18__gitlab_internal_extension_markdown__migrated_golden_master_examples__color_chips__001: spec_example_position: 714 source_specification: gitlab 08_04_19__gitlab_internal_extension_markdown__migrated_golden_master_examples__description_list__001: spec_example_position: 715 source_specification: gitlab 08_04_20__gitlab_internal_extension_markdown__migrated_golden_master_examples__details__001: spec_example_position: 716 source_specification: gitlab 08_04_21__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_kroki_nomnoml__001: spec_example_position: 717 source_specification: gitlab 08_04_22__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_plantuml__001: spec_example_position: 718 source_specification: gitlab 08_04_23__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_plantuml_unicode__001: spec_example_position: 719 source_specification: gitlab 08_04_24__gitlab_internal_extension_markdown__migrated_golden_master_examples__div__001: spec_example_position: 720 source_specification: gitlab 08_04_25__gitlab_internal_extension_markdown__migrated_golden_master_examples__emoji__001: spec_example_position: 721 source_specification: gitlab 08_04_26__gitlab_internal_extension_markdown__migrated_golden_master_examples__emphasis__001: spec_example_position: 722 source_specification: gitlab 08_04_27__gitlab_internal_extension_markdown__migrated_golden_master_examples__figure__001: spec_example_position: 723 source_specification: gitlab 08_04_28__gitlab_internal_extension_markdown__migrated_golden_master_examples__footnotes__001: spec_example_position: 724 source_specification: gitlab 08_04_29__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_json__001: spec_example_position: 725 source_specification: gitlab 08_04_30__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_toml__001: spec_example_position: 726 source_specification: gitlab 08_04_31__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_yaml__001: spec_example_position: 727 source_specification: gitlab 08_04_32__gitlab_internal_extension_markdown__migrated_golden_master_examples__hard_break__001: spec_example_position: 728 source_specification: gitlab 08_04_33__gitlab_internal_extension_markdown__migrated_golden_master_examples__headings__001: spec_example_position: 729 source_specification: gitlab 08_04_34__gitlab_internal_extension_markdown__migrated_golden_master_examples__horizontal_rule__001: spec_example_position: 730 source_specification: gitlab 08_04_35__gitlab_internal_extension_markdown__migrated_golden_master_examples__html_marks__001: spec_example_position: 731 source_specification: gitlab 08_04_36__gitlab_internal_extension_markdown__migrated_golden_master_examples__image__001: spec_example_position: 732 source_specification: gitlab 08_04_37__gitlab_internal_extension_markdown__migrated_golden_master_examples__inline_code__001: spec_example_position: 733 source_specification: gitlab 08_04_38__gitlab_internal_extension_markdown__migrated_golden_master_examples__inline_diff__001: spec_example_position: 734 source_specification: gitlab 08_04_39__gitlab_internal_extension_markdown__migrated_golden_master_examples__label__001: spec_example_position: 735 source_specification: gitlab 08_04_40__gitlab_internal_extension_markdown__migrated_golden_master_examples__link__001: spec_example_position: 736 source_specification: gitlab 08_04_41__gitlab_internal_extension_markdown__migrated_golden_master_examples__math__001: spec_example_position: 737 source_specification: gitlab 08_04_42__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_list__001: spec_example_position: 738 source_specification: gitlab 08_04_43__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_list_with_start_order__001: spec_example_position: 739 source_specification: gitlab 08_04_44__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_task_list__001: spec_example_position: 740 source_specification: gitlab 08_04_45__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_task_list_with_order__001: spec_example_position: 741 source_specification: gitlab 08_04_46__gitlab_internal_extension_markdown__migrated_golden_master_examples__reference_for_project_wiki__001: spec_example_position: 742 source_specification: gitlab 08_04_47__gitlab_internal_extension_markdown__migrated_golden_master_examples__strike__001: spec_example_position: 743 source_specification: gitlab 08_04_48__gitlab_internal_extension_markdown__migrated_golden_master_examples__table__001: spec_example_position: 744 source_specification: gitlab 08_04_49__gitlab_internal_extension_markdown__migrated_golden_master_examples__table_of_contents__001: spec_example_position: 745 source_specification: gitlab 08_04_50__gitlab_internal_extension_markdown__migrated_golden_master_examples__task_list__001: spec_example_position: 746 source_specification: gitlab 08_04_51__gitlab_internal_extension_markdown__migrated_golden_master_examples__video__001: spec_example_position: 747 source_specification: gitlab 08_04_52__gitlab_internal_extension_markdown__migrated_golden_master_examples__word_break__001: spec_example_position: 748 source_specification: gitlab 08_05_00__gitlab_internal_extension_markdown__image_attributes__001: spec_example_position: 749 source_specification: gitlab 08_05_00__gitlab_internal_extension_markdown__image_attributes__002: spec_example_position: 750 source_specification: gitlab 08_05_00__gitlab_internal_extension_markdown__image_attributes__003: spec_example_position: 751 source_specification: gitlab 08_05_00__gitlab_internal_extension_markdown__image_attributes__004: spec_example_position: 752 source_specification: gitlab 08_05_00__gitlab_internal_extension_markdown__image_attributes__005: spec_example_position: 753 source_specification: gitlab 08_06_00__gitlab_internal_extension_markdown__footnotes__001: spec_example_position: 754 source_specification: gitlab X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'none' Content-Type: text/plain; charset=UTF-8 Content-Length: 330111 Content-Disposition: inline; filename="html.yml" Last-Modified: Tue, 02 Jul 2024 14:21:09 GMT Expires: Tue, 02 Jul 2024 14:26:09 GMT ETag: "d1c41e84a26e4113f46bd0d07913fc9ee146d143" --- 02_01_00__preliminaries__tabs__001: canonical: "
foo\tbaz\t\tbim\n
\n" static: "
\n
foo\tbaz\t\tbim
\n\n
" wysiwyg: "
foo\tbaz\t\tbim
" 02_01_00__preliminaries__tabs__002: canonical: "
foo\tbaz\t\tbim\n
\n" static: "
\n
foo\tbaz\t\tbim
\n\n
" wysiwyg: "
foo\tbaz\t\tbim
" 02_01_00__preliminaries__tabs__003: canonical: "
a\ta\nὐ\ta\n
\n" static: "
\n
a\ta\nὐ\ta
\n\n
" wysiwyg: "
a\ta\nὐ\ta
" 02_01_00__preliminaries__tabs__004: canonical: | static: |- wysiwyg: |- 02_01_00__preliminaries__tabs__005: canonical: | static: |- wysiwyg: |- 02_01_00__preliminaries__tabs__006: canonical: |
  foo
    
static: |-
  foo
wysiwyg: |-
  foo
02_01_00__preliminaries__tabs__007: canonical: | static: |- wysiwyg: |- 02_01_00__preliminaries__tabs__008: canonical: |
foo
    bar
    
static: |-
foo
    bar
wysiwyg: |-
foo
    bar
02_01_00__preliminaries__tabs__009: canonical: | static: |- wysiwyg: |- 02_01_00__preliminaries__tabs__010: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

02_01_00__preliminaries__tabs__011: canonical: |
static: |-
wysiwyg: |-
03_01_00__blocks_and_inlines__precedence__001: canonical: | static: |- wysiwyg: |- 04_01_00__leaf_blocks__thematic_breaks__001: canonical: |


static: |-


wysiwyg: |-


04_01_00__leaf_blocks__thematic_breaks__002: canonical: |

+++

static: |-

+++

wysiwyg: |-

+++

04_01_00__leaf_blocks__thematic_breaks__003: canonical: |

===

static: |-

===

wysiwyg: |-

===

04_01_00__leaf_blocks__thematic_breaks__004: canonical: |

-- ** __

static: |-

-- ** __

wysiwyg: |-

-- ** __

04_01_00__leaf_blocks__thematic_breaks__005: canonical: |


static: |-


wysiwyg: |-


04_01_00__leaf_blocks__thematic_breaks__006: canonical: |
***
    
static: |-
***
wysiwyg: |-
***
04_01_00__leaf_blocks__thematic_breaks__007: canonical: |

Foo ***

static: |-

Foo ***

wysiwyg: |-

Foo ***

04_01_00__leaf_blocks__thematic_breaks__008: canonical: |
static: |-
wysiwyg: |-
04_01_00__leaf_blocks__thematic_breaks__009: canonical: |
static: |-
wysiwyg: |-
04_01_00__leaf_blocks__thematic_breaks__010: canonical: |
static: |-
wysiwyg: |-
04_01_00__leaf_blocks__thematic_breaks__011: canonical: |
static: |-
wysiwyg: |-
04_01_00__leaf_blocks__thematic_breaks__012: canonical: |
static: |-
wysiwyg: |-
04_01_00__leaf_blocks__thematic_breaks__013: canonical: |

_ _ _ _ a

a------

---a---

static: |-

_ _ _ _ a

a------

---a---

wysiwyg: |-

_ _ _ _ a

a------

---a---

04_01_00__leaf_blocks__thematic_breaks__014: canonical: |

-

static: |-

-

wysiwyg: |-

-

04_01_00__leaf_blocks__thematic_breaks__015: canonical: |
static: |-
wysiwyg: |-
04_01_00__leaf_blocks__thematic_breaks__016: canonical: |

Foo


bar

static: |-

Foo


bar

wysiwyg: |-

Foo


bar

04_01_00__leaf_blocks__thematic_breaks__017: canonical: |

Foo

bar

static: |-

Foo

bar

wysiwyg: |-

Foo

bar

04_01_00__leaf_blocks__thematic_breaks__018: canonical: |
static: |-
wysiwyg: |-
04_01_00__leaf_blocks__thematic_breaks__019: canonical: | static: |- wysiwyg: |- 04_02_00__leaf_blocks__atx_headings__001: canonical: |

foo

foo

foo

foo

foo
foo
static: |-

foo

foo

foo

foo

foo
foo
wysiwyg: |-

foo

foo

foo

foo

foo
foo
04_02_00__leaf_blocks__atx_headings__002: canonical: |

####### foo

static: |-

####### foo

wysiwyg: |-

####### foo

04_02_00__leaf_blocks__atx_headings__003: canonical: |

#5 bolt

#hashtag

static: |-

#5 bolt

#hashtag

wysiwyg: |-

#5 bolt

#hashtag

04_02_00__leaf_blocks__atx_headings__004: canonical: |

## foo

static: |-

## foo

wysiwyg: |-

## foo

04_02_00__leaf_blocks__atx_headings__005: canonical: |

foo bar *baz*

static: |-

foo bar *baz*

wysiwyg: |-

foo bar *baz*

04_02_00__leaf_blocks__atx_headings__006: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

04_02_00__leaf_blocks__atx_headings__007: canonical: |

foo

foo

foo

static: |-

foo

foo

foo

wysiwyg: |-

foo

foo

foo

04_02_00__leaf_blocks__atx_headings__008: canonical: |
# foo
    
static: |-
# foo
wysiwyg: |-
# foo
04_02_00__leaf_blocks__atx_headings__009: canonical: |

foo # bar

static: |-

foo # bar

wysiwyg: |-

foo # bar

04_02_00__leaf_blocks__atx_headings__010: canonical: |

foo

bar

static: |-

foo

bar

wysiwyg: |-

foo

bar

04_02_00__leaf_blocks__atx_headings__011: canonical: |

foo

foo
static: |-

foo

foo
wysiwyg: |-

foo

foo
04_02_00__leaf_blocks__atx_headings__012: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

04_02_00__leaf_blocks__atx_headings__013: canonical: |

foo ### b

static: |-

foo ### b

wysiwyg: |-

foo ### b

04_02_00__leaf_blocks__atx_headings__014: canonical: |

foo#

static: |-

foo#

wysiwyg: |-

foo#

04_02_00__leaf_blocks__atx_headings__015: canonical: |

foo ###

foo ###

foo #

static: |-

foo ###

foo ###

foo #

wysiwyg: |-

foo ###

foo ###

foo #

04_02_00__leaf_blocks__atx_headings__016: canonical: |

foo


static: |-

foo


wysiwyg: |-

foo


04_02_00__leaf_blocks__atx_headings__017: canonical: |

Foo bar

baz

Bar foo

static: |-

Foo bar

baz

Bar foo

wysiwyg: |-

Foo bar

baz

Bar foo

04_02_00__leaf_blocks__atx_headings__018: canonical: |

static: |-

wysiwyg: |-

04_03_00__leaf_blocks__setext_headings__001: canonical: |

Foo bar

Foo bar

static: |-

Foo bar

Foo bar

wysiwyg: |-

Foo bar

Foo bar

04_03_00__leaf_blocks__setext_headings__002: canonical: |

Foo bar baz

static: |-

Foo bar baz

wysiwyg: |-

Foo bar baz

04_03_00__leaf_blocks__setext_headings__003: canonical: |

Foo bar baz

static: |-

Foo bar baz

wysiwyg: |-

Foo bar baz

04_03_00__leaf_blocks__setext_headings__004: canonical: |

Foo

Foo

static: |-

Foo

Foo

wysiwyg: |-

Foo

Foo

04_03_00__leaf_blocks__setext_headings__005: canonical: |

Foo

Foo

Foo

static: |-

Foo

Foo

Foo

wysiwyg: |-

Foo

Foo

Foo

04_03_00__leaf_blocks__setext_headings__006: canonical: |
Foo
    ---

    Foo
    

static: |-
Foo
    ---
    
    Foo

wysiwyg: |-
Foo
    ---

    Foo

04_03_00__leaf_blocks__setext_headings__007: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

04_03_00__leaf_blocks__setext_headings__008: canonical: |

Foo ---

static: |-

Foo ---

wysiwyg: |-

Foo ---

04_03_00__leaf_blocks__setext_headings__009: canonical: |

Foo = =

Foo


static: |-

Foo = =

Foo


wysiwyg: |-

Foo = =

Foo


04_03_00__leaf_blocks__setext_headings__010: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

04_03_00__leaf_blocks__setext_headings__011: canonical: |

Foo\

static: |-

Foo\

wysiwyg: |-

Foo\

04_03_00__leaf_blocks__setext_headings__012: canonical: |

`Foo

`

<a title="a lot

of dashes"/>

static: |-

`Foo

`

<a title="a lot

of dashes"/>

wysiwyg: |-

`Foo

`

<a title="a lot

of dashes"/>

04_03_00__leaf_blocks__setext_headings__013: canonical: |

Foo


static: |-

Foo


wysiwyg: |-

Foo


04_03_00__leaf_blocks__setext_headings__014: canonical: |

foo bar ===

static: |-

foo bar ===

wysiwyg: |-

foo bar ===

04_03_00__leaf_blocks__setext_headings__015: canonical: |
static: |-
wysiwyg: |-
04_03_00__leaf_blocks__setext_headings__016: canonical: |

Foo Bar

static: |-

Foo Bar

wysiwyg: |-

Foo Bar

04_03_00__leaf_blocks__setext_headings__017: canonical: |

Foo

Bar

Baz

static: |-
Foo

Bar

Baz

wysiwyg: |-
Foo

Bar

Baz

04_03_00__leaf_blocks__setext_headings__018: canonical: |

====

static: |-

====

wysiwyg: |-

====

04_03_00__leaf_blocks__setext_headings__019: canonical: |

static: |-
wysiwyg: |-
04_03_00__leaf_blocks__setext_headings__020: canonical: |
static: |-
wysiwyg: |-
04_03_00__leaf_blocks__setext_headings__021: canonical: |
foo
    

static: |-
foo

wysiwyg: |-
foo

04_03_00__leaf_blocks__setext_headings__022: canonical: |

foo


static: |-

foo


wysiwyg: |-

foo


04_03_00__leaf_blocks__setext_headings__023: canonical: |

> foo

static: |-

> foo

wysiwyg: |-

> foo

04_03_00__leaf_blocks__setext_headings__024: canonical: |

Foo

bar

baz

static: |-

Foo

bar

baz

wysiwyg: |-

Foo

bar

baz

04_03_00__leaf_blocks__setext_headings__025: canonical: |

Foo bar


baz

static: |-

Foo bar


baz

wysiwyg: |-

Foo bar


baz

04_03_00__leaf_blocks__setext_headings__026: canonical: |

Foo bar


baz

static: |-

Foo bar


baz

wysiwyg: |-

Foo bar


baz

04_03_00__leaf_blocks__setext_headings__027: canonical: |

Foo bar --- baz

static: |-

Foo bar --- baz

wysiwyg: |-

Foo bar --- baz

04_04_00__leaf_blocks__indented_code_blocks__001: canonical: |
a simple
      indented code block
    
static: |-
a simple
      indented code block
wysiwyg: |-
a simple
      indented code block
04_04_00__leaf_blocks__indented_code_blocks__002: canonical: | static: |- wysiwyg: |- 04_04_00__leaf_blocks__indented_code_blocks__003: canonical: |
  1. foo

static: |-
  1. foo

wysiwyg: |-
  1. foo

04_04_00__leaf_blocks__indented_code_blocks__004: canonical: |
<a/>
    *hi*

    - one
    
static: |-
<a/>
    *hi*
    
    - one
wysiwyg: |-
<a/>
    *hi*

    - one
04_04_00__leaf_blocks__indented_code_blocks__005: canonical: |
chunk1

    chunk2



    chunk3
    
static: |-
chunk1
    
    chunk2
    
    
    
    chunk3
wysiwyg: |-
chunk1

    chunk2



    chunk3
04_04_00__leaf_blocks__indented_code_blocks__006: canonical: "
chunk1\n  \n  chunk2\n
\n" static: |-
chunk1
      
      chunk2
wysiwyg: "
chunk1\n
    \ \n  chunk2
" 04_04_00__leaf_blocks__indented_code_blocks__007: canonical: |

Foo bar

static: |-

Foo bar

wysiwyg: |-

Foo bar

04_04_00__leaf_blocks__indented_code_blocks__008: canonical: |
foo
    

bar

static: |-
foo

bar

wysiwyg: |-
foo

bar

04_04_00__leaf_blocks__indented_code_blocks__009: canonical: |

Heading

foo
    

Heading

foo
    

static: |-

Heading

foo

Heading

foo

wysiwyg: |-

Heading

foo

Heading

foo

04_04_00__leaf_blocks__indented_code_blocks__010: canonical: |
    foo
    bar
    
static: |-
    foo
    bar
wysiwyg: |-
    foo
    bar
04_04_00__leaf_blocks__indented_code_blocks__011: canonical: |
foo
    
static: |-
foo
wysiwyg: |-
foo
04_04_00__leaf_blocks__indented_code_blocks__012: canonical: "
foo  \n
\n" static: |-
foo  
wysiwyg: |-
foo  
04_05_00__leaf_blocks__fenced_code_blocks__001: canonical: |
<
     >
    
static: |-
<
     >
wysiwyg: |-
<
     >
04_05_00__leaf_blocks__fenced_code_blocks__002: canonical: |
<
     >
    
static: |-
<
     >
wysiwyg: |-
<
     >
04_05_00__leaf_blocks__fenced_code_blocks__003: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

04_05_00__leaf_blocks__fenced_code_blocks__004: canonical: |
aaa
    ~~~
    
static: |-
aaa
    ~~~
wysiwyg: |-
aaa
    ~~~
04_05_00__leaf_blocks__fenced_code_blocks__005: canonical: |
aaa
    ```
    
static: |-
aaa
    ```
wysiwyg: |-
aaa
    ```
04_05_00__leaf_blocks__fenced_code_blocks__006: canonical: |
aaa
    ```
    
static: |-
aaa
    ```
wysiwyg: |-
aaa
    ```
04_05_00__leaf_blocks__fenced_code_blocks__007: canonical: |
aaa
    ~~~
    
static: |-
aaa
    ~~~
wysiwyg: |-
aaa
    ~~~
04_05_00__leaf_blocks__fenced_code_blocks__008: canonical: |
static: |-
wysiwyg: |-
04_05_00__leaf_blocks__fenced_code_blocks__009: canonical: |

    ```
    aaa
    
static: |-

    ```
    aaa
wysiwyg: |-

    ```
    aaa
04_05_00__leaf_blocks__fenced_code_blocks__010: canonical: |
aaa
    

bbb

static: |-
aaa

bbb

wysiwyg: |-
aaa

bbb

04_05_00__leaf_blocks__fenced_code_blocks__011: canonical: "
\n  \n
\n" static: |-

      
wysiwyg: |-
04_05_00__leaf_blocks__fenced_code_blocks__012: canonical: |
static: |-
wysiwyg: |-
04_05_00__leaf_blocks__fenced_code_blocks__013: canonical: |
aaa
    aaa
    
static: |-
aaa
    aaa
wysiwyg: |-
aaa
    aaa
04_05_00__leaf_blocks__fenced_code_blocks__014: canonical: |
aaa
    aaa
    aaa
    
static: |-
aaa
    aaa
    aaa
wysiwyg: |-
aaa
    aaa
    aaa
04_05_00__leaf_blocks__fenced_code_blocks__015: canonical: |
aaa
     aaa
    aaa
    
static: |-
aaa
     aaa
    aaa
wysiwyg: |-
aaa
     aaa
    aaa
04_05_00__leaf_blocks__fenced_code_blocks__016: canonical: |
```
    aaa
    ```
    
static: |-
```
    aaa
    ```
wysiwyg: |-
```
    aaa
    ```
04_05_00__leaf_blocks__fenced_code_blocks__017: canonical: |
aaa
    
static: |-
aaa
wysiwyg: |-
aaa
04_05_00__leaf_blocks__fenced_code_blocks__018: canonical: |
aaa
    
static: |-
aaa
wysiwyg: |-
aaa
04_05_00__leaf_blocks__fenced_code_blocks__019: canonical: |
aaa
        ```
    
static: |-
aaa
        ```
wysiwyg: |-
aaa
        ```
04_05_00__leaf_blocks__fenced_code_blocks__020: canonical: |

aaa

static: |-

aaa

wysiwyg: |-

aaa

04_05_00__leaf_blocks__fenced_code_blocks__021: canonical: |
aaa
    ~~~ ~~
    
static: |-
aaa
    ~~~ ~~
wysiwyg: |-
aaa
    ~~~ ~~
04_05_00__leaf_blocks__fenced_code_blocks__022: canonical: |

foo

bar
    

baz

static: |-

foo

bar

baz

wysiwyg: |-

foo

bar

baz

04_05_00__leaf_blocks__fenced_code_blocks__023: canonical: |

foo

bar
    

baz

static: |-

foo

bar

baz

wysiwyg: |-

foo

bar

baz

04_05_00__leaf_blocks__fenced_code_blocks__024: canonical: |
def foo(x)
      return 3
    end
    
static: |-
def foo(x)
      return 3
    end
wysiwyg: |-
def foo(x)
      return 3
    end
04_05_00__leaf_blocks__fenced_code_blocks__025: canonical: |
def foo(x)
      return 3
    end
    
static: |-
def foo(x)
      return 3
    end
wysiwyg: |-
def foo(x)
      return 3
    end
04_05_00__leaf_blocks__fenced_code_blocks__026: canonical: |
static: |-
wysiwyg: |-
04_05_00__leaf_blocks__fenced_code_blocks__027: canonical: |

aa foo

static: |-

aa foo

wysiwyg: |-

aa foo

04_05_00__leaf_blocks__fenced_code_blocks__028: canonical: |
foo
    
static: |-
foo
wysiwyg: |-
foo
04_05_00__leaf_blocks__fenced_code_blocks__029: canonical: |
``` aaa
    
static: |-
``` aaa
wysiwyg: |-
``` aaa
04_06_00__leaf_blocks__html_blocks__001: canonical: |
    **Hello**,
    

world.

static: |-
    **Hello**,
    

world.

wysiwyg: |-

**Hello**,

world.

04_06_00__leaf_blocks__html_blocks__002: canonical: |
hi

okay.

static: |-
hi

okay.

wysiwyg: |-

hi

okay.

04_06_00__leaf_blocks__html_blocks__003: canonical: |2
*hello* static: |2-
*hello*
wysiwyg: |-

*hello*

04_06_00__leaf_blocks__html_blocks__004: canonical: |
*foo* static: |2- *foo* wysiwyg: |-

*foo*

04_06_00__leaf_blocks__html_blocks__005: canonical: |

Markdown

static: |-

Markdown

wysiwyg: |-

Markdown

04_06_00__leaf_blocks__html_blocks__006: canonical: |
static: |-
wysiwyg: |-
04_06_00__leaf_blocks__html_blocks__007: canonical: |
static: |-
wysiwyg: |-
04_06_00__leaf_blocks__html_blocks__008: canonical: |
*foo*

bar

static: |-
*foo*

bar

wysiwyg: |-

*foo*

bar

04_06_00__leaf_blocks__html_blocks__009: canonical: |
wysiwyg: |-

04_06_00__leaf_blocks__html_blocks__010: canonical: |
wysiwyg: |-

04_06_00__leaf_blocks__html_blocks__011: canonical: |
wysiwyg: |-

04_06_00__leaf_blocks__html_blocks__012: canonical: |
*foo*
static: |-
*foo*
wysiwyg: |-

*foo*

04_06_00__leaf_blocks__html_blocks__013: canonical: |
foo
static: |-
foo
wysiwyg: |-

foo

04_06_00__leaf_blocks__html_blocks__014: canonical: |
``` c int x = 33; ``` static: |-
``` c int x = 33; ``` wysiwyg: |-

``` c int x = 33; ```

04_06_00__leaf_blocks__html_blocks__015: canonical: | *bar* static: |- *bar* wysiwyg: |-

*bar*

04_06_00__leaf_blocks__html_blocks__016: canonical: | *bar* static: |2 *bar* wysiwyg: |-

04_06_00__leaf_blocks__html_blocks__017: canonical: | *bar* static: |- *bar* wysiwyg: |-

*bar*

04_06_00__leaf_blocks__html_blocks__018: canonical: | *bar* static: |2- *bar* wysiwyg: |-

*bar*

04_06_00__leaf_blocks__html_blocks__019: canonical: | *foo* static: |- *foo* wysiwyg: |-

*foo*

04_06_00__leaf_blocks__html_blocks__020: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

04_06_00__leaf_blocks__html_blocks__021: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

04_06_00__leaf_blocks__html_blocks__022: canonical: |

    import Text.HTML.TagSoup

    main :: IO ()
    main = print $ parseTags tags
    

okay

static: |-

    import Text.HTML.TagSoup
    
    main :: IO ()
    main = print $ parseTags tags

okay

wysiwyg: |-

import Text.HTML.TagSoup main :: IO () main = print $ parseTags tags

okay

04_06_00__leaf_blocks__html_blocks__023: canonical: |

okay

static: |2-

okay

wysiwyg: |-

okay

04_06_00__leaf_blocks__html_blocks__024: canonical: |

okay

static: |2- h1 {color:red;} p {color:blue;}

okay

wysiwyg: |-

okay

04_06_00__leaf_blocks__html_blocks__025: canonical: |

foo

static: |- p{color:red;}

foo

wysiwyg: |-

foo

04_06_00__leaf_blocks__html_blocks__029: canonical: | *bar*

baz

static: |- *bar*

baz

wysiwyg: |-

*bar*

baz

04_06_00__leaf_blocks__html_blocks__030: canonical: | 1. *bar* static: |- 1. *bar* wysiwyg: |-

1. *bar*

04_06_00__leaf_blocks__html_blocks__031: canonical: |

okay

static: |-

okay

wysiwyg: |-

okay

04_06_00__leaf_blocks__html_blocks__032: canonical: | '; ?>

okay

static: |- '; ?>

okay

wysiwyg: |-

'; ?>

okay

04_06_00__leaf_blocks__html_blocks__033: canonical: | static: "" wysiwyg: |-

04_06_00__leaf_blocks__html_blocks__034: canonical: |

okay

static: |2-

okay

wysiwyg: |-

okay

04_06_00__leaf_blocks__html_blocks__035: canonical: |2
<!-- foo -->
    
static: |2-
<!-- foo -->
wysiwyg: |-
<!-- foo -->
04_06_00__leaf_blocks__html_blocks__036: canonical: |2
<div>
    
static: |2-
<div>
wysiwyg: |-
<div>
04_06_00__leaf_blocks__html_blocks__037: canonical: |

Foo

bar
static: |-

Foo

bar
wysiwyg: |-

Foo

bar

04_06_00__leaf_blocks__html_blocks__038: canonical: |
bar
*foo* static: |-
bar
*foo* wysiwyg: |-

bar

*foo*

04_06_00__leaf_blocks__html_blocks__039: canonical: |

Foo baz

static: |-

Foo baz

wysiwyg: |-

Foo baz

04_06_00__leaf_blocks__html_blocks__040: canonical: |

Emphasized text.

static: |-

Emphasized text.

wysiwyg: |-

Emphasized text.

04_06_00__leaf_blocks__html_blocks__041: canonical: |
*Emphasized* text.
static: |-
*Emphasized* text.
wysiwyg: |-

*Emphasized* text.

04_06_00__leaf_blocks__html_blocks__042: canonical: |
Hi
static: |-
Hi
wysiwyg: |-

Hi

04_06_00__leaf_blocks__html_blocks__043: canonical: |
<td>
      Hi
    </td>
    
static: |-
<td>
      Hi
    </td>
wysiwyg: |-
<td>
      Hi
    </td>
04_07_00__leaf_blocks__link_reference_definitions__001: canonical: |

foo

static: |-

foo

wysiwyg: |-
[foo]: /url "title"

foo

04_07_00__leaf_blocks__link_reference_definitions__002: canonical: |

foo

static: |-

foo

wysiwyg: |-
[foo]: /url "the title"

foo

04_07_00__leaf_blocks__link_reference_definitions__003: canonical: |

Foo*bar]

static: |-

Foo*bar]

wysiwyg: |-
[foo*bar\]]: my_(url) "title (with parens)"

Foo*bar]

04_07_00__leaf_blocks__link_reference_definitions__004: canonical: |

Foo bar

static: |-

Foo bar

wysiwyg: |-
[foo bar]: my url "title"

Foo bar

04_07_00__leaf_blocks__link_reference_definitions__005: canonical: |

foo

static: |-

foo

wysiwyg: |-
[foo]: /url "
    title
    line1
    line2
    "

foo

04_07_00__leaf_blocks__link_reference_definitions__006: canonical: |

[foo]: /url 'title

with blank line'

[foo]

static: |-

[foo]: /url 'title

with blank line'

[foo]

wysiwyg: |-

[foo]: /url 'title

with blank line'

[foo]

04_07_00__leaf_blocks__link_reference_definitions__007: canonical: |

foo

static: |-

foo

wysiwyg: |-
[foo]: /url

foo

04_07_00__leaf_blocks__link_reference_definitions__008: canonical: |

[foo]:

[foo]

static: |-

[foo]:

[foo]

wysiwyg: |-

[foo]:

[foo]

04_07_00__leaf_blocks__link_reference_definitions__009: canonical: |

foo

static: |-

foo

wysiwyg: |-
[foo]: 

foo

04_07_00__leaf_blocks__link_reference_definitions__010: canonical: |

[foo]: (baz)

[foo]

static: |-

[foo]: (baz)

[foo]

wysiwyg: |-

[foo]:

[foo]

04_07_00__leaf_blocks__link_reference_definitions__011: canonical: |

foo

static: |-

foo

wysiwyg: |-
[foo]: /url\bar*baz "foo"bar\baz"

foo

04_07_00__leaf_blocks__link_reference_definitions__012: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: url
04_07_00__leaf_blocks__link_reference_definitions__013: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: first
[foo]: second
04_07_00__leaf_blocks__link_reference_definitions__014: canonical: |

Foo

static: |-

Foo

wysiwyg: |-
[foo]: /url

Foo

04_07_00__leaf_blocks__link_reference_definitions__015: canonical: |

αγω

static: |-

αγω

wysiwyg: |-
[αγω]: /φου

αγω

04_07_00__leaf_blocks__link_reference_definitions__016: canonical: "" static: "" wysiwyg: |-
[foo]: /url
04_07_00__leaf_blocks__link_reference_definitions__017: canonical: |

bar

static: |-

bar

wysiwyg: |-
[foo]: /url

bar

04_07_00__leaf_blocks__link_reference_definitions__018: canonical: |

[foo]: /url "title" ok

static: |-

[foo]: /url "title" ok

wysiwyg: |-

[foo]: /url "title" ok

04_07_00__leaf_blocks__link_reference_definitions__019: canonical: |

"title" ok

static: |-

"title" ok

wysiwyg: |-
[foo]: /url

"title" ok

04_07_00__leaf_blocks__link_reference_definitions__020: canonical: |
[foo]: /url "title"
    

[foo]

static: |-
[foo]: /url "title"

[foo]

wysiwyg: |-
[foo]: /url "title"

[foo]

04_07_00__leaf_blocks__link_reference_definitions__021: canonical: |
[foo]: /url
    

[foo]

static: |-
[foo]: /url

[foo]

wysiwyg: |-
[foo]: /url

[foo]

04_07_00__leaf_blocks__link_reference_definitions__022: canonical: |

Foo [bar]: /baz

[bar]

static: |-

Foo [bar]: /baz

[bar]

wysiwyg: |-

Foo [bar]: /baz

[bar]

04_07_00__leaf_blocks__link_reference_definitions__023: canonical: |

Foo

bar

static: |-

Foo

bar

wysiwyg: |-

Foo

[foo]: /url

bar

04_07_00__leaf_blocks__link_reference_definitions__024: canonical: |

bar

foo

static: |-

bar

foo

wysiwyg: |-
[foo]: /url

bar

foo

04_07_00__leaf_blocks__link_reference_definitions__025: canonical: |

=== foo

static: |-

=== foo

wysiwyg: |-
[foo]: /url

=== foo

04_07_00__leaf_blocks__link_reference_definitions__026: canonical: |

foo, bar, baz

static: |-

foo, bar, baz

wysiwyg: |-
[foo]: /foo-url "foo"
[bar]: /bar-url "bar"
[baz]: /baz-url

foo, bar, baz

04_07_00__leaf_blocks__link_reference_definitions__027: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /url
04_07_00__leaf_blocks__link_reference_definitions__028: canonical: "" static: "" wysiwyg: |-
[foo]: /url
04_08_00__leaf_blocks__paragraphs__001: canonical: |

aaa

bbb

static: |-

aaa

bbb

wysiwyg: |-

aaa

bbb

04_08_00__leaf_blocks__paragraphs__002: canonical: |

aaa bbb

ccc ddd

static: |-

aaa bbb

ccc ddd

wysiwyg: |-

aaa bbb

ccc ddd

04_08_00__leaf_blocks__paragraphs__003: canonical: |

aaa

bbb

static: |-

aaa

bbb

wysiwyg: |-

aaa

bbb

04_08_00__leaf_blocks__paragraphs__004: canonical: |

aaa bbb

static: |-

aaa bbb

wysiwyg: |-

aaa bbb

04_08_00__leaf_blocks__paragraphs__005: canonical: |

aaa bbb ccc

static: |-

aaa bbb ccc

wysiwyg: |-

aaa bbb ccc

04_08_00__leaf_blocks__paragraphs__006: canonical: |

aaa bbb

static: |-

aaa bbb

wysiwyg: |-

aaa bbb

04_08_00__leaf_blocks__paragraphs__007: canonical: |
aaa
    

bbb

static: |-
aaa

bbb

wysiwyg: |-
aaa

bbb

04_08_00__leaf_blocks__paragraphs__008: canonical: |

aaa
bbb

static: |-

aaa
bbb

wysiwyg: |-

aaa
bbb

04_09_00__leaf_blocks__blank_lines__001: canonical: |

aaa

aaa

static: |-

aaa

aaa

wysiwyg: |-

aaa

aaa

04_10_00__leaf_blocks__tables_extension__001: canonical: |
foo bar
baz bim
static: |-
foo bar
baz bim
wysiwyg: |-

foo

bar

baz

bim

04_10_00__leaf_blocks__tables_extension__002: canonical: |
abc defghi
bar baz
static: |-
abc defghi
bar baz
wysiwyg: |-

abc

defghi

bar

baz

04_10_00__leaf_blocks__tables_extension__003: canonical: |
f|oo
b | az
b | im
static: |-
f|oo
b | az
b | im
wysiwyg: |-

f|oo

b | az

b | im

04_10_00__leaf_blocks__tables_extension__004: canonical: |
abc def
bar baz

bar

static: |-
abc def
bar baz

bar

wysiwyg: |-

abc

def

bar

baz

bar

04_10_00__leaf_blocks__tables_extension__005: canonical: |
abc def
bar baz
bar

bar

static: |-
abc def
bar baz
bar

bar

wysiwyg: |-

abc

def

bar

baz

bar

bar

04_10_00__leaf_blocks__tables_extension__006: canonical: |

| abc | def | | --- | | bar |

static: |-

| abc | def | | --- | | bar |

wysiwyg: |-

| abc | def | | --- | | bar |

04_10_00__leaf_blocks__tables_extension__007: canonical: |
abc def
bar
bar baz
static: |-
abc def
bar
bar baz
wysiwyg: |-

abc

def

bar

bar

baz

04_10_00__leaf_blocks__tables_extension__008: canonical: |
abc def
static: |-
abc def
wysiwyg: |-

abc

def

05_01_00__container_blocks__block_quotes__001: canonical: |

Foo

bar baz

static: |-

Foo

bar baz

wysiwyg: |-

Foo

bar baz

05_01_00__container_blocks__block_quotes__002: canonical: |

Foo

bar baz

static: |-

Foo

bar baz

wysiwyg: |-

Foo

bar baz

05_01_00__container_blocks__block_quotes__003: canonical: |

Foo

bar baz

static: |-

Foo

bar baz

wysiwyg: |-

Foo

bar baz

05_01_00__container_blocks__block_quotes__004: canonical: |
> # Foo
    > bar
    > baz
    
static: |-
> # Foo
    > bar
    > baz
wysiwyg: |-
> # Foo
    > bar
    > baz
05_01_00__container_blocks__block_quotes__005: canonical: |

Foo

bar baz

static: |-

Foo

bar baz

wysiwyg: |-

Foo

bar baz

05_01_00__container_blocks__block_quotes__006: canonical: |

bar baz foo

static: |-

bar baz foo

wysiwyg: |-

bar baz foo

05_01_00__container_blocks__block_quotes__007: canonical: |

foo


static: |-

foo


wysiwyg: |-

foo


05_01_00__container_blocks__block_quotes__008: canonical: |
  • foo
static: |-
  • foo
wysiwyg: |-
  • foo

05_01_00__container_blocks__block_quotes__009: canonical: |
foo
    
bar
    
static: |-
foo
bar
wysiwyg: |-
foo
bar
05_01_00__container_blocks__block_quotes__010: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

05_01_00__container_blocks__block_quotes__011: canonical: |

foo - bar

static: |-

foo - bar

wysiwyg: |-

foo - bar

05_01_00__container_blocks__block_quotes__012: canonical: |
static: |-
wysiwyg: |-

05_01_00__container_blocks__block_quotes__013: canonical: |
static: |-
wysiwyg: |-

05_01_00__container_blocks__block_quotes__014: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

05_01_00__container_blocks__block_quotes__015: canonical: |

foo

bar

static: |-

foo

bar

wysiwyg: |-

foo

bar

05_01_00__container_blocks__block_quotes__016: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

05_01_00__container_blocks__block_quotes__017: canonical: |

foo

bar

static: |-

foo

bar

wysiwyg: |-

foo

bar

05_01_00__container_blocks__block_quotes__018: canonical: |

foo

bar

static: |-

foo

bar

wysiwyg: |-

foo

bar

05_01_00__container_blocks__block_quotes__019: canonical: |

aaa


bbb

static: |-

aaa


bbb

wysiwyg: |-

aaa


bbb

05_01_00__container_blocks__block_quotes__020: canonical: |

bar baz

static: |-

bar baz

wysiwyg: |-

bar baz

05_01_00__container_blocks__block_quotes__021: canonical: |

bar

baz

static: |-

bar

baz

wysiwyg: |-

bar

baz

05_01_00__container_blocks__block_quotes__022: canonical: |

bar

baz

static: |-

bar

baz

wysiwyg: |-

bar

baz

05_01_00__container_blocks__block_quotes__023: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

05_01_00__container_blocks__block_quotes__024: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

05_01_00__container_blocks__block_quotes__025: canonical: |
code
    

not code

static: |-
code

not code

wysiwyg: |-
code

not code

05_02_00__container_blocks__list_items__001: canonical: |

A paragraph with two lines.

indented code
    

A block quote.

static: |-

A paragraph with two lines.

indented code

A block quote.

wysiwyg: |-

A paragraph with two lines.

indented code

A block quote.

05_02_00__container_blocks__list_items__002: canonical: |
  1. A paragraph with two lines.

    indented code
        

    A block quote.

static: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

wysiwyg: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

05_02_00__container_blocks__list_items__003: canonical: |

two

static: |-

two

wysiwyg: |-

two

05_02_00__container_blocks__list_items__004: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__005: canonical: |
 two
    
static: |-
 two
wysiwyg: |-
 two
05_02_00__container_blocks__list_items__006: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__007: canonical: |
  1. one

    two

static: |-
  1. one

    two

wysiwyg: |-
  1. one

    two

05_02_00__container_blocks__list_items__008: canonical: |
  • one

two

static: |-
  • one

two

wysiwyg: |-
  • one

two

05_02_00__container_blocks__list_items__009: canonical: |

-one

2.two

static: |-

-one

2.two

wysiwyg: |-

-one

2.two

05_02_00__container_blocks__list_items__010: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__011: canonical: |
  1. foo

    bar
        

    baz

    bam

static: |-
  1. foo

    bar

    baz

    bam

wysiwyg: |-
  1. foo

    bar

    baz

    bam

05_02_00__container_blocks__list_items__012: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__013: canonical: |
  1. ok
static: |-
  1. ok
wysiwyg: |-
  1. ok

05_02_00__container_blocks__list_items__014: canonical: |

1234567890. not ok

static: |-

1234567890. not ok

wysiwyg: |-

1234567890. not ok

05_02_00__container_blocks__list_items__015: canonical: |
  1. ok
static: |-
  1. ok
wysiwyg: |-
  1. ok

05_02_00__container_blocks__list_items__016: canonical: |
  1. ok
static: |-
  1. ok
wysiwyg: |-
  1. ok

05_02_00__container_blocks__list_items__017: canonical: |

-1. not ok

static: |-

-1. not ok

wysiwyg: |-

-1. not ok

05_02_00__container_blocks__list_items__018: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__019: canonical: |
  1. foo

    bar
        
static: |-
  1. foo

    bar
wysiwyg: |-
  1. foo

    bar
05_02_00__container_blocks__list_items__020: canonical: |
indented code
    

paragraph

more code
    
static: |-
indented code

paragraph

more code
wysiwyg: |-
indented code

paragraph

more code
05_02_00__container_blocks__list_items__021: canonical: |
  1. indented code
        

    paragraph

    more code
        
static: |-
  1. indented code

    paragraph

    more code
wysiwyg: |-
  1. indented code

    paragraph

    more code
05_02_00__container_blocks__list_items__022: canonical: |
  1.  indented code
        

    paragraph

    more code
        
static: |-
  1.  indented code

    paragraph

    more code
wysiwyg: |-
  1.  indented code

    paragraph

    more code
05_02_00__container_blocks__list_items__023: canonical: |

foo

bar

static: |-

foo

bar

wysiwyg: |-

foo

bar

05_02_00__container_blocks__list_items__024: canonical: |

bar

static: |-

bar

wysiwyg: |-

bar

05_02_00__container_blocks__list_items__025: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__026: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__027: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__028: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

05_02_00__container_blocks__list_items__029: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__030: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__031: canonical: |
  1. foo
  2. bar
static: |-
  1. foo
  2. bar
wysiwyg: |-
  1. foo

  2. bar

05_02_00__container_blocks__list_items__032: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__033: canonical: |

foo *

foo 1.

static: |-

foo *

foo 1.

wysiwyg: |-

foo *

foo 1.

05_02_00__container_blocks__list_items__034: canonical: |
  1. A paragraph with two lines.

    indented code
        

    A block quote.

static: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

wysiwyg: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

05_02_00__container_blocks__list_items__035: canonical: |
  1. A paragraph with two lines.

    indented code
        

    A block quote.

static: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

wysiwyg: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

05_02_00__container_blocks__list_items__036: canonical: |
  1. A paragraph with two lines.

    indented code
        

    A block quote.

static: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

wysiwyg: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

05_02_00__container_blocks__list_items__037: canonical: |
1.  A paragraph
        with two lines.

            indented code

        > A block quote.
    
static: |-
1.  A paragraph
        with two lines.
    
            indented code
    
        > A block quote.
wysiwyg: |-
1.  A paragraph
        with two lines.

            indented code

        > A block quote.
05_02_00__container_blocks__list_items__038: canonical: |
  1. A paragraph with two lines.

    indented code
        

    A block quote.

static: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

wysiwyg: |-
  1. A paragraph with two lines.

    indented code

    A block quote.

05_02_00__container_blocks__list_items__039: canonical: |
  1. A paragraph with two lines.
static: |-
  1. A paragraph with two lines.
wysiwyg: |-
  1. A paragraph with two lines.

05_02_00__container_blocks__list_items__040: canonical: |
  1. Blockquote continued here.

static: |-
  1. Blockquote continued here.

wysiwyg: |-
  1. Blockquote continued here.

05_02_00__container_blocks__list_items__041: canonical: |
  1. Blockquote continued here.

static: |-
  1. Blockquote continued here.

wysiwyg: |-
  1. Blockquote continued here.

05_02_00__container_blocks__list_items__042: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__043: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__044: canonical: |
  1. foo
    • bar
static: |-
  1. foo
    • bar
wysiwyg: |-
  1. foo

    • bar

05_02_00__container_blocks__list_items__045: canonical: |
  1. foo
static: |-
  1. foo
wysiwyg: |-
  1. foo

05_02_00__container_blocks__list_items__046: canonical: | static: |- wysiwyg: |- 05_02_00__container_blocks__list_items__047: canonical: |
      1. foo
static: |-
      1. foo
wysiwyg: |-
      1. foo

05_02_00__container_blocks__list_items__048: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__001: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__002: canonical: |
  1. foo
  2. bar
  1. baz
static: |-
  1. foo
  2. bar
  1. baz
wysiwyg: |-
  1. foo

  2. bar

  1. baz

05_04_00__container_blocks__lists__003: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

05_04_00__container_blocks__lists__004: canonical: |

The number of windows in my house is 14. The number of doors is 6.

static: |-

The number of windows in my house is 14. The number of doors is 6.

wysiwyg: |-

The number of windows in my house is 14. The number of doors is 6.

05_04_00__container_blocks__lists__005: canonical: |

The number of windows in my house is

  1. The number of doors is 6.
static: |-

The number of windows in my house is

  1. The number of doors is 6.
wysiwyg: |-

The number of windows in my house is

  1. The number of doors is 6.

05_04_00__container_blocks__lists__006: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__007: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__008: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__009: canonical: |
code
    
static: |-
code
wysiwyg: |-
code
05_04_00__container_blocks__lists__010: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__011: canonical: |
  1. a

  2. b

  3. c

static: |-
  1. a

  2. b

  3. c

wysiwyg: |-
  1. a

  2. b

  3. c

05_04_00__container_blocks__lists__012: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__013: canonical: |
  1. a

  2. b

3. c
    
static: |-
  1. a

  2. b

3. c
wysiwyg: |-
  1. a

  2. b

3. c
05_04_00__container_blocks__lists__014: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__015: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__016: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__017: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__018: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__019: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__020: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__021: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__022: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__023: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__024: canonical: |
  1. foo
        

    bar

static: |-
  1. foo

    bar

wysiwyg: |-
  1. foo

    bar

05_04_00__container_blocks__lists__025: canonical: | static: |- wysiwyg: |- 05_04_00__container_blocks__lists__026: canonical: | static: |- wysiwyg: |- 06_01_00__inlines__001: canonical: |

hilo`

static: |-

hilo`

wysiwyg: |-

hilo`

06_02_00__inlines__backslash_escapes__001: canonical: |

!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

static: |-

!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

wysiwyg: |-

!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

06_02_00__inlines__backslash_escapes__002: canonical: "

\\\t\\A\\a\\ \\3\\φ\\«

\n" static: "

\\\t\\A\\a\\ \\3\\φ\\«

" wysiwyg: "

\\\t\\A\\a\\ \\3\\φ\\«

" 06_02_00__inlines__backslash_escapes__003: canonical: |

*not emphasized* <br/> not a tag [not a link](/foo) `not code` 1. not a list * not a list # not a heading [foo]: /url "not a reference" &ouml; not a character entity

static: |-

*not emphasized* <br/> not a tag not a link `not code` 1. not a list * not a list # not a heading [foo]: /url "not a reference" &ouml; not a character entity

wysiwyg: |-

*not emphasized* <br/> not a tag [not a link](/foo) `not code` 1. not a list * not a list # not a heading [foo]: /url "not a reference" &ouml; not a character entity

06_02_00__inlines__backslash_escapes__004: canonical: |

\emphasis

static: |-

\emphasis

wysiwyg: |-

\emphasis

06_02_00__inlines__backslash_escapes__005: canonical: |

foo
bar

static: |-

foo
bar

wysiwyg: |-

foo
bar

06_02_00__inlines__backslash_escapes__006: canonical: |

\[\`

static: |-

\[\`

wysiwyg: |-

\[\`

06_02_00__inlines__backslash_escapes__007: canonical: |
\[\]
    
static: |-
\[\]
wysiwyg: |-
\[\]
06_02_00__inlines__backslash_escapes__008: canonical: |
\[\]
    
static: |-
\[\]
wysiwyg: |-
\[\]
06_02_00__inlines__backslash_escapes__009: canonical: |

http://example.com?find=\*

static: |-

http://example.com?find=\*

wysiwyg: |-

http://example.com?find=\*

06_02_00__inlines__backslash_escapes__010: canonical: | static: |- wysiwyg: |-

06_02_00__inlines__backslash_escapes__011: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_02_00__inlines__backslash_escapes__012: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /bar* "ti*tle"
06_02_00__inlines__backslash_escapes__013: canonical: |
foo
    
static: |-
foo
wysiwyg: |-
foo
06_03_00__inlines__entity_and_numeric_character_references__001: canonical: |

  & © Æ Ď ¾ ℋ ⅆ ∲ ≧̸

static: |-

  & © Æ Ď ¾ ℋ ⅆ ∲ ≧̸

wysiwyg: |-

  & © Æ Ď ¾ ℋ ⅆ ∲ ≧̸

06_03_00__inlines__entity_and_numeric_character_references__002: canonical: |

# Ӓ Ϡ �

static: |-

# Ӓ Ϡ �

wysiwyg: |-

# Ӓ Ϡ �

06_03_00__inlines__entity_and_numeric_character_references__003: canonical: |

" ആ ಫ

static: |-

" ആ ಫ

wysiwyg: |-

" ആ ಫ

06_03_00__inlines__entity_and_numeric_character_references__004: canonical: |

&nbsp &x; &#; &#x; &#987654321; &#abcdef0; &ThisIsNotDefined; &hi?;

static: |-

&nbsp &x; &#; &#x; &#987654321; &#abcdef0; &ThisIsNotDefined; &hi?;

wysiwyg: |-

&nbsp &x; &#; &#x; &#987654321; &#abcdef0; &ThisIsNotDefined; &hi?;

06_03_00__inlines__entity_and_numeric_character_references__005: canonical: |

&copy

static: |-

&copy

wysiwyg: |-

&copy

06_03_00__inlines__entity_and_numeric_character_references__006: canonical: |

&MadeUpEntity;

static: |-

&MadeUpEntity;

wysiwyg: |-

&MadeUpEntity;

06_03_00__inlines__entity_and_numeric_character_references__007: canonical: | static: |- wysiwyg: |-

06_03_00__inlines__entity_and_numeric_character_references__008: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_03_00__inlines__entity_and_numeric_character_references__009: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /föö "föö"
06_03_00__inlines__entity_and_numeric_character_references__010: canonical: |
foo
    
static: |-
foo
wysiwyg: |-
foo
06_03_00__inlines__entity_and_numeric_character_references__011: canonical: |

f&ouml;&ouml;

static: |-

f&ouml;&ouml;

wysiwyg: |-

f&ouml;&ouml;

06_03_00__inlines__entity_and_numeric_character_references__012: canonical: |
f&ouml;f&ouml;
    
static: |-
f&ouml;f&ouml;
wysiwyg: |-
f&ouml;f&ouml;
06_03_00__inlines__entity_and_numeric_character_references__013: canonical: |

*foo* foo

static: |-

*foo* foo

wysiwyg: |-

*foo* foo

06_03_00__inlines__entity_and_numeric_character_references__014: canonical: |

* foo

static: |-

* foo

wysiwyg: |-

* foo

06_03_00__inlines__entity_and_numeric_character_references__015: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_03_00__inlines__entity_and_numeric_character_references__016: canonical: "

\tfoo

\n" static: "

\tfoo

" wysiwyg: "

\tfoo

" 06_03_00__inlines__entity_and_numeric_character_references__017: canonical: |

[a](url "tit")

static: |-

a

wysiwyg: |-

[a](url "tit")

06_04_00__inlines__code_spans__001: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_04_00__inlines__code_spans__002: canonical: |

foo ` bar

static: |-

foo ` bar

wysiwyg: |-

foo ` bar

06_04_00__inlines__code_spans__003: canonical: |

``

static: |-

``

wysiwyg: |-

``

06_04_00__inlines__code_spans__004: canonical: |

``

static: |-

``

wysiwyg: |-

``

06_04_00__inlines__code_spans__005: canonical: |

a

static: |-

a

wysiwyg: |-

a

06_04_00__inlines__code_spans__006: canonical: |

 b 

static: |-

 b 

wysiwyg: |-

 b 

06_04_00__inlines__code_spans__007: canonical: |

 

static: |-

 

wysiwyg: |-

06_04_00__inlines__code_spans__008: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

06_04_00__inlines__code_spans__009: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_04_00__inlines__code_spans__010: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

06_04_00__inlines__code_spans__011: canonical: |

foo\bar`

static: |-

foo\bar`

wysiwyg: |-

foo\bar`

06_04_00__inlines__code_spans__012: canonical: |

foo`bar

static: |-

foo`bar

wysiwyg: |-

foo`bar

06_04_00__inlines__code_spans__013: canonical: |

foo `` bar

static: |-

foo `` bar

wysiwyg: |-

foo `` bar

06_04_00__inlines__code_spans__014: canonical: |

*foo*

static: |-

*foo*

wysiwyg: |-

*foo*

06_04_00__inlines__code_spans__015: canonical: |

[not a link](/foo)

static: |-

[not a link](/foo)

wysiwyg: |-

[not a link](/foo)

06_04_00__inlines__code_spans__016: canonical: |

<a href="">`

static: |-

<a href="">`

wysiwyg: |-

<a href="">`

06_04_00__inlines__code_spans__017: canonical: |

`

static: |-

`

wysiwyg: |-

`

06_04_00__inlines__code_spans__018: canonical: |

<http://foo.bar.baz>`

static: |-

<http://foo.bar.baz>`

wysiwyg: |-

<http://foo.bar.baz>`

06_04_00__inlines__code_spans__019: canonical: |

http://foo.bar.`baz`

static: |-

http://foo.bar.`baz`

wysiwyg: |-

http://foo.bar.`baz`

06_04_00__inlines__code_spans__020: canonical: |

```foo``

static: |-

```foo``

wysiwyg: |-

```foo``

06_04_00__inlines__code_spans__021: canonical: |

`foo

static: |-

`foo

wysiwyg: |-

`foo

06_04_00__inlines__code_spans__022: canonical: |

`foobar

static: |-

`foobar

wysiwyg: |-

`foobar

06_05_00__inlines__emphasis_and_strong_emphasis__001: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__002: canonical: |

a * foo bar*

static: |-

a * foo bar*

wysiwyg: |-

a * foo bar*

06_05_00__inlines__emphasis_and_strong_emphasis__003: canonical: |

a*"foo"*

static: |-

a*"foo"*

wysiwyg: |-

a*"foo"*

06_05_00__inlines__emphasis_and_strong_emphasis__004: canonical: |

* a *

static: |-

* a *

wysiwyg: |-

* a *

06_05_00__inlines__emphasis_and_strong_emphasis__005: canonical: |

foobar

static: |-

foobar

wysiwyg: |-

foobar

06_05_00__inlines__emphasis_and_strong_emphasis__006: canonical: |

5678

static: |-

5678

wysiwyg: |-

5678

06_05_00__inlines__emphasis_and_strong_emphasis__007: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__008: canonical: |

_ foo bar_

static: |-

_ foo bar_

wysiwyg: |-

_ foo bar_

06_05_00__inlines__emphasis_and_strong_emphasis__009: canonical: |

a_"foo"_

static: |-

a_"foo"_

wysiwyg: |-

a_"foo"_

06_05_00__inlines__emphasis_and_strong_emphasis__010: canonical: |

foo_bar_

static: |-

foo_bar_

wysiwyg: |-

foo_bar_

06_05_00__inlines__emphasis_and_strong_emphasis__011: canonical: |

5_6_78

static: |-

5_6_78

wysiwyg: |-

5_6_78

06_05_00__inlines__emphasis_and_strong_emphasis__012: canonical: |

пристаням_стремятся_

static: |-

пристаням_стремятся_

wysiwyg: |-

пристаням_стремятся_

06_05_00__inlines__emphasis_and_strong_emphasis__013: canonical: |

aa_"bb"_cc

static: |-

aa_"bb"_cc

wysiwyg: |-

aa_"bb"_cc

06_05_00__inlines__emphasis_and_strong_emphasis__014: canonical: |

foo-(bar)

static: |-

foo-(bar)

wysiwyg: |-

foo-(bar)

06_05_00__inlines__emphasis_and_strong_emphasis__015: canonical: |

_foo*

static: |-

_foo*

wysiwyg: |-

_foo*

06_05_00__inlines__emphasis_and_strong_emphasis__016: canonical: |

*foo bar *

static: |-

*foo bar *

wysiwyg: |-

*foo bar *

06_05_00__inlines__emphasis_and_strong_emphasis__017: canonical: |

*foo bar *

static: |-

*foo bar *

wysiwyg: |-

*foo bar *

06_05_00__inlines__emphasis_and_strong_emphasis__018: canonical: |

*(*foo)

static: |-

*(*foo)

wysiwyg: |-

*(*foo)

06_05_00__inlines__emphasis_and_strong_emphasis__019: canonical: |

(foo)

static: |-

(foo)

wysiwyg: |-

(foo)

06_05_00__inlines__emphasis_and_strong_emphasis__020: canonical: |

foobar

static: |-

foobar

wysiwyg: |-

foobar

06_05_00__inlines__emphasis_and_strong_emphasis__021: canonical: |

_foo bar _

static: |-

_foo bar _

wysiwyg: |-

_foo bar _

06_05_00__inlines__emphasis_and_strong_emphasis__022: canonical: |

_(_foo)

static: |-

_(_foo)

wysiwyg: |-

_(_foo)

06_05_00__inlines__emphasis_and_strong_emphasis__023: canonical: |

(foo)

static: |-

(foo)

wysiwyg: |-

(foo)

06_05_00__inlines__emphasis_and_strong_emphasis__024: canonical: |

_foo_bar

static: |-

_foo_bar

wysiwyg: |-

_foo_bar

06_05_00__inlines__emphasis_and_strong_emphasis__025: canonical: |

_пристаням_стремятся

static: |-

_пристаням_стремятся

wysiwyg: |-

_пристаням_стремятся

06_05_00__inlines__emphasis_and_strong_emphasis__026: canonical: |

foo_bar_baz

static: |-

foo_bar_baz

wysiwyg: |-

foo_bar_baz

06_05_00__inlines__emphasis_and_strong_emphasis__027: canonical: |

(bar).

static: |-

(bar).

wysiwyg: |-

(bar).

06_05_00__inlines__emphasis_and_strong_emphasis__028: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__029: canonical: |

** foo bar**

static: |-

** foo bar**

wysiwyg: |-

** foo bar**

06_05_00__inlines__emphasis_and_strong_emphasis__030: canonical: |

a**"foo"**

static: |-

a**"foo"**

wysiwyg: |-

a**"foo"**

06_05_00__inlines__emphasis_and_strong_emphasis__031: canonical: |

foobar

static: |-

foobar

wysiwyg: |-

foobar

06_05_00__inlines__emphasis_and_strong_emphasis__032: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__033: canonical: |

__ foo bar__

static: |-

__ foo bar__

wysiwyg: |-

__ foo bar__

06_05_00__inlines__emphasis_and_strong_emphasis__034: canonical: |

__ foo bar__

static: |-

__ foo bar__

wysiwyg: |-

__ foo bar__

06_05_00__inlines__emphasis_and_strong_emphasis__035: canonical: |

a__"foo"__

static: |-

a__"foo"__

wysiwyg: |-

a__"foo"__

06_05_00__inlines__emphasis_and_strong_emphasis__036: canonical: |

foo__bar__

static: |-

foo__bar__

wysiwyg: |-

foo__bar__

06_05_00__inlines__emphasis_and_strong_emphasis__037: canonical: |

5__6__78

static: |-

5__6__78

wysiwyg: |-

5__6__78

06_05_00__inlines__emphasis_and_strong_emphasis__038: canonical: |

пристаням__стремятся__

static: |-

пристаням__стремятся__

wysiwyg: |-

пристаням__стремятся__

06_05_00__inlines__emphasis_and_strong_emphasis__039: canonical: |

foo, bar, baz

static: |-

foo, bar, baz

wysiwyg: |-

foo, bar, baz

06_05_00__inlines__emphasis_and_strong_emphasis__040: canonical: |

foo-(bar)

static: |-

foo-(bar)

wysiwyg: |-

foo-(bar)

06_05_00__inlines__emphasis_and_strong_emphasis__041: canonical: |

**foo bar **

static: |-

**foo bar **

wysiwyg: |-

**foo bar **

06_05_00__inlines__emphasis_and_strong_emphasis__042: canonical: |

**(**foo)

static: |-

**(**foo)

wysiwyg: |-

**(**foo)

06_05_00__inlines__emphasis_and_strong_emphasis__043: canonical: |

(foo)

static: |-

(foo)

wysiwyg: |-

(foo)

06_05_00__inlines__emphasis_and_strong_emphasis__044: canonical: |

Gomphocarpus (Gomphocarpus physocarpus, syn. Asclepias physocarpa)

static: |-

Gomphocarpus (Gomphocarpus physocarpus, syn. Asclepias physocarpa)

wysiwyg: |-

Gomphocarpus (Gomphocarpus physocarpus, syn. Asclepias physocarpa)

06_05_00__inlines__emphasis_and_strong_emphasis__045: canonical: |

foo "bar" foo

static: |-

foo "bar" foo

wysiwyg: |-

foo "bar" foo

06_05_00__inlines__emphasis_and_strong_emphasis__046: canonical: |

foobar

static: |-

foobar

wysiwyg: |-

foobar

06_05_00__inlines__emphasis_and_strong_emphasis__047: canonical: |

__foo bar __

static: |-

__foo bar __

wysiwyg: |-

__foo bar __

06_05_00__inlines__emphasis_and_strong_emphasis__048: canonical: |

__(__foo)

static: |-

__(__foo)

wysiwyg: |-

__(__foo)

06_05_00__inlines__emphasis_and_strong_emphasis__049: canonical: |

(foo)

static: |-

(foo)

wysiwyg: |-

(foo)

06_05_00__inlines__emphasis_and_strong_emphasis__050: canonical: |

__foo__bar

static: |-

__foo__bar

wysiwyg: |-

__foo__bar

06_05_00__inlines__emphasis_and_strong_emphasis__051: canonical: |

__пристаням__стремятся

static: |-

__пристаням__стремятся

wysiwyg: |-

__пристаням__стремятся

06_05_00__inlines__emphasis_and_strong_emphasis__052: canonical: |

foo__bar__baz

static: |-

foo__bar__baz

wysiwyg: |-

foo__bar__baz

06_05_00__inlines__emphasis_and_strong_emphasis__053: canonical: |

(bar).

static: |-

(bar).

wysiwyg: |-

(bar).

06_05_00__inlines__emphasis_and_strong_emphasis__054: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__055: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__056: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

06_05_00__inlines__emphasis_and_strong_emphasis__057: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

06_05_00__inlines__emphasis_and_strong_emphasis__058: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__059: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__060: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

06_05_00__inlines__emphasis_and_strong_emphasis__061: canonical: |

foobarbaz

static: |-

foobarbaz

wysiwyg: |-

foobarbaz

06_05_00__inlines__emphasis_and_strong_emphasis__062: canonical: |

foo**bar

static: |-

foo**bar

wysiwyg: |-

foo**bar

06_05_00__inlines__emphasis_and_strong_emphasis__063: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__064: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__065: canonical: |

foobar

static: |-

foobar

wysiwyg: |-

foobar

06_05_00__inlines__emphasis_and_strong_emphasis__066: canonical: |

foobarbaz

static: |-

foobarbaz

wysiwyg: |-

foobarbaz

06_05_00__inlines__emphasis_and_strong_emphasis__067: canonical: |

foobar***baz

static: |-

foobar***baz

wysiwyg: |-

foobar***baz

06_05_00__inlines__emphasis_and_strong_emphasis__068: canonical: |

foo bar baz bim bop

static: |-

foo bar baz bim bop

wysiwyg: |-

foo bar baz bim bop

06_05_00__inlines__emphasis_and_strong_emphasis__069: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__070: canonical: |

** is not an empty emphasis

static: |-

** is not an empty emphasis

wysiwyg: |-

** is not an empty emphasis

06_05_00__inlines__emphasis_and_strong_emphasis__071: canonical: |

**** is not an empty strong emphasis

static: |-

**** is not an empty strong emphasis

wysiwyg: |-

**** is not an empty strong emphasis

06_05_00__inlines__emphasis_and_strong_emphasis__072: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__073: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__074: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

06_05_00__inlines__emphasis_and_strong_emphasis__075: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

06_05_00__inlines__emphasis_and_strong_emphasis__076: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__077: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__078: canonical: |

foo bar baz

static: |-

foo bar baz

wysiwyg: |-

foo bar baz

06_05_00__inlines__emphasis_and_strong_emphasis__079: canonical: |

foobarbaz

static: |-

foobarbaz

wysiwyg: |-

foobarbaz

06_05_00__inlines__emphasis_and_strong_emphasis__080: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__081: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__082: canonical: |

foo bar baz bim bop

static: |-

foo bar baz bim bop

wysiwyg: |-

foo bar baz bim bop

06_05_00__inlines__emphasis_and_strong_emphasis__083: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_05_00__inlines__emphasis_and_strong_emphasis__084: canonical: |

__ is not an empty emphasis

static: |-

__ is not an empty emphasis

wysiwyg: |-

__ is not an empty emphasis

06_05_00__inlines__emphasis_and_strong_emphasis__085: canonical: |

____ is not an empty strong emphasis

static: |-

____ is not an empty strong emphasis

wysiwyg: |-

____ is not an empty strong emphasis

06_05_00__inlines__emphasis_and_strong_emphasis__086: canonical: |

foo ***

static: |-

foo ***

wysiwyg: |-

foo ***

06_05_00__inlines__emphasis_and_strong_emphasis__087: canonical: |

foo *

static: |-

foo *

wysiwyg: |-

foo *

06_05_00__inlines__emphasis_and_strong_emphasis__088: canonical: |

foo _

static: |-

foo _

wysiwyg: |-

foo _

06_05_00__inlines__emphasis_and_strong_emphasis__089: canonical: |

foo *****

static: |-

foo *****

wysiwyg: |-

foo *****

06_05_00__inlines__emphasis_and_strong_emphasis__090: canonical: |

foo *

static: |-

foo *

wysiwyg: |-

foo *

06_05_00__inlines__emphasis_and_strong_emphasis__091: canonical: |

foo _

static: |-

foo _

wysiwyg: |-

foo _

06_05_00__inlines__emphasis_and_strong_emphasis__092: canonical: |

*foo

static: |-

*foo

wysiwyg: |-

*foo

06_05_00__inlines__emphasis_and_strong_emphasis__093: canonical: |

foo*

static: |-

foo*

wysiwyg: |-

foo*

06_05_00__inlines__emphasis_and_strong_emphasis__094: canonical: |

*foo

static: |-

*foo

wysiwyg: |-

*foo

06_05_00__inlines__emphasis_and_strong_emphasis__095: canonical: |

***foo

static: |-

***foo

wysiwyg: |-

***foo

06_05_00__inlines__emphasis_and_strong_emphasis__096: canonical: |

foo*

static: |-

foo*

wysiwyg: |-

foo*

06_05_00__inlines__emphasis_and_strong_emphasis__097: canonical: |

foo***

static: |-

foo***

wysiwyg: |-

foo***

06_05_00__inlines__emphasis_and_strong_emphasis__098: canonical: |

foo ___

static: |-

foo ___

wysiwyg: |-

foo ___

06_05_00__inlines__emphasis_and_strong_emphasis__099: canonical: |

foo _

static: |-

foo _

wysiwyg: |-

foo _

06_05_00__inlines__emphasis_and_strong_emphasis__100: canonical: |

foo *

static: |-

foo *

wysiwyg: |-

foo *

06_05_00__inlines__emphasis_and_strong_emphasis__101: canonical: |

foo _____

static: |-

foo _____

wysiwyg: |-

foo _____

06_05_00__inlines__emphasis_and_strong_emphasis__102: canonical: |

foo _

static: |-

foo _

wysiwyg: |-

foo _

06_05_00__inlines__emphasis_and_strong_emphasis__103: canonical: |

foo *

static: |-

foo *

wysiwyg: |-

foo *

06_05_00__inlines__emphasis_and_strong_emphasis__104: canonical: |

_foo

static: |-

_foo

wysiwyg: |-

_foo

06_05_00__inlines__emphasis_and_strong_emphasis__105: canonical: |

foo_

static: |-

foo_

wysiwyg: |-

foo_

06_05_00__inlines__emphasis_and_strong_emphasis__106: canonical: |

_foo

static: |-

_foo

wysiwyg: |-

_foo

06_05_00__inlines__emphasis_and_strong_emphasis__107: canonical: |

___foo

static: |-

___foo

wysiwyg: |-

___foo

06_05_00__inlines__emphasis_and_strong_emphasis__108: canonical: |

foo_

static: |-

foo_

wysiwyg: |-

foo_

06_05_00__inlines__emphasis_and_strong_emphasis__109: canonical: |

foo___

static: |-

foo___

wysiwyg: |-

foo___

06_05_00__inlines__emphasis_and_strong_emphasis__110: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__111: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__112: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__113: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__114: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__115: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__116: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__117: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__118: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_05_00__inlines__emphasis_and_strong_emphasis__119: canonical: |

foo _bar baz_

static: |-

foo _bar baz_

wysiwyg: |-

foo _bar baz_

06_05_00__inlines__emphasis_and_strong_emphasis__120: canonical: |

foo bar *baz bim bam

static: |-

foo bar *baz bim bam

wysiwyg: |-

foo bar *baz bim bam

06_05_00__inlines__emphasis_and_strong_emphasis__121: canonical: |

**foo bar baz

static: |-

**foo bar baz

wysiwyg: |-

**foo bar baz

06_05_00__inlines__emphasis_and_strong_emphasis__122: canonical: |

*foo bar baz

static: |-

*foo bar baz

wysiwyg: |-

*foo bar baz

06_05_00__inlines__emphasis_and_strong_emphasis__123: canonical: |

*bar*

static: |-

*bar*

wysiwyg: |-

*bar*

06_05_00__inlines__emphasis_and_strong_emphasis__124: canonical: |

_foo bar_

static: |-

_foo bar_

wysiwyg: |-

_foo bar_

06_05_00__inlines__emphasis_and_strong_emphasis__125: canonical: |

*

static: |-

*

wysiwyg: |-

*

06_05_00__inlines__emphasis_and_strong_emphasis__126: canonical: |

**

static: |-

**

wysiwyg: |-

**

06_05_00__inlines__emphasis_and_strong_emphasis__127: canonical: |

__

static: |-

__

wysiwyg: |-

__

06_05_00__inlines__emphasis_and_strong_emphasis__128: canonical: |

a *

static: |-

a *

wysiwyg: |-

a *

06_05_00__inlines__emphasis_and_strong_emphasis__129: canonical: |

a _

static: |-

a _

wysiwyg: |-

a _

06_05_00__inlines__emphasis_and_strong_emphasis__130: canonical: |

**ahttp://foo.bar/?q=**

static: |-

**ahttp://foo.bar/?q=**

wysiwyg: |-

**ahttp://foo.bar/?q=**

06_05_00__inlines__emphasis_and_strong_emphasis__131: canonical: |

__ahttp://foo.bar/?q=__

static: |-

__ahttp://foo.bar/?q=__

wysiwyg: |-

__ahttp://foo.bar/?q=__

06_06_00__inlines__strikethrough_extension__001: canonical: |

Hi Hello, world!

static: |-

Hi Hello, world!

wysiwyg: |-

Hi Hello, world!

06_06_00__inlines__strikethrough_extension__002: canonical: |

This ~~has a

new paragraph~~.

static: |-

This ~~has a

new paragraph~~.

wysiwyg: |-

This ~~has a

new paragraph~~.

06_07_00__inlines__links__001: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__002: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__003: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__004: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__005: canonical: |

[link](/my uri)

static: |-

link

wysiwyg: |-

[link](/my uri)

06_07_00__inlines__links__006: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__007: canonical: |

[link](foo bar)

static: |-

[link](foo bar)

wysiwyg: |-

[link](foo bar)

06_07_00__inlines__links__008: canonical: |

[link]()

static: |-

[link]()

wysiwyg: |-

[link](

06_07_00__inlines__links__009: canonical: |

a

static: |-

a

wysiwyg: |-

a

06_07_00__inlines__links__010: canonical: |

[link](<foo>)

static: |-

link

wysiwyg: |-

[link](<foo>)

06_07_00__inlines__links__011: canonical: |

[a](<b)c [a](<b)c> [a](c)

static: |-

ac ac> [a](c)

wysiwyg: |-

[a](<b)c [a](<b)c> [a](c)

06_07_00__inlines__links__012: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__013: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__014: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__015: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__016: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__017: canonical: |

link

link

link

static: |-

link

link

link

wysiwyg: |-

link

link

link

06_07_00__inlines__links__018: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__019: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__020: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__021: canonical: |

link link link

static: |-

link link link

wysiwyg: |-

linklinklink

06_07_00__inlines__links__022: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__023: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__024: canonical: |

[link](/url "title "and" title")

static: |-

[link](/url "title "and" title")

wysiwyg: |-

[link](/url "title "and" title")

06_07_00__inlines__links__025: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__026: canonical: |

link

static: |-

link

wysiwyg: |-

link

06_07_00__inlines__links__027: canonical: |

[link] (/uri)

static: |-

[link] (/uri)

wysiwyg: |-

[link] (/uri)

06_07_00__inlines__links__028: canonical: |

link [foo [bar]]

static: |-

link [foo [bar]]

wysiwyg: |-

link [foo [bar]]

06_07_00__inlines__links__029: canonical: |

[link] bar](/uri)

static: |-

[link] bar](/uri)

wysiwyg: |-

[link] bar](/uri)

06_07_00__inlines__links__030: canonical: |

[link bar

static: |-

[link bar

wysiwyg: |-

[link bar

06_07_00__inlines__links__031: canonical: |

link [bar

static: |-

link [bar

wysiwyg: |-

link [bar

06_07_00__inlines__links__032: canonical: |

link foo bar #

static: |-

link foo bar #

wysiwyg: |-

link foo bar#

06_07_00__inlines__links__033: canonical: |

moon

static: |-

moon

wysiwyg: |-

moon

06_07_00__inlines__links__034: canonical: |

[foo bar](/uri)

static: |-

[foo bar](/uri)

wysiwyg: |-

[foo bar](/uri)

06_07_00__inlines__links__035: canonical: |

[foo [bar baz](/uri)](/uri)

static: |-

[foo [bar baz](/uri)](/uri)

wysiwyg: |-

[foo [bar baz](/uri)](/uri)

06_07_00__inlines__links__036: canonical: |

[foo](uri2)

static: |-

[foo](uri2)

wysiwyg: |-

[foo](uri2)

06_07_00__inlines__links__037: canonical: |

*foo*

static: |-

*foo*

wysiwyg: |-

*foo*

06_07_00__inlines__links__038: canonical: |

foo *bar

static: |-

foo *bar

wysiwyg: |-

foo *bar

06_07_00__inlines__links__039: canonical: |

foo [bar baz]

static: |-

foo [bar baz]

wysiwyg: |-

foo [bar baz]

06_07_00__inlines__links__040: canonical: |

[foo

static: |-

[foo

wysiwyg: |-

[foo

06_07_00__inlines__links__041: canonical: |

[foo](/uri)

static: |-

[foo](/uri)

wysiwyg: |-

[foo](/uri)

06_07_00__inlines__links__042: canonical: |

[foohttp://example.com/?search=](uri)

static: |-

[foohttp://example.com/?search=](uri)

wysiwyg: |-

[foohttp://example.com/?search=](uri)

06_07_00__inlines__links__043: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[bar]: /url "title"
06_07_00__inlines__links__044: canonical: |

link [foo [bar]]

static: |-

link [foo [bar]]

wysiwyg: |-

link [foo [bar]]

[ref]: /uri
06_07_00__inlines__links__045: canonical: |

link [bar

static: |-

link [bar

wysiwyg: |-

link [bar

[ref]: /uri
06_07_00__inlines__links__046: canonical: |

link foo bar #

static: |-

link foo bar #

wysiwyg: |-

link foo bar#

[ref]: /uri
06_07_00__inlines__links__047: canonical: |

moon

static: |-

moon

wysiwyg: |-

moon

[ref]: /uri
06_07_00__inlines__links__048: canonical: |

[foo bar]ref

static: |-

[foo bar]ref

wysiwyg: |-

[foo bar]ref

[ref]: /uri
06_07_00__inlines__links__049: canonical: |

[foo bar baz]ref

static: |-

[foo bar baz]ref

wysiwyg: |-

[foo bar baz]ref

[ref]: /uri
06_07_00__inlines__links__050: canonical: |

*foo*

static: |-

*foo*

wysiwyg: |-

*foo*

[ref]: /uri
06_07_00__inlines__links__051: canonical: |

foo *bar

static: |-

foo *bar

wysiwyg: |-

foo *bar

[ref]: /uri
06_07_00__inlines__links__052: canonical: |

[foo

static: |-

[foo

wysiwyg: |-

[foo

[ref]: /uri
06_07_00__inlines__links__053: canonical: |

[foo][ref]

static: |-

[foo][ref]

wysiwyg: |-

[foo][ref]

[ref]: /uri
06_07_00__inlines__links__054: canonical: |

[foohttp://example.com/?search=][ref]

static: |-

[foohttp://example.com/?search=][ref]

wysiwyg: |-

[foohttp://example.com/?search=][ref]

[ref]: /uri
06_07_00__inlines__links__055: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[bar]: /url "title"
06_07_00__inlines__links__056: canonical: |

Толпой is a Russian word.

static: |-

Толпой is a Russian word.

wysiwyg: |-

Толпой is a Russian word.

[толпой]: /url
06_07_00__inlines__links__057: canonical: |

Baz

static: |-

Baz

wysiwyg: |-
[foo bar]: /url

Baz

06_07_00__inlines__links__058: canonical: |

[foo] bar

static: |-

[foo] bar

wysiwyg: |-

[foo] bar

[bar]: /url "title"
06_07_00__inlines__links__059: canonical: |

[foo] bar

static: |-

[foo] bar

wysiwyg: |-

[foo] bar

[bar]: /url "title"
06_07_00__inlines__links__060: canonical: |

bar

static: |-

bar

wysiwyg: |-
[foo]: /url1
[foo]: /url2

bar

06_07_00__inlines__links__061: canonical: |

[bar][foo!]

static: |-

[bar][foo!]

wysiwyg: |-

[bar][foo!]

[foo!]: /url
06_07_00__inlines__links__062: canonical: |

[foo][ref[]

[ref[]: /uri

static: |-

[foo][ref[]

[ref[]: /uri

wysiwyg: |-

[foo][ref[]

[ref[]: /uri

06_07_00__inlines__links__063: canonical: |

[foo][ref[bar]]

[ref[bar]]: /uri

static: |-

[foo][ref[bar]]

[ref[bar]]: /uri

wysiwyg: |-

[foo][ref[bar]]

[ref[bar]]: /uri

06_07_00__inlines__links__064: canonical: |

[[[foo]]]

[[[foo]]]: /url

static: |-

[[[foo]]]

[[[foo]]]: /url

wysiwyg: |-

[[[foo]]]

[[[foo]]]: /url

06_07_00__inlines__links__065: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[ref\[]: /uri
06_07_00__inlines__links__066: canonical: |

bar\

static: |-

bar\

wysiwyg: |-
[bar\\]: /uri

bar\

06_07_00__inlines__links__067: canonical: |

[]

[]: /uri

static: |-

[]

[]: /uri

wysiwyg: |-

[]

[]: /uri

06_07_00__inlines__links__068: canonical: |

[ ]

[ ]: /uri

static: |-

[ ]

[ ]: /uri

wysiwyg: |-

[ ]

[ ]: /uri

06_07_00__inlines__links__069: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /url "title"
06_07_00__inlines__links__070: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

[*foo* bar]: /url "title"
06_07_00__inlines__links__071: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

[foo]: /url "title"
06_07_00__inlines__links__072: canonical: |

foo []

static: |-

foo []

wysiwyg: |-

foo []

[foo]: /url "title"
06_07_00__inlines__links__073: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /url "title"
06_07_00__inlines__links__074: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

[*foo* bar]: /url "title"
06_07_00__inlines__links__075: canonical: |

[foo bar]

static: |-

[foo bar]

wysiwyg: |-

[foo bar]

[*foo* bar]: /url "title"
06_07_00__inlines__links__076: canonical: |

[[bar foo

static: |-

[[bar foo

wysiwyg: |-

[[bar foo

[foo]: /url
06_07_00__inlines__links__077: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

[foo]: /url "title"
06_07_00__inlines__links__078: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

[foo]: /url
06_07_00__inlines__links__079: canonical: |

[foo]

static: |-

[foo]

wysiwyg: |-

[foo]

[foo]: /url "title"
06_07_00__inlines__links__080: canonical: |

*foo*

static: |-

*foo*

wysiwyg: |-
[foo*]: /url

*foo*

06_07_00__inlines__links__081: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /url1
[bar]: /url2
06_07_00__inlines__links__082: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /url1
06_07_00__inlines__links__083: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /url1
06_07_00__inlines__links__084: canonical: |

foo(not a link)

static: |-

foo(not a link)

wysiwyg: |-

foo(not a link)

[foo]: /url1
06_07_00__inlines__links__085: canonical: |

[foo]bar

static: |-

[foo]bar

wysiwyg: |-

[foo]bar

[baz]: /url
06_07_00__inlines__links__086: canonical: |

foobaz

static: |-

foobaz

wysiwyg: |-

foobaz

[baz]: /url1
[bar]: /url2
06_07_00__inlines__links__087: canonical: |

[foo]bar

static: |-

[foo]bar

wysiwyg: |-

[foo]bar

[baz]: /url1
[foo]: /url2
06_08_00__inlines__images__001: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_08_00__inlines__images__002: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

[foo *bar*]: train.jpg "train & tracks"
06_08_00__inlines__images__003: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_08_00__inlines__images__004: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

06_08_00__inlines__images__005: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

[foo *bar*]: train.jpg "train & tracks"
06_08_00__inlines__images__006: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

[foobar]: train.jpg "train & tracks"
06_08_00__inlines__images__007: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_08_00__inlines__images__008: canonical: |

My foo bar

static: |-

My foo bar

wysiwyg: |-

My foo bar

06_08_00__inlines__images__009: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_08_00__inlines__images__010: canonical: |

static: |-

wysiwyg: |-

06_08_00__inlines__images__011: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[bar]: /url
06_08_00__inlines__images__012: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[bar]: /url
06_08_00__inlines__images__013: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /url "title"
06_08_00__inlines__images__014: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

[*foo* bar]: /url "title"
06_08_00__inlines__images__015: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

[foo]: /url "title"
06_08_00__inlines__images__016: canonical: |

foo []

static: |-

foo []

wysiwyg: |-

foo []

[foo]: /url "title"
06_08_00__inlines__images__017: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

[foo]: /url "title"
06_08_00__inlines__images__018: canonical: |

foo bar

static: |-

foo bar

wysiwyg: |-

foo bar

[*foo* bar]: /url "title"
06_08_00__inlines__images__019: canonical: |

![[foo]]

[[foo]]: /url "title"

static: |-

![[foo]]

[[foo]]: /url "title"

wysiwyg: |-

![[foo]]

[[foo]]: /url "title"

06_08_00__inlines__images__020: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

[foo]: /url "title"
06_08_00__inlines__images__021: canonical: |

![foo]

static: |-

![foo]

wysiwyg: |-

![foo]

[foo]: /url "title"
06_08_00__inlines__images__022: canonical: |

!foo

static: |-

!foo

wysiwyg: |-

!foo

[foo]: /url "title"
06_09_00__inlines__autolinks__001: canonical: |

http://foo.bar.baz

static: |-

http://foo.bar.baz

wysiwyg: |-

http://foo.bar.baz

06_09_00__inlines__autolinks__002: canonical: |

http://foo.bar.baz/test?q=hello&id=22&boolean

static: |-

http://foo.bar.baz/test?q=hello&id=22&boolean

wysiwyg: |-

http://foo.bar.baz/test?q=hello&id=22&boolean

06_09_00__inlines__autolinks__003: canonical: |

irc://foo.bar:2233/baz

static: |-

irc://foo.bar:2233/baz

wysiwyg: |-

irc://foo.bar:2233/baz

06_09_00__inlines__autolinks__004: canonical: |

MAILTO:FOO@BAR.BAZ

static: |-

MAILTO:FOO@BAR.BAZ

wysiwyg: |-

MAILTO:FOO@BAR.BAZ

06_09_00__inlines__autolinks__005: canonical: |

a+b+c:d

static: |-

a+b+c:d

wysiwyg: |-

a+b+c:d

06_09_00__inlines__autolinks__006: canonical: |

made-up-scheme://foo,bar

static: |-

made-up-scheme://foo,bar

wysiwyg: |-

made-up-scheme://foo,bar

06_09_00__inlines__autolinks__007: canonical: |

http://../

static: |-

http://../

wysiwyg: |-

http://../

06_09_00__inlines__autolinks__008: canonical: |

localhost:5001/foo

static: |-

localhost:5001/foo

wysiwyg: |-

localhost:5001/foo

06_09_00__inlines__autolinks__009: canonical: |

<http://foo.bar/baz bim>

static: |-

<http://foo.bar/baz bim>

wysiwyg: |-

<http://foo.bar/baz bim>

06_09_00__inlines__autolinks__010: canonical: |

http://example.com/\[\

static: |-

http://example.com/\[\

wysiwyg: |-

http://example.com/\[\

06_09_00__inlines__autolinks__011: canonical: |

foo@bar.example.com

static: |-

foo@bar.example.com

wysiwyg: |-

foo@bar.example.com

06_09_00__inlines__autolinks__012: canonical: |

foo+special@Bar.baz-bar0.com

static: |-

foo+special@Bar.baz-bar0.com

wysiwyg: |-

foo+special@Bar.baz-bar0.com

06_09_00__inlines__autolinks__013: canonical: |

<foo+@bar.example.com>

static: |-

<foo+@bar.example.com>

wysiwyg: |-

<foo+@bar.example.com>

06_09_00__inlines__autolinks__014: canonical: |

<>

static: |-

<>

wysiwyg: |-

<>

06_09_00__inlines__autolinks__015: canonical: |

< http://foo.bar >

static: |-

< http://foo.bar >

wysiwyg: |-

< http://foo.bar >

06_09_00__inlines__autolinks__016: canonical: |

<m:abc>

static: |-

<m:abc>

wysiwyg: |-

<m:abc>

06_09_00__inlines__autolinks__017: canonical: |

<foo.bar.baz>

static: |-

<foo.bar.baz>

wysiwyg: |-

<foo.bar.baz>

06_09_00__inlines__autolinks__018: canonical: |

http://example.com

static: |-

http://example.com

wysiwyg: |-

http://example.com

06_09_00__inlines__autolinks__019: canonical: |

foo@bar.example.com

static: |-

foo@bar.example.com

wysiwyg: |-

foo@bar.example.com

06_10_00__inlines__autolinks_extension__001: canonical: |

www.commonmark.org

static: |-

www.commonmark.org

wysiwyg: |-

www.commonmark.org

06_10_00__inlines__autolinks_extension__002: canonical: |

Visit www.commonmark.org/help for more information.

static: |-

Visit www.commonmark.org/help for more information.

wysiwyg: |-

Visit www.commonmark.org/help for more information.

06_10_00__inlines__autolinks_extension__003: canonical: |

Visit www.commonmark.org.

Visit www.commonmark.org/a.b.

static: |-

Visit www.commonmark.org.

Visit www.commonmark.org/a.b.

wysiwyg: |-

Visit www.commonmark.org.

Visit www.commonmark.org/a.b.

06_10_00__inlines__autolinks_extension__004: canonical: |

www.google.com/search?q=Markup+(business)

www.google.com/search?q=Markup+(business)))

(www.google.com/search?q=Markup+(business))

(www.google.com/search?q=Markup+(business)

static: |-

www.google.com/search?q=Markup+(business)

www.google.com/search?q=Markup+(business)))

(www.google.com/search?q=Markup+(business))

(www.google.com/search?q=Markup+(business)

wysiwyg: |-

www.google.com/search?q=Markup+(business)

www.google.com/search?q=Markup+(business)))

(www.google.com/search?q=Markup+(business))

(www.google.com/search?q=Markup+(business)

06_10_00__inlines__autolinks_extension__005: canonical: |

www.google.com/search?q=(business))+ok

static: |-

www.google.com/search?q=(business))+ok

wysiwyg: |-

www.google.com/search?q=(business))+ok

06_10_00__inlines__autolinks_extension__006: canonical: |

www.google.com/search?q=commonmark&hl=en

www.google.com/search?q=commonmark&hl;

static: |-

www.google.com/search?q=commonmark&hl=en

www.google.com/search?q=commonmark&hl;

wysiwyg: |-

www.google.com/search?q=commonmark&hl=en

www.google.com/search?q=commonmark&hl;

06_10_00__inlines__autolinks_extension__007: canonical: |

www.commonmark.org/he<lp

static: |-

www.commonmark.org/he<lp

wysiwyg: |-

www.commonmark.org/he<lp

06_10_00__inlines__autolinks_extension__008: canonical: |

http://commonmark.org

(Visit https://encrypted.google.com/search?q=Markup+(business))

Anonymous FTP is available at ftp://foo.bar.baz.

static: |-

http://commonmark.org

(Visit https://encrypted.google.com/search?q=Markup+(business))

Anonymous FTP is available at ftp://foo.bar.baz.

wysiwyg: |-

http://commonmark.org

(Visit https://encrypted.google.com/search?q=Markup+(business))

Anonymous FTP is available at ftp://foo.bar.baz.

06_10_00__inlines__autolinks_extension__009: canonical: |

foo@bar.baz

static: |-

foo@bar.baz

wysiwyg: |-

foo@bar.baz

06_10_00__inlines__autolinks_extension__010: canonical: |

hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.

static: |-

hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.

wysiwyg: |-

hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.

06_10_00__inlines__autolinks_extension__011: canonical: |

a.b-c_d@a.b

a.b-c_d@a.b.

a.b-c_d@a.b-

a.b-c_d@a.b_

static: |-

a.b-c_d@a.b

a.b-c_d@a.b.

a.b-c_d@a.b-

a.b-c_d@a.b_

wysiwyg: |-

a.b-c_d@a.b

a.b-c_d@a.b.

a.b-c_d@a.b-

a.b-c_d@a.b_

06_11_00__inlines__raw_html__001: canonical: |

static: |-

wysiwyg: |-

06_11_00__inlines__raw_html__002: canonical: |

static: |-

wysiwyg: |-

06_11_00__inlines__raw_html__003: canonical: |

static: |-

wysiwyg: |-

06_11_00__inlines__raw_html__004: canonical: |

static: |-

wysiwyg: |-

06_11_00__inlines__raw_html__005: canonical: |

Foo

static: |-

Foo

wysiwyg: |-

Foo

06_11_00__inlines__raw_html__006: canonical: |

<33> <__>

static: |-

<33> <__>

wysiwyg: |-

<33> <__>

06_11_00__inlines__raw_html__007: canonical: |

<a h*#ref="hi">

static: |-

<a h*#ref="hi">

wysiwyg: |-

<a h*#ref="hi">

06_11_00__inlines__raw_html__008: canonical: |

<a href="hi'> <a href=hi'>

static: |-

<a href="hi'> <a href=hi'>

wysiwyg: |-

<a href="hi'> <a href=hi'>

06_11_00__inlines__raw_html__009: canonical: |

< a>< foo><bar/ > <foo bar=baz bim!bop />

static: |-

< a>< foo><bar/ > <foo bar=baz bim!bop />

wysiwyg: |-

< a>< foo><bar/ > <foo bar=baz bim!bop />

06_11_00__inlines__raw_html__010: canonical: |

<a href='bar'title=title>

static: |-

<a href='bar'title=title>

wysiwyg: |-

<a href='bar'title=title>

06_11_00__inlines__raw_html__011: canonical: |

static: |-

wysiwyg: |-

06_11_00__inlines__raw_html__012: canonical: |

</a href="foo">

static: |-

</a href="foo">

wysiwyg: |-

</a href="foo">

06_11_00__inlines__raw_html__013: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_11_00__inlines__raw_html__014: canonical: |

foo <!-- not a comment -- two hyphens -->

static: |-

foo <!-- not a comment -- two hyphens -->

wysiwyg: |-

foo <!-- not a comment -- two hyphens -->

06_11_00__inlines__raw_html__015: canonical: |

foo <!--> foo -->

foo <!-- foo--->

static: |-

foo <!--> foo -->

foo <!-- foo--->

wysiwyg: |-

foo <!--> foo -->

foo <!-- foo--->

06_11_00__inlines__raw_html__016: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_11_00__inlines__raw_html__017: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_11_00__inlines__raw_html__018: canonical: |

foo &<]]>

static: |-

foo &<]]>

wysiwyg: |-

foo &<]]>

06_11_00__inlines__raw_html__019: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_11_00__inlines__raw_html__020: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_11_00__inlines__raw_html__021: canonical: |

<a href=""">

static: |-

<a href=""">

wysiwyg: |-

<a href=""">

06_12_00__inlines__disallowed_raw_html_extension__001: canonical: |

<title> <style>

<xmp> is disallowed. <XMP> is also disallowed.
static: |-

<em></p> <blockquote> <xmp> is disallowed. <XMP> is also disallowed. </blockquote>

wysiwyg: |-

06_13_00__inlines__hard_line_breaks__001: canonical: |

foo
baz

static: |-

foo
baz

wysiwyg: |-

foo
baz

06_13_00__inlines__hard_line_breaks__002: canonical: |

foo
baz

static: |-

foo
baz

wysiwyg: |-

foo
baz

06_13_00__inlines__hard_line_breaks__003: canonical: |

foo
baz

static: |-

foo
baz

wysiwyg: |-

foo
baz

06_13_00__inlines__hard_line_breaks__004: canonical: |

foo
bar

static: |-

foo
bar

wysiwyg: |-

foo
bar

06_13_00__inlines__hard_line_breaks__005: canonical: |

foo
bar

static: |-

foo
bar

wysiwyg: |-

foo
bar

06_13_00__inlines__hard_line_breaks__006: canonical: |

foo
bar

static: |-

foo
bar

wysiwyg: |-

foo
bar

06_13_00__inlines__hard_line_breaks__007: canonical: |

foo
bar

static: |-

foo
bar

wysiwyg: |-

foo
bar

06_13_00__inlines__hard_line_breaks__008: canonical: |

code span

static: |-

code span

wysiwyg: |-

code span

06_13_00__inlines__hard_line_breaks__009: canonical: |

code\ span

static: |-

code\ span

wysiwyg: |-

code\ span

06_13_00__inlines__hard_line_breaks__010: canonical: "

\n" static: |-

wysiwyg: |-

06_13_00__inlines__hard_line_breaks__011: canonical: |

static: |-

wysiwyg: |-

06_13_00__inlines__hard_line_breaks__012: canonical: |

foo\

static: |-

foo\

wysiwyg: |-

foo\

06_13_00__inlines__hard_line_breaks__013: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_13_00__inlines__hard_line_breaks__014: canonical: |

foo\

static: |-

foo\

wysiwyg: |-

foo\

06_13_00__inlines__hard_line_breaks__015: canonical: |

foo

static: |-

foo

wysiwyg: |-

foo

06_14_00__inlines__soft_line_breaks__001: canonical: |

foo baz

static: |-

foo baz

wysiwyg: |-

foo baz

06_14_00__inlines__soft_line_breaks__002: canonical: |

foo baz

static: |-

foo baz

wysiwyg: |-

foo baz

06_15_00__inlines__textual_content__001: canonical: |

hello $.;'there

static: |-

hello $.;'there

wysiwyg: |-

hello $.;'there

06_15_00__inlines__textual_content__002: canonical: |

Foo χρῆν

static: |-

Foo χρῆν

wysiwyg: |-

Foo χρῆν

06_15_00__inlines__textual_content__003: canonical: |

Multiple spaces

static: |-

Multiple spaces

wysiwyg: |-

Multiple spaces

07_01_00__gitlab_official_specification_markdown__task_list_items__001: canonical: |
  • incomplete
static: |-
  • incomplete
wysiwyg: |-
  • incomplete

07_01_00__gitlab_official_specification_markdown__task_list_items__002: canonical: |
  • completed
static: |-
  • completed
wysiwyg: |-
  • completed

07_01_00__gitlab_official_specification_markdown__task_list_items__003: canonical: |
  • inapplicable
static: |-
  • inapplicable
07_01_00__gitlab_official_specification_markdown__task_list_items__004: canonical: |
  • inapplicable

    text in loose list

static: |-
  • inapplicable

    text in loose list

07_02_00__gitlab_official_specification_markdown__front_matter__001: canonical: |
    
    title: YAML front matter
    
    
static: |-
title: YAML front matter
wysiwyg: |-
title: YAML front matter
07_02_00__gitlab_official_specification_markdown__front_matter__002: canonical: |
    
    title: TOML front matter
    
    
static: |-
title: TOML front matter
wysiwyg: |-
title: TOML front matter
07_02_00__gitlab_official_specification_markdown__front_matter__003: canonical: |
    
    {
      "title": "JSON front matter"
    }
    
    
static: |-
{
      "title": "JSON front matter"
    }
wysiwyg: |-
{
      "title": "JSON front matter"
    }
07_02_00__gitlab_official_specification_markdown__front_matter__004: canonical: |

text


title: YAML front matter

static: |-

text


title: YAML front matter

wysiwyg: |-

text


title: YAML front matter

07_02_00__gitlab_official_specification_markdown__front_matter__005: canonical: |

title: YAML front matter

static: |-

title: YAML front matter

wysiwyg: |-

title: YAML front matter

07_03_00__gitlab_official_specification_markdown__table_of_contents__001: canonical: |

Heading 1

Heading 2

static: |-

Heading 1

Heading 2

wysiwyg: |-
Table of contents

Heading 1

Heading 2

07_03_00__gitlab_official_specification_markdown__table_of_contents__002: canonical: |

Heading 1

Heading 2

static: |-

Heading 1

Heading 2

wysiwyg: |-
Table of contents

Heading 1

Heading 2

07_03_00__gitlab_official_specification_markdown__table_of_contents__003: canonical: |

[[TOC]]text

text[TOC]

static: |-

[[TOC]] text

text [TOC]

wysiwyg: |-

[[TOC]] text

text [TOC]

07_03_00__gitlab_official_specification_markdown__table_of_contents__004: canonical: |

Heading 1

static: |-

Heading 1

wysiwyg: |-
Table of contents

Heading 1

08_01_00__gitlab_internal_extension_markdown__audio__001: canonical: |

static: |-

audio title

wysiwyg: |-

audio

08_01_00__gitlab_internal_extension_markdown__audio__002: canonical: |

static: |-

audio title

wysiwyg: |-
[audio]: audio.oga "audio title"

audio

08_02_00__gitlab_internal_extension_markdown__video__001: canonical: |

static: |-

video title

wysiwyg: |-

video

08_02_00__gitlab_internal_extension_markdown__video__002: canonical: |

static: |-

video title

wysiwyg: |-
[video]: video.mov "video title"

video

08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__001: canonical: |

groups-test-file

static: |-

groups-test-file

08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__002: canonical: |

projects-test-file

static: |-

projects-test-file

08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__003: canonical: |

This project snippet ID reference IS filtered: $88888

static: |-

This project snippet ID reference IS filtered: $88888

08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__004: canonical: |

This personal snippet ID reference is not filtered: $99999

static: |-

This personal snippet ID reference is not filtered: $99999

08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__005: canonical: |

project-wikis-test-file

static: |-

project-wikis-test-file

08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__006: canonical: |

group-wikis-test-file

static: |-

group-wikis-test-file

08_04_01__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_group__001: canonical: | TODO: Write canonical HTML for this example static: |-

test-file

wysiwyg: |-

test-file

08_04_02__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_project__001: canonical: | TODO: Write canonical HTML for this example static: |-

test-file

wysiwyg: |-

test-file

08_04_03__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_project_wiki__001: canonical: | TODO: Write canonical HTML for this example static: |-

test-file

wysiwyg: |-

test-file

08_04_04__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_group__001: canonical: | TODO: Write canonical HTML for this example static: |-

test-file

wysiwyg: |-

test-file

08_04_05__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_project__001: canonical: | TODO: Write canonical HTML for this example static: |-

test-file

wysiwyg: |-

test-file

08_04_06__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_project_wiki__001: canonical: | TODO: Write canonical HTML for this example static: |-

test-file

08_04_07__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_group_wiki__001: canonical: | TODO: Write canonical HTML for this example static: |-

test-file

wysiwyg: |-

test-file

08_04_08__gitlab_internal_extension_markdown__migrated_golden_master_examples__audio__001: canonical: | TODO: Write canonical HTML for this example static: |-

Sample Audio

wysiwyg: |-

Sample Audio

08_04_09__gitlab_internal_extension_markdown__migrated_golden_master_examples__audio_and_video_in_lists__001: canonical: | TODO: Write canonical HTML for this example static: |-
  1. Sample Video
  2. Sample Audio
wysiwyg: |-
  1. Sample Video

  2. Sample Audio

08_04_10__gitlab_internal_extension_markdown__migrated_golden_master_examples__blockquote__001: canonical: | TODO: Write canonical HTML for this example static: |-

This is a blockquote

This is another one

wysiwyg: |-

This is a blockquote

This is another one

08_04_11__gitlab_internal_extension_markdown__migrated_golden_master_examples__bold__001: canonical: | TODO: Write canonical HTML for this example static: |-

bold

wysiwyg: |-

bold

08_04_12__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_1__001: canonical: | TODO: Write canonical HTML for this example static: |-
  • list item 1
  • list item 2
    • embedded list item 3
wysiwyg: |-
  • list item 1

  • list item 2

    • embedded list item 3

08_04_13__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_2__001: canonical: | TODO: Write canonical HTML for this example static: |-
  • list item 1
  • list item 2
    • embedded list item 3
wysiwyg: |-
  • list item 1

  • list item 2

    • embedded list item 3

08_04_14__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_3__001: canonical: | TODO: Write canonical HTML for this example static: |-
  • list item 1
  • list item 2
    • embedded list item 3
wysiwyg: |-
  • list item 1

  • list item 2

    • embedded list item 3

08_04_15__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_javascript__001: canonical: | TODO: Write canonical HTML for this example static: |-
  console.log('hello world')
wysiwyg: |-
  console.log('hello world')
08_04_16__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_plaintext__001: canonical: | TODO: Write canonical HTML for this example static: |-
  plaintext
wysiwyg: |-
  plaintext
08_04_17__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_unknown__001: canonical: | TODO: Write canonical HTML for this example static: |-
  custom_language = >> this <<
wysiwyg: |-
  custom_language = >> this <<
08_04_18__gitlab_internal_extension_markdown__migrated_golden_master_examples__color_chips__001: canonical: | TODO: Write canonical HTML for this example static: |-
  • #F00
  • #F00A
  • #FF0000
  • #FF0000AA
  • RGB(0,255,0)
  • RGB(0%,100%,0%)
  • RGBA(0,255,0,0.3)
  • HSL(540,70%,50%)
  • HSLA(540,70%,50%,0.3)
wysiwyg: |-
  • #F00

  • #F00A

  • #FF0000

  • #FF0000AA

  • RGB(0,255,0)

  • RGB(0%,100%,0%)

  • RGBA(0,255,0,0.3)

  • HSL(540,70%,50%)

  • HSLA(540,70%,50%,0.3)

08_04_19__gitlab_internal_extension_markdown__migrated_golden_master_examples__description_list__001: canonical: | TODO: Write canonical HTML for this example static: |-
Frog
Wet green thing
Rabbit
Warm fluffy thing
Punt
Kick a ball
Take a bet
Color
Colour

Any hue except white or black

wysiwyg: |-

08_04_20__gitlab_internal_extension_markdown__migrated_golden_master_examples__details__001: canonical: | TODO: Write canonical HTML for this example static: |-
This is the visible summary of the collapsible section
  1. collapsed markdown
  2. more collapsed markdown
wysiwyg: |-

08_04_21__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_kroki_nomnoml__001: canonical: | TODO: Write canonical HTML for this example static: |-
  #stroke: #a86128
      [<frame>Decorator pattern|
        [<abstract>Component||+ operation()]
        [Client] depends --> [Component]
        [Decorator|- next: Component]
        [Decorator] decorates -- [ConcreteComponent]
        [Component] <:- [Decorator]
        [Component] <:- [ConcreteComponent]
      ]
wysiwyg: |-
  #stroke: #a86128
      [<frame>Decorator pattern|
        [<abstract>Component||+ operation()]
        [Client] depends --> [Component]
        [Decorator|- next: Component]
        [Decorator] decorates -- [ConcreteComponent]
        [Component] <:- [Decorator]
        [Component] <:- [ConcreteComponent]
      ]
08_04_22__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_plantuml__001: canonical: | TODO: Write canonical HTML for this example static: |-
  Alice -> Bob: Authentication Request
      Bob --> Alice: Authentication Response
    
      Alice -> Bob: Another authentication Request
      Alice <-- Bob: Another authentication Response
wysiwyg: |-
  Alice -> Bob: Authentication Request
      Bob --> Alice: Authentication Response

      Alice -> Bob: Another authentication Request
      Alice <-- Bob: Another authentication Response
08_04_23__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_plantuml_unicode__001: canonical: | TODO: Write canonical HTML for this example static: |-
A -> B : Text with norwegian characters: æøå
wysiwyg: |-
A -> B : Text with norwegian characters: æøå
08_04_24__gitlab_internal_extension_markdown__migrated_golden_master_examples__div__001: canonical: | TODO: Write canonical HTML for this example static: |-
plain text

just a plain ol' div, not much to expect!

wysiwyg: |-

plain text

just a plain ol' div, not much to expect!

08_04_25__gitlab_internal_extension_markdown__migrated_golden_master_examples__emoji__001: canonical: | TODO: Write canonical HTML for this example static: "

\U0001F4AF

" wysiwyg: |-

:sparkles: :heart: :100:

08_04_26__gitlab_internal_extension_markdown__migrated_golden_master_examples__emphasis__001: canonical: | TODO: Write canonical HTML for this example static: |-

emphasized text

wysiwyg: |-

emphasized text

08_04_27__gitlab_internal_extension_markdown__migrated_golden_master_examples__figure__001: canonical: | TODO: Write canonical HTML for this example static: |-

Elephant at sunset

An elephant at sunset

A crocodile wearing crocs

A crocodile wearing crocs!

wysiwyg: |-

08_04_28__gitlab_internal_extension_markdown__migrated_golden_master_examples__footnotes__001: canonical: | TODO: Write canonical HTML for this example static: |-

A footnote reference tag looks like this: 1

This reference tag is a mix of letters and numbers. 2

  1. This is the text inside a footnote.

  2. This is another footnote.

wysiwyg: |-

A footnote reference tag looks like this: 1

This reference tag is a mix of letters and numbers. footnote

This is the text inside a footnote.

This is another footnote.

08_04_29__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_json__001: canonical: | TODO: Write canonical HTML for this example static: |-
{
      "title": "Page title"
    }
wysiwyg: |-
{
      "title": "Page title"
    }
08_04_30__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_toml__001: canonical: | TODO: Write canonical HTML for this example static: |-
title = "Page title"
wysiwyg: |-
title = "Page title"
08_04_31__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_yaml__001: canonical: | TODO: Write canonical HTML for this example static: |-
title: Page title
wysiwyg: |-
title: Page title
08_04_32__gitlab_internal_extension_markdown__migrated_golden_master_examples__hard_break__001: canonical: | TODO: Write canonical HTML for this example static: |-

This is a line after a
hard break

wysiwyg: |-

This is a line after a
hard break

08_04_33__gitlab_internal_extension_markdown__migrated_golden_master_examples__headings__001: canonical: | TODO: Write canonical HTML for this example static: |-

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
wysiwyg: |-

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
08_04_34__gitlab_internal_extension_markdown__migrated_golden_master_examples__horizontal_rule__001: canonical: | TODO: Write canonical HTML for this example static: |-
wysiwyg: |-
08_04_35__gitlab_internal_extension_markdown__migrated_golden_master_examples__html_marks__001: canonical: | TODO: Write canonical HTML for this example static: "
    \n
  • Content editor is greatamazing.
  • \n
  • If the changes LGTM, please MWPS.
  • \n
  • The English song Oh I do like to be beside the seaside looks like this in Hebrew: אה, אני אוהב להיות ליד חוף הים. In the computer's memory, this is stored as אה, אני אוהב להיות ליד חוף הים.
  • \n
  • \nThe Scream by Edvard Munch. Painted in 1893.
  • \n
  • \nHTML is the standard markup language for creating web pages.
  • \n
  • Do not forget to buy milk today.
  • \n
  • This is a paragraph and smaller text goes here.
  • \n
  • The concert starts at and you'll be able to enjoy the band for at least .
  • \n
  • Press Ctrl + C to copy text (Windows).
  • \n
  • WWF's goal is to: Build a future where people live in harmony with nature. We hope they succeed.
  • \n
  • The error occurred was: Keyboard not found. Press F1 to continue.\n
  • \n
  • The area of a triangle is: 1/2 x b x h, where b is the base, and h is the vertical height.
  • \n
  • ㄏㄢˋ
  • \n
  • C7H16 + O2 \t CO2 + H2O
  • \n
  • The Pythagorean theorem is often expressed as a2 + b2 = c2\n
  • \n
" wysiwyg: "
  • Content editor isgreat

    .

  • If the changes

    , please

    .

  • The English song

    looks like this in Hebrew:

    . In the computer's memory, this is stored as

    .

  • by Edvard Munch. Painted in 1893.

  • is the standard markup language for creating web pages.

  • Do not forget to buy

    today.

  • This is a paragraph and

    .

  • The concert starts at

    and you'll be able to enjoy the band for at least

    .

  • Press

    +

    to copy text (Windows).

  • WWF's goal is to:

    We hope they succeed.

  • The error occurred was:

  • The area of a triangle is: 1/2 x

    x

    , where

    is the base, and

    is the vertical height.

  • C

    H

    + O

    \t CO

    + H

    O

  • ThePythagorean theorem is often expressed as

    +

    =

" 08_04_36__gitlab_internal_extension_markdown__migrated_golden_master_examples__image__001: canonical: | TODO: Write canonical HTML for this example static: |-

alt text

wysiwyg: |-

alt text

08_04_37__gitlab_internal_extension_markdown__migrated_golden_master_examples__inline_code__001: canonical: | TODO: Write canonical HTML for this example static: |-

code

wysiwyg: |-

code

08_04_38__gitlab_internal_extension_markdown__migrated_golden_master_examples__inline_diff__001: canonical: | TODO: Write canonical HTML for this example static: |-
  • deleted
  • added
wysiwyg: |-
  • {-deleted-}

  • {+added+}

08_04_39__gitlab_internal_extension_markdown__migrated_golden_master_examples__label__001: canonical: | TODO: Write canonical HTML for this example static: |-

~bug

wysiwyg: |-

~bug

08_04_40__gitlab_internal_extension_markdown__migrated_golden_master_examples__link__001: canonical: | TODO: Write canonical HTML for this example static: |-

GitLab

wysiwyg: |-

GitLab

08_04_41__gitlab_internal_extension_markdown__migrated_golden_master_examples__math__001: canonical: | TODO: Write canonical HTML for this example static: |-

This math is inline a^2+b^2=c^2.

This is on a separate line:

a^2+b^2=c^2
wysiwyg: |-

This math is inline $a^2+b^2=c^2$.

This is on a separate line:

a^2+b^2=c^2
08_04_42__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_list__001: canonical: | TODO: Write canonical HTML for this example static: |-
  1. list item 1
  2. list item 2
  3. list item 3
wysiwyg: |-
  1. list item 1

  2. list item 2

  3. list item 3

08_04_43__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_list_with_start_order__001: canonical: | TODO: Write canonical HTML for this example static: |-
  1. list item 1
  2. list item 2
  3. list item 3
wysiwyg: |-
  1. list item 1

  2. list item 2

  3. list item 3

08_04_44__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_task_list__001: canonical: | TODO: Write canonical HTML for this example static: |-
  1. hello
  2. world
  3. example
    1. of nested
      1. task list
      2. items
08_04_45__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_task_list_with_order__001: canonical: | TODO: Write canonical HTML for this example static: |-
  1. hello
  2. world
  3. example
wysiwyg: |-
  1. hello

  2. world

  3. example

08_04_46__gitlab_internal_extension_markdown__migrated_golden_master_examples__reference_for_project_wiki__001: canonical: | TODO: Write canonical HTML for this example static: |-

Hi @gfm_user - thank you for reporting this ~"UX bug" (#1) we hope to fix it in %1.1 as part of !1

wysiwyg: |-

Hi @gfm_user - thank you for reporting this ~"UX bug" (#1) we hope to fix it in %1.1 as part of !1

08_04_47__gitlab_internal_extension_markdown__migrated_golden_master_examples__strike__001: canonical: | TODO: Write canonical HTML for this example static: |-

del

wysiwyg: |-

del

08_04_48__gitlab_internal_extension_markdown__migrated_golden_master_examples__table__001: canonical: | TODO: Write canonical HTML for this example static: |-
header header
code cell with bold
strike cell with italic

content after table

wysiwyg: |-

header

header

code

cell with bold

strike

cell with italic

content after table

08_04_49__gitlab_internal_extension_markdown__migrated_golden_master_examples__table_of_contents__001: canonical: | TODO: Write canonical HTML for this example static: |-

Lorem

Well, that's just like... your opinion.. man.

Ipsum

Dolar

Sit amit

I don't know

wysiwyg: |-
Table of contents

Lorem

Well, that's just like... your opinion.. man.

Ipsum

Dolar

Sit amit

I don't know

08_04_50__gitlab_internal_extension_markdown__migrated_golden_master_examples__task_list__001: canonical: | TODO: Write canonical HTML for this example static: |-
  • hello
  • world
  • example
    • of nested
      • task list
      • items
08_04_51__gitlab_internal_extension_markdown__migrated_golden_master_examples__video__001: canonical: | TODO: Write canonical HTML for this example static: |-

Sample Video

wysiwyg: |-

Sample Video

08_04_52__gitlab_internal_extension_markdown__migrated_golden_master_examples__word_break__001: canonical: | TODO: Write canonical HTML for this example static: |-

Fernstraßenbauprivatfinanzierungsgesetz

wysiwyg: |-

Fernstraßenbauprivatfinanzierungsgesetz

08_05_00__gitlab_internal_extension_markdown__image_attributes__001: canonical: |

static: |-

08_05_00__gitlab_internal_extension_markdown__image_attributes__002: canonical: |

static: |-

08_05_00__gitlab_internal_extension_markdown__image_attributes__003: canonical: |

static: |-

08_05_00__gitlab_internal_extension_markdown__image_attributes__004: canonical: |

static: |-

08_05_00__gitlab_internal_extension_markdown__image_attributes__005: canonical: |

{width="100" height="100"}

static: |-

{width="100" height="100"}

08_06_00__gitlab_internal_extension_markdown__footnotes__001: canonical: |

footnote reference tag 1

  1. footnote text

static: |-

footnote reference tag 1

  1. footnote text

wysiwyg: |-

footnote reference tag fortytwo

footnote text

X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'none' Content-Type: text/plain; charset=UTF-8 Content-Length: 64488 Content-Disposition: inline; filename="markdown.yml" Last-Modified: Tue, 02 Jul 2024 14:21:09 GMT Expires: Tue, 02 Jul 2024 14:26:09 GMT ETag: "bb41e676002c25e33528a7f403d802e226389772" --- 02_01_00__preliminaries__tabs__001: "\tfoo\tbaz\t\tbim\n" 02_01_00__preliminaries__tabs__002: " \tfoo\tbaz\t\tbim\n" 02_01_00__preliminaries__tabs__003: " a\ta\n ὐ\ta\n" 02_01_00__preliminaries__tabs__004: " - foo\n\n\tbar\n" 02_01_00__preliminaries__tabs__005: "- foo\n\n\t\tbar\n" 02_01_00__preliminaries__tabs__006: ">\t\tfoo\n" 02_01_00__preliminaries__tabs__007: "-\t\tfoo\n" 02_01_00__preliminaries__tabs__008: " foo\n\tbar\n" 02_01_00__preliminaries__tabs__009: " - foo\n - bar\n\t - baz\n" 02_01_00__preliminaries__tabs__010: "#\tFoo\n" 02_01_00__preliminaries__tabs__011: "*\t*\t*\t\n" 03_01_00__blocks_and_inlines__precedence__001: | - `one - two` 04_01_00__leaf_blocks__thematic_breaks__001: | *** --- ___ 04_01_00__leaf_blocks__thematic_breaks__002: | +++ 04_01_00__leaf_blocks__thematic_breaks__003: | === 04_01_00__leaf_blocks__thematic_breaks__004: | -- ** __ 04_01_00__leaf_blocks__thematic_breaks__005: |2 *** *** *** 04_01_00__leaf_blocks__thematic_breaks__006: |2 *** 04_01_00__leaf_blocks__thematic_breaks__007: | Foo *** 04_01_00__leaf_blocks__thematic_breaks__008: | _____________________________________ 04_01_00__leaf_blocks__thematic_breaks__009: |2 - - - 04_01_00__leaf_blocks__thematic_breaks__010: |2 ** * ** * ** * ** 04_01_00__leaf_blocks__thematic_breaks__011: | - - - - 04_01_00__leaf_blocks__thematic_breaks__012: "- - - - \n" 04_01_00__leaf_blocks__thematic_breaks__013: | _ _ _ _ a a------ ---a--- 04_01_00__leaf_blocks__thematic_breaks__014: |2 *-* 04_01_00__leaf_blocks__thematic_breaks__015: | - foo *** - bar 04_01_00__leaf_blocks__thematic_breaks__016: | Foo *** bar 04_01_00__leaf_blocks__thematic_breaks__017: | Foo --- bar 04_01_00__leaf_blocks__thematic_breaks__018: | * Foo * * * * Bar 04_01_00__leaf_blocks__thematic_breaks__019: | - Foo - * * * 04_02_00__leaf_blocks__atx_headings__001: | # foo ## foo ### foo #### foo ##### foo ###### foo 04_02_00__leaf_blocks__atx_headings__002: | ####### foo 04_02_00__leaf_blocks__atx_headings__003: | #5 bolt #hashtag 04_02_00__leaf_blocks__atx_headings__004: | \## foo 04_02_00__leaf_blocks__atx_headings__005: | # foo *bar* \*baz\* 04_02_00__leaf_blocks__atx_headings__006: "# foo \n" 04_02_00__leaf_blocks__atx_headings__007: |2 ### foo ## foo # foo 04_02_00__leaf_blocks__atx_headings__008: |2 # foo 04_02_00__leaf_blocks__atx_headings__009: | foo # bar 04_02_00__leaf_blocks__atx_headings__010: | ## foo ## ### bar ### 04_02_00__leaf_blocks__atx_headings__011: | # foo ################################## ##### foo ## 04_02_00__leaf_blocks__atx_headings__012: "### foo ### \n" 04_02_00__leaf_blocks__atx_headings__013: | ### foo ### b 04_02_00__leaf_blocks__atx_headings__014: | # foo# 04_02_00__leaf_blocks__atx_headings__015: | ### foo \### ## foo #\## # foo \# 04_02_00__leaf_blocks__atx_headings__016: | **** ## foo **** 04_02_00__leaf_blocks__atx_headings__017: | Foo bar # baz Bar foo 04_02_00__leaf_blocks__atx_headings__018: "## \n#\n### ###\n" 04_03_00__leaf_blocks__setext_headings__001: | Foo *bar* ========= Foo *bar* --------- 04_03_00__leaf_blocks__setext_headings__002: | Foo *bar baz* ==== 04_03_00__leaf_blocks__setext_headings__003: " Foo *bar\nbaz*\t\n====\n" 04_03_00__leaf_blocks__setext_headings__004: | Foo ------------------------- Foo = 04_03_00__leaf_blocks__setext_headings__005: |2 Foo --- Foo ----- Foo === 04_03_00__leaf_blocks__setext_headings__006: |2 Foo --- Foo --- 04_03_00__leaf_blocks__setext_headings__007: "Foo\n ---- \n" 04_03_00__leaf_blocks__setext_headings__008: | Foo --- 04_03_00__leaf_blocks__setext_headings__009: | Foo = = Foo --- - 04_03_00__leaf_blocks__setext_headings__010: "Foo \n-----\n" 04_03_00__leaf_blocks__setext_headings__011: | Foo\ ---- 04_03_00__leaf_blocks__setext_headings__012: | `Foo ---- ` 04_03_00__leaf_blocks__setext_headings__013: | > Foo --- 04_03_00__leaf_blocks__setext_headings__014: | > foo bar === 04_03_00__leaf_blocks__setext_headings__015: | - Foo --- 04_03_00__leaf_blocks__setext_headings__016: | Foo Bar --- 04_03_00__leaf_blocks__setext_headings__017: | --- Foo --- Bar --- Baz 04_03_00__leaf_blocks__setext_headings__018: |2 ==== 04_03_00__leaf_blocks__setext_headings__019: | --- --- 04_03_00__leaf_blocks__setext_headings__020: | - foo ----- 04_03_00__leaf_blocks__setext_headings__021: |2 foo --- 04_03_00__leaf_blocks__setext_headings__022: | > foo ----- 04_03_00__leaf_blocks__setext_headings__023: | \> foo ------ 04_03_00__leaf_blocks__setext_headings__024: | Foo bar --- baz 04_03_00__leaf_blocks__setext_headings__025: | Foo bar --- baz 04_03_00__leaf_blocks__setext_headings__026: | Foo bar * * * baz 04_03_00__leaf_blocks__setext_headings__027: | Foo bar \--- baz 04_04_00__leaf_blocks__indented_code_blocks__001: |2 a simple indented code block 04_04_00__leaf_blocks__indented_code_blocks__002: |2 - foo bar 04_04_00__leaf_blocks__indented_code_blocks__003: | 1. foo - bar 04_04_00__leaf_blocks__indented_code_blocks__004: |2 *hi* - one 04_04_00__leaf_blocks__indented_code_blocks__005: " chunk1\n\n chunk2\n \n \n \n chunk3\n" 04_04_00__leaf_blocks__indented_code_blocks__006: " chunk1\n \n chunk2\n" 04_04_00__leaf_blocks__indented_code_blocks__007: |+ Foo bar 04_04_00__leaf_blocks__indented_code_blocks__008: |2 foo bar 04_04_00__leaf_blocks__indented_code_blocks__009: | # Heading foo Heading ------ foo ---- 04_04_00__leaf_blocks__indented_code_blocks__010: |2 foo bar 04_04_00__leaf_blocks__indented_code_blocks__011: "\n \n foo\n \n\n" 04_04_00__leaf_blocks__indented_code_blocks__012: " foo \n" 04_05_00__leaf_blocks__fenced_code_blocks__001: | ``` < > ``` 04_05_00__leaf_blocks__fenced_code_blocks__002: | ~~~ < > ~~~ 04_05_00__leaf_blocks__fenced_code_blocks__003: | `` foo `` 04_05_00__leaf_blocks__fenced_code_blocks__004: | ``` aaa ~~~ ``` 04_05_00__leaf_blocks__fenced_code_blocks__005: | ~~~ aaa ``` ~~~ 04_05_00__leaf_blocks__fenced_code_blocks__006: | ```` aaa ``` `````` 04_05_00__leaf_blocks__fenced_code_blocks__007: | ~~~~ aaa ~~~ ~~~~ 04_05_00__leaf_blocks__fenced_code_blocks__008: | ``` 04_05_00__leaf_blocks__fenced_code_blocks__009: | ````` ``` aaa 04_05_00__leaf_blocks__fenced_code_blocks__010: | > ``` > aaa bbb 04_05_00__leaf_blocks__fenced_code_blocks__011: "```\n\n \n```\n" 04_05_00__leaf_blocks__fenced_code_blocks__012: | ``` ``` 04_05_00__leaf_blocks__fenced_code_blocks__013: |2 ``` aaa aaa ``` 04_05_00__leaf_blocks__fenced_code_blocks__014: |2 ``` aaa aaa aaa ``` 04_05_00__leaf_blocks__fenced_code_blocks__015: |2 ``` aaa aaa aaa ``` 04_05_00__leaf_blocks__fenced_code_blocks__016: |2 ``` aaa ``` 04_05_00__leaf_blocks__fenced_code_blocks__017: | ``` aaa ``` 04_05_00__leaf_blocks__fenced_code_blocks__018: |2 ``` aaa ``` 04_05_00__leaf_blocks__fenced_code_blocks__019: | ``` aaa ``` 04_05_00__leaf_blocks__fenced_code_blocks__020: | ``` ``` aaa 04_05_00__leaf_blocks__fenced_code_blocks__021: | ~~~~~~ aaa ~~~ ~~ 04_05_00__leaf_blocks__fenced_code_blocks__022: | foo ``` bar ``` baz 04_05_00__leaf_blocks__fenced_code_blocks__023: | foo --- ~~~ bar ~~~ # baz 04_05_00__leaf_blocks__fenced_code_blocks__024: | ```ruby def foo(x) return 3 end ``` 04_05_00__leaf_blocks__fenced_code_blocks__025: | ~~~~ ruby startline=3 $%@#$ def foo(x) return 3 end ~~~~~~~ 04_05_00__leaf_blocks__fenced_code_blocks__026: | ````; ```` 04_05_00__leaf_blocks__fenced_code_blocks__027: | ``` aa ``` foo 04_05_00__leaf_blocks__fenced_code_blocks__028: | ~~~ aa ``` ~~~ foo ~~~ 04_05_00__leaf_blocks__fenced_code_blocks__029: | ``` ``` aaa ``` 04_06_00__leaf_blocks__html_blocks__001: |
  **Hello**,

  _world_.
  
04_06_00__leaf_blocks__html_blocks__002: |
hi
okay. 04_06_00__leaf_blocks__html_blocks__003: |2
*foo* 04_06_00__leaf_blocks__html_blocks__005: |
*Markdown*
04_06_00__leaf_blocks__html_blocks__006: |
04_06_00__leaf_blocks__html_blocks__007: |
04_06_00__leaf_blocks__html_blocks__008: |
*foo* *bar* 04_06_00__leaf_blocks__html_blocks__009: | 04_06_00__leaf_blocks__html_blocks__013: |
foo
04_06_00__leaf_blocks__html_blocks__014: |
``` c int x = 33; ``` 04_06_00__leaf_blocks__html_blocks__015: | *bar* 04_06_00__leaf_blocks__html_blocks__016: | *bar* 04_06_00__leaf_blocks__html_blocks__017: | *bar* 04_06_00__leaf_blocks__html_blocks__018: | *bar* 04_06_00__leaf_blocks__html_blocks__019: | *foo* 04_06_00__leaf_blocks__html_blocks__020: | *foo* 04_06_00__leaf_blocks__html_blocks__021: | *foo* 04_06_00__leaf_blocks__html_blocks__022: |

  import Text.HTML.TagSoup

  main :: IO ()
  main = print $ parseTags tags
  
okay 04_06_00__leaf_blocks__html_blocks__023: | okay 04_06_00__leaf_blocks__html_blocks__024: | okay 04_06_00__leaf_blocks__html_blocks__025: | *foo* 04_06_00__leaf_blocks__html_blocks__029: | *bar* *baz* 04_06_00__leaf_blocks__html_blocks__030: | 1. *bar* 04_06_00__leaf_blocks__html_blocks__031: | okay 04_06_00__leaf_blocks__html_blocks__032: | '; ?> okay 04_06_00__leaf_blocks__html_blocks__033: | 04_06_00__leaf_blocks__html_blocks__034: | okay 04_06_00__leaf_blocks__html_blocks__035: |2 04_06_00__leaf_blocks__html_blocks__036: |2
04_06_00__leaf_blocks__html_blocks__037: | Foo
bar
04_06_00__leaf_blocks__html_blocks__038: |
bar
*foo* 04_06_00__leaf_blocks__html_blocks__039: | Foo baz 04_06_00__leaf_blocks__html_blocks__040: |
*Emphasized* text.
04_06_00__leaf_blocks__html_blocks__041: |
*Emphasized* text.
04_06_00__leaf_blocks__html_blocks__042: |
Hi
04_06_00__leaf_blocks__html_blocks__043: |
Hi
04_07_00__leaf_blocks__link_reference_definitions__001: | [foo]: /url "title" [foo] 04_07_00__leaf_blocks__link_reference_definitions__002: " [foo]: \n /url \n \ 'the title' \n\n[foo]\n" 04_07_00__leaf_blocks__link_reference_definitions__003: | [Foo*bar\]]:my_(url) 'title (with parens)' [Foo*bar\]] 04_07_00__leaf_blocks__link_reference_definitions__004: | [Foo bar]: 'title' [Foo bar] 04_07_00__leaf_blocks__link_reference_definitions__005: | [foo]: /url ' title line1 line2 ' [foo] 04_07_00__leaf_blocks__link_reference_definitions__006: | [foo]: /url 'title with blank line' [foo] 04_07_00__leaf_blocks__link_reference_definitions__007: | [foo]: /url [foo] 04_07_00__leaf_blocks__link_reference_definitions__008: | [foo]: [foo] 04_07_00__leaf_blocks__link_reference_definitions__009: | [foo]: <> [foo] 04_07_00__leaf_blocks__link_reference_definitions__010: | [foo]: (baz) [foo] 04_07_00__leaf_blocks__link_reference_definitions__011: | [foo]: /url\bar\*baz "foo\"bar\baz" [foo] 04_07_00__leaf_blocks__link_reference_definitions__012: | [foo] [foo]: url 04_07_00__leaf_blocks__link_reference_definitions__013: | [foo] [foo]: first [foo]: second 04_07_00__leaf_blocks__link_reference_definitions__014: | [FOO]: /url [Foo] 04_07_00__leaf_blocks__link_reference_definitions__015: | [ΑΓΩ]: /φου [αγω] 04_07_00__leaf_blocks__link_reference_definitions__016: | [foo]: /url 04_07_00__leaf_blocks__link_reference_definitions__017: | [ foo ]: /url bar 04_07_00__leaf_blocks__link_reference_definitions__018: | [foo]: /url "title" ok 04_07_00__leaf_blocks__link_reference_definitions__019: | [foo]: /url "title" ok 04_07_00__leaf_blocks__link_reference_definitions__020: |2 [foo]: /url "title" [foo] 04_07_00__leaf_blocks__link_reference_definitions__021: | ``` [foo]: /url ``` [foo] 04_07_00__leaf_blocks__link_reference_definitions__022: | Foo [bar]: /baz [bar] 04_07_00__leaf_blocks__link_reference_definitions__023: | # [Foo] [foo]: /url > bar 04_07_00__leaf_blocks__link_reference_definitions__024: | [foo]: /url bar === [foo] 04_07_00__leaf_blocks__link_reference_definitions__025: | [foo]: /url === [foo] 04_07_00__leaf_blocks__link_reference_definitions__026: | [foo]: /foo-url "foo" [bar]: /bar-url "bar" [baz]: /baz-url [foo], [bar], [baz] 04_07_00__leaf_blocks__link_reference_definitions__027: | [foo] > [foo]: /url 04_07_00__leaf_blocks__link_reference_definitions__028: | [foo]: /url 04_08_00__leaf_blocks__paragraphs__001: | aaa bbb 04_08_00__leaf_blocks__paragraphs__002: | aaa bbb ccc ddd 04_08_00__leaf_blocks__paragraphs__003: | aaa bbb 04_08_00__leaf_blocks__paragraphs__004: |2 aaa bbb 04_08_00__leaf_blocks__paragraphs__005: | aaa bbb ccc 04_08_00__leaf_blocks__paragraphs__006: |2 aaa bbb 04_08_00__leaf_blocks__paragraphs__007: |2 aaa bbb 04_08_00__leaf_blocks__paragraphs__008: "aaa \nbbb \n" 04_09_00__leaf_blocks__blank_lines__001: " \n\naaa\n \n\n# aaa\n\n \n" 04_10_00__leaf_blocks__tables_extension__001: | | foo | bar | | --- | --- | | baz | bim | 04_10_00__leaf_blocks__tables_extension__002: | | abc | defghi | :-: | -----------: bar | baz 04_10_00__leaf_blocks__tables_extension__003: | | f\|oo | | ------ | | b `\|` az | | b **\|** im | 04_10_00__leaf_blocks__tables_extension__004: | | abc | def | | --- | --- | | bar | baz | > bar 04_10_00__leaf_blocks__tables_extension__005: | | abc | def | | --- | --- | | bar | baz | bar bar 04_10_00__leaf_blocks__tables_extension__006: | | abc | def | | --- | | bar | 04_10_00__leaf_blocks__tables_extension__007: | | abc | def | | --- | --- | | bar | | bar | baz | boo | 04_10_00__leaf_blocks__tables_extension__008: | | abc | def | | --- | --- | 05_01_00__container_blocks__block_quotes__001: | > # Foo > bar > baz 05_01_00__container_blocks__block_quotes__002: | ># Foo >bar > baz 05_01_00__container_blocks__block_quotes__003: |2 > # Foo > bar > baz 05_01_00__container_blocks__block_quotes__004: |2 > # Foo > bar > baz 05_01_00__container_blocks__block_quotes__005: | > # Foo > bar baz 05_01_00__container_blocks__block_quotes__006: | > bar baz > foo 05_01_00__container_blocks__block_quotes__007: | > foo --- 05_01_00__container_blocks__block_quotes__008: | > - foo - bar 05_01_00__container_blocks__block_quotes__009: | > foo bar 05_01_00__container_blocks__block_quotes__010: | > ``` foo ``` 05_01_00__container_blocks__block_quotes__011: | > foo - bar 05_01_00__container_blocks__block_quotes__012: | > 05_01_00__container_blocks__block_quotes__013: ">\n> \n> \n" 05_01_00__container_blocks__block_quotes__014: ">\n> foo\n> \n" 05_01_00__container_blocks__block_quotes__015: | > foo > bar 05_01_00__container_blocks__block_quotes__016: | > foo > bar 05_01_00__container_blocks__block_quotes__017: | > foo > > bar 05_01_00__container_blocks__block_quotes__018: | foo > bar 05_01_00__container_blocks__block_quotes__019: | > aaa *** > bbb 05_01_00__container_blocks__block_quotes__020: | > bar baz 05_01_00__container_blocks__block_quotes__021: | > bar baz 05_01_00__container_blocks__block_quotes__022: | > bar > baz 05_01_00__container_blocks__block_quotes__023: | > > > foo bar 05_01_00__container_blocks__block_quotes__024: | >>> foo > bar >>baz 05_01_00__container_blocks__block_quotes__025: | > code > not code 05_02_00__container_blocks__list_items__001: | A paragraph with two lines. indented code > A block quote. 05_02_00__container_blocks__list_items__002: | 1. A paragraph with two lines. indented code > A block quote. 05_02_00__container_blocks__list_items__003: | - one two 05_02_00__container_blocks__list_items__004: | - one two 05_02_00__container_blocks__list_items__005: |2 - one two 05_02_00__container_blocks__list_items__006: |2 - one two 05_02_00__container_blocks__list_items__007: |2 > > 1. one >> >> two 05_02_00__container_blocks__list_items__008: | >>- one >> > > two 05_02_00__container_blocks__list_items__009: | -one 2.two 05_02_00__container_blocks__list_items__010: | - foo bar 05_02_00__container_blocks__list_items__011: | 1. foo ``` bar ``` baz > bam 05_02_00__container_blocks__list_items__012: | - Foo bar baz 05_02_00__container_blocks__list_items__013: | 123456789. ok 05_02_00__container_blocks__list_items__014: | 1234567890. not ok 05_02_00__container_blocks__list_items__015: | 0. ok 05_02_00__container_blocks__list_items__016: | 003. ok 05_02_00__container_blocks__list_items__017: | -1. not ok 05_02_00__container_blocks__list_items__018: | - foo bar 05_02_00__container_blocks__list_items__019: |2 10. foo bar 05_02_00__container_blocks__list_items__020: |2 indented code paragraph more code 05_02_00__container_blocks__list_items__021: | 1. indented code paragraph more code 05_02_00__container_blocks__list_items__022: | 1. indented code paragraph more code 05_02_00__container_blocks__list_items__023: |2 foo bar 05_02_00__container_blocks__list_items__024: | - foo bar 05_02_00__container_blocks__list_items__025: | - foo bar 05_02_00__container_blocks__list_items__026: | - foo - ``` bar ``` - baz 05_02_00__container_blocks__list_items__027: "- \n foo\n" 05_02_00__container_blocks__list_items__028: | - foo 05_02_00__container_blocks__list_items__029: | - foo - - bar 05_02_00__container_blocks__list_items__030: "- foo\n- \n- bar\n" 05_02_00__container_blocks__list_items__031: | 1. foo 2. 3. bar 05_02_00__container_blocks__list_items__032: | * 05_02_00__container_blocks__list_items__033: | foo * foo 1. 05_02_00__container_blocks__list_items__034: |2 1. A paragraph with two lines. indented code > A block quote. 05_02_00__container_blocks__list_items__035: |2 1. A paragraph with two lines. indented code > A block quote. 05_02_00__container_blocks__list_items__036: |2 1. A paragraph with two lines. indented code > A block quote. 05_02_00__container_blocks__list_items__037: |2 1. A paragraph with two lines. indented code > A block quote. 05_02_00__container_blocks__list_items__038: |2 1. A paragraph with two lines. indented code > A block quote. 05_02_00__container_blocks__list_items__039: |2 1. A paragraph with two lines. 05_02_00__container_blocks__list_items__040: | > 1. > Blockquote continued here. 05_02_00__container_blocks__list_items__041: | > 1. > Blockquote > continued here. 05_02_00__container_blocks__list_items__042: | - foo - bar - baz - boo 05_02_00__container_blocks__list_items__043: | - foo - bar - baz - boo 05_02_00__container_blocks__list_items__044: | 10) foo - bar 05_02_00__container_blocks__list_items__045: | 10) foo - bar 05_02_00__container_blocks__list_items__046: | - - foo 05_02_00__container_blocks__list_items__047: | 1. - 2. foo 05_02_00__container_blocks__list_items__048: | - # Foo - Bar --- baz 05_04_00__container_blocks__lists__001: | - foo - bar + baz 05_04_00__container_blocks__lists__002: | 1. foo 2. bar 3) baz 05_04_00__container_blocks__lists__003: | Foo - bar - baz 05_04_00__container_blocks__lists__004: | The number of windows in my house is 14. The number of doors is 6. 05_04_00__container_blocks__lists__005: | The number of windows in my house is 1. The number of doors is 6. 05_04_00__container_blocks__lists__006: | - foo - bar - baz 05_04_00__container_blocks__lists__007: | - foo - bar - baz bim 05_04_00__container_blocks__lists__008: | - foo - bar - baz - bim 05_04_00__container_blocks__lists__009: | - foo notcode - foo code 05_04_00__container_blocks__lists__010: | - a - b - c - d - e - f - g 05_04_00__container_blocks__lists__011: | 1. a 2. b 3. c 05_04_00__container_blocks__lists__012: | - a - b - c - d - e 05_04_00__container_blocks__lists__013: | 1. a 2. b 3. c 05_04_00__container_blocks__lists__014: | - a - b - c 05_04_00__container_blocks__lists__015: | * a * * c 05_04_00__container_blocks__lists__016: | - a - b c - d 05_04_00__container_blocks__lists__017: | - a - b [ref]: /url - d 05_04_00__container_blocks__lists__018: | - a - ``` b ``` - c 05_04_00__container_blocks__lists__019: | - a - b c - d 05_04_00__container_blocks__lists__020: | * a > b > * c 05_04_00__container_blocks__lists__021: | - a > b ``` c ``` - d 05_04_00__container_blocks__lists__022: | - a 05_04_00__container_blocks__lists__023: | - a - b 05_04_00__container_blocks__lists__024: | 1. ``` foo ``` bar 05_04_00__container_blocks__lists__025: | * foo * bar baz 05_04_00__container_blocks__lists__026: | - a - b - c - d - e - f 06_01_00__inlines__001: | `hi`lo` 06_02_00__inlines__backslash_escapes__001: | \!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~ 06_02_00__inlines__backslash_escapes__002: "\\\t\\A\\a\\ \\3\\φ\\«\n" 06_02_00__inlines__backslash_escapes__003: | \*not emphasized* \
not a tag \[not a link](/foo) \`not code` 1\. not a list \* not a list \# not a heading \[foo]: /url "not a reference" \ö not a character entity 06_02_00__inlines__backslash_escapes__004: | \\*emphasis* 06_02_00__inlines__backslash_escapes__005: | foo\ bar 06_02_00__inlines__backslash_escapes__006: | `` \[\` `` 06_02_00__inlines__backslash_escapes__007: |2 \[\] 06_02_00__inlines__backslash_escapes__008: | ~~~ \[\] ~~~ 06_02_00__inlines__backslash_escapes__009: | 06_02_00__inlines__backslash_escapes__010: |
06_02_00__inlines__backslash_escapes__011: | [foo](/bar\* "ti\*tle") 06_02_00__inlines__backslash_escapes__012: | [foo] [foo]: /bar\* "ti\*tle" 06_02_00__inlines__backslash_escapes__013: | ``` foo\+bar foo ``` 06_03_00__inlines__entity_and_numeric_character_references__001: |   & © Æ Ď ¾ ℋ ⅆ ∲ ≧̸ 06_03_00__inlines__entity_and_numeric_character_references__002: | # Ӓ Ϡ � 06_03_00__inlines__entity_and_numeric_character_references__003: | " ആ ಫ 06_03_00__inlines__entity_and_numeric_character_references__004: |   &x; &#; &#x; � &#abcdef0; &ThisIsNotDefined; &hi?; 06_03_00__inlines__entity_and_numeric_character_references__005: | © 06_03_00__inlines__entity_and_numeric_character_references__006: | &MadeUpEntity; 06_03_00__inlines__entity_and_numeric_character_references__007: | 06_03_00__inlines__entity_and_numeric_character_references__008: | [foo](/föö "föö") 06_03_00__inlines__entity_and_numeric_character_references__009: | [foo] [foo]: /föö "föö" 06_03_00__inlines__entity_and_numeric_character_references__010: | ``` föö foo ``` 06_03_00__inlines__entity_and_numeric_character_references__011: | `föö` 06_03_00__inlines__entity_and_numeric_character_references__012: |2 föfö 06_03_00__inlines__entity_and_numeric_character_references__013: | *foo* *foo* 06_03_00__inlines__entity_and_numeric_character_references__014: | * foo * foo 06_03_00__inlines__entity_and_numeric_character_references__015: | foo bar 06_03_00__inlines__entity_and_numeric_character_references__016: | foo 06_03_00__inlines__entity_and_numeric_character_references__017: | [a](url "tit") 06_04_00__inlines__code_spans__001: | `foo` 06_04_00__inlines__code_spans__002: | `` foo ` bar `` 06_04_00__inlines__code_spans__003: | ` `` ` 06_04_00__inlines__code_spans__004: | ` `` ` 06_04_00__inlines__code_spans__005: | ` a` 06_04_00__inlines__code_spans__006: | ` b ` 06_04_00__inlines__code_spans__007: | ` ` ` ` 06_04_00__inlines__code_spans__008: "``\nfoo\nbar \nbaz\n``\n" 06_04_00__inlines__code_spans__009: "``\nfoo \n``\n" 06_04_00__inlines__code_spans__010: "`foo bar \nbaz`\n" 06_04_00__inlines__code_spans__011: | `foo\`bar` 06_04_00__inlines__code_spans__012: | ``foo`bar`` 06_04_00__inlines__code_spans__013: | ` foo `` bar ` 06_04_00__inlines__code_spans__014: | *foo`*` 06_04_00__inlines__code_spans__015: | [not a `link](/foo`) 06_04_00__inlines__code_spans__016: | `` 06_04_00__inlines__code_spans__017: | ` 06_04_00__inlines__code_spans__018: | `` 06_04_00__inlines__code_spans__019: | ` 06_04_00__inlines__code_spans__020: | ```foo`` 06_04_00__inlines__code_spans__021: | `foo 06_04_00__inlines__code_spans__022: | `foo``bar`` 06_05_00__inlines__emphasis_and_strong_emphasis__001: | *foo bar* 06_05_00__inlines__emphasis_and_strong_emphasis__002: | a * foo bar* 06_05_00__inlines__emphasis_and_strong_emphasis__003: | a*"foo"* 06_05_00__inlines__emphasis_and_strong_emphasis__004: | * a * 06_05_00__inlines__emphasis_and_strong_emphasis__005: | foo*bar* 06_05_00__inlines__emphasis_and_strong_emphasis__006: | 5*6*78 06_05_00__inlines__emphasis_and_strong_emphasis__007: | _foo bar_ 06_05_00__inlines__emphasis_and_strong_emphasis__008: | _ foo bar_ 06_05_00__inlines__emphasis_and_strong_emphasis__009: | a_"foo"_ 06_05_00__inlines__emphasis_and_strong_emphasis__010: | foo_bar_ 06_05_00__inlines__emphasis_and_strong_emphasis__011: | 5_6_78 06_05_00__inlines__emphasis_and_strong_emphasis__012: | пристаням_стремятся_ 06_05_00__inlines__emphasis_and_strong_emphasis__013: | aa_"bb"_cc 06_05_00__inlines__emphasis_and_strong_emphasis__014: | foo-_(bar)_ 06_05_00__inlines__emphasis_and_strong_emphasis__015: | _foo* 06_05_00__inlines__emphasis_and_strong_emphasis__016: | *foo bar * 06_05_00__inlines__emphasis_and_strong_emphasis__017: | *foo bar * 06_05_00__inlines__emphasis_and_strong_emphasis__018: | *(*foo) 06_05_00__inlines__emphasis_and_strong_emphasis__019: | *(*foo*)* 06_05_00__inlines__emphasis_and_strong_emphasis__020: | *foo*bar 06_05_00__inlines__emphasis_and_strong_emphasis__021: | _foo bar _ 06_05_00__inlines__emphasis_and_strong_emphasis__022: | _(_foo) 06_05_00__inlines__emphasis_and_strong_emphasis__023: | _(_foo_)_ 06_05_00__inlines__emphasis_and_strong_emphasis__024: | _foo_bar 06_05_00__inlines__emphasis_and_strong_emphasis__025: | _пристаням_стремятся 06_05_00__inlines__emphasis_and_strong_emphasis__026: | _foo_bar_baz_ 06_05_00__inlines__emphasis_and_strong_emphasis__027: | _(bar)_. 06_05_00__inlines__emphasis_and_strong_emphasis__028: | **foo bar** 06_05_00__inlines__emphasis_and_strong_emphasis__029: | ** foo bar** 06_05_00__inlines__emphasis_and_strong_emphasis__030: | a**"foo"** 06_05_00__inlines__emphasis_and_strong_emphasis__031: | foo**bar** 06_05_00__inlines__emphasis_and_strong_emphasis__032: | __foo bar__ 06_05_00__inlines__emphasis_and_strong_emphasis__033: | __ foo bar__ 06_05_00__inlines__emphasis_and_strong_emphasis__034: | __ foo bar__ 06_05_00__inlines__emphasis_and_strong_emphasis__035: | a__"foo"__ 06_05_00__inlines__emphasis_and_strong_emphasis__036: | foo__bar__ 06_05_00__inlines__emphasis_and_strong_emphasis__037: | 5__6__78 06_05_00__inlines__emphasis_and_strong_emphasis__038: | пристаням__стремятся__ 06_05_00__inlines__emphasis_and_strong_emphasis__039: | __foo, __bar__, baz__ 06_05_00__inlines__emphasis_and_strong_emphasis__040: | foo-__(bar)__ 06_05_00__inlines__emphasis_and_strong_emphasis__041: | **foo bar ** 06_05_00__inlines__emphasis_and_strong_emphasis__042: | **(**foo) 06_05_00__inlines__emphasis_and_strong_emphasis__043: | *(**foo**)* 06_05_00__inlines__emphasis_and_strong_emphasis__044: | **Gomphocarpus (*Gomphocarpus physocarpus*, syn. *Asclepias physocarpa*)** 06_05_00__inlines__emphasis_and_strong_emphasis__045: | **foo "*bar*" foo** 06_05_00__inlines__emphasis_and_strong_emphasis__046: | **foo**bar 06_05_00__inlines__emphasis_and_strong_emphasis__047: | __foo bar __ 06_05_00__inlines__emphasis_and_strong_emphasis__048: | __(__foo) 06_05_00__inlines__emphasis_and_strong_emphasis__049: | _(__foo__)_ 06_05_00__inlines__emphasis_and_strong_emphasis__050: | __foo__bar 06_05_00__inlines__emphasis_and_strong_emphasis__051: | __пристаням__стремятся 06_05_00__inlines__emphasis_and_strong_emphasis__052: | __foo__bar__baz__ 06_05_00__inlines__emphasis_and_strong_emphasis__053: | __(bar)__. 06_05_00__inlines__emphasis_and_strong_emphasis__054: | *foo [bar](/url)* 06_05_00__inlines__emphasis_and_strong_emphasis__055: | *foo bar* 06_05_00__inlines__emphasis_and_strong_emphasis__056: | _foo __bar__ baz_ 06_05_00__inlines__emphasis_and_strong_emphasis__057: | _foo _bar_ baz_ 06_05_00__inlines__emphasis_and_strong_emphasis__058: | __foo_ bar_ 06_05_00__inlines__emphasis_and_strong_emphasis__059: | *foo *bar** 06_05_00__inlines__emphasis_and_strong_emphasis__060: | *foo **bar** baz* 06_05_00__inlines__emphasis_and_strong_emphasis__061: | *foo**bar**baz* 06_05_00__inlines__emphasis_and_strong_emphasis__062: | *foo**bar* 06_05_00__inlines__emphasis_and_strong_emphasis__063: | ***foo** bar* 06_05_00__inlines__emphasis_and_strong_emphasis__064: | *foo **bar*** 06_05_00__inlines__emphasis_and_strong_emphasis__065: | *foo**bar*** 06_05_00__inlines__emphasis_and_strong_emphasis__066: | foo***bar***baz 06_05_00__inlines__emphasis_and_strong_emphasis__067: | foo******bar*********baz 06_05_00__inlines__emphasis_and_strong_emphasis__068: | *foo **bar *baz* bim** bop* 06_05_00__inlines__emphasis_and_strong_emphasis__069: | *foo [*bar*](/url)* 06_05_00__inlines__emphasis_and_strong_emphasis__070: | ** is not an empty emphasis 06_05_00__inlines__emphasis_and_strong_emphasis__071: | **** is not an empty strong emphasis 06_05_00__inlines__emphasis_and_strong_emphasis__072: | **foo [bar](/url)** 06_05_00__inlines__emphasis_and_strong_emphasis__073: | **foo bar** 06_05_00__inlines__emphasis_and_strong_emphasis__074: | __foo _bar_ baz__ 06_05_00__inlines__emphasis_and_strong_emphasis__075: | __foo __bar__ baz__ 06_05_00__inlines__emphasis_and_strong_emphasis__076: | ____foo__ bar__ 06_05_00__inlines__emphasis_and_strong_emphasis__077: | **foo **bar**** 06_05_00__inlines__emphasis_and_strong_emphasis__078: | **foo *bar* baz** 06_05_00__inlines__emphasis_and_strong_emphasis__079: | **foo*bar*baz** 06_05_00__inlines__emphasis_and_strong_emphasis__080: | ***foo* bar** 06_05_00__inlines__emphasis_and_strong_emphasis__081: | **foo *bar*** 06_05_00__inlines__emphasis_and_strong_emphasis__082: | **foo *bar **baz** bim* bop** 06_05_00__inlines__emphasis_and_strong_emphasis__083: | **foo [*bar*](/url)** 06_05_00__inlines__emphasis_and_strong_emphasis__084: | __ is not an empty emphasis 06_05_00__inlines__emphasis_and_strong_emphasis__085: | ____ is not an empty strong emphasis 06_05_00__inlines__emphasis_and_strong_emphasis__086: | foo *** 06_05_00__inlines__emphasis_and_strong_emphasis__087: | foo *\** 06_05_00__inlines__emphasis_and_strong_emphasis__088: | foo *_* 06_05_00__inlines__emphasis_and_strong_emphasis__089: | foo ***** 06_05_00__inlines__emphasis_and_strong_emphasis__090: | foo **\*** 06_05_00__inlines__emphasis_and_strong_emphasis__091: | foo **_** 06_05_00__inlines__emphasis_and_strong_emphasis__092: | **foo* 06_05_00__inlines__emphasis_and_strong_emphasis__093: | *foo** 06_05_00__inlines__emphasis_and_strong_emphasis__094: | ***foo** 06_05_00__inlines__emphasis_and_strong_emphasis__095: | ****foo* 06_05_00__inlines__emphasis_and_strong_emphasis__096: | **foo*** 06_05_00__inlines__emphasis_and_strong_emphasis__097: | *foo**** 06_05_00__inlines__emphasis_and_strong_emphasis__098: | foo ___ 06_05_00__inlines__emphasis_and_strong_emphasis__099: | foo _\__ 06_05_00__inlines__emphasis_and_strong_emphasis__100: | foo _*_ 06_05_00__inlines__emphasis_and_strong_emphasis__101: | foo _____ 06_05_00__inlines__emphasis_and_strong_emphasis__102: | foo __\___ 06_05_00__inlines__emphasis_and_strong_emphasis__103: | foo __*__ 06_05_00__inlines__emphasis_and_strong_emphasis__104: | __foo_ 06_05_00__inlines__emphasis_and_strong_emphasis__105: | _foo__ 06_05_00__inlines__emphasis_and_strong_emphasis__106: | ___foo__ 06_05_00__inlines__emphasis_and_strong_emphasis__107: | ____foo_ 06_05_00__inlines__emphasis_and_strong_emphasis__108: | __foo___ 06_05_00__inlines__emphasis_and_strong_emphasis__109: | _foo____ 06_05_00__inlines__emphasis_and_strong_emphasis__110: | **foo** 06_05_00__inlines__emphasis_and_strong_emphasis__111: | *_foo_* 06_05_00__inlines__emphasis_and_strong_emphasis__112: | __foo__ 06_05_00__inlines__emphasis_and_strong_emphasis__113: | _*foo*_ 06_05_00__inlines__emphasis_and_strong_emphasis__114: | ****foo**** 06_05_00__inlines__emphasis_and_strong_emphasis__115: | ____foo____ 06_05_00__inlines__emphasis_and_strong_emphasis__116: | ******foo****** 06_05_00__inlines__emphasis_and_strong_emphasis__117: | ***foo*** 06_05_00__inlines__emphasis_and_strong_emphasis__118: | _____foo_____ 06_05_00__inlines__emphasis_and_strong_emphasis__119: | *foo _bar* baz_ 06_05_00__inlines__emphasis_and_strong_emphasis__120: | *foo __bar *baz bim__ bam* 06_05_00__inlines__emphasis_and_strong_emphasis__121: | **foo **bar baz** 06_05_00__inlines__emphasis_and_strong_emphasis__122: | *foo *bar baz* 06_05_00__inlines__emphasis_and_strong_emphasis__123: | *[bar*](/url) 06_05_00__inlines__emphasis_and_strong_emphasis__124: | _foo [bar_](/url) 06_05_00__inlines__emphasis_and_strong_emphasis__125: | * 06_05_00__inlines__emphasis_and_strong_emphasis__126: | ** 06_05_00__inlines__emphasis_and_strong_emphasis__127: | __ 06_05_00__inlines__emphasis_and_strong_emphasis__128: | *a `*`* 06_05_00__inlines__emphasis_and_strong_emphasis__129: | _a `_`_ 06_05_00__inlines__emphasis_and_strong_emphasis__130: | **a 06_05_00__inlines__emphasis_and_strong_emphasis__131: | __a 06_06_00__inlines__strikethrough_extension__001: | ~~Hi~~ Hello, world! 06_06_00__inlines__strikethrough_extension__002: | This ~~has a new paragraph~~. 06_07_00__inlines__links__001: | [link](/uri "title") 06_07_00__inlines__links__002: | [link](/uri) 06_07_00__inlines__links__003: | [link]() 06_07_00__inlines__links__004: | [link](<>) 06_07_00__inlines__links__005: | [link](/my uri) 06_07_00__inlines__links__006: | [link]() 06_07_00__inlines__links__007: | [link](foo bar) 06_07_00__inlines__links__008: | [link]() 06_07_00__inlines__links__009: | [a]() 06_07_00__inlines__links__010: | [link]() 06_07_00__inlines__links__011: | [a]( [a](c) 06_07_00__inlines__links__012: | [link](\(foo\)) 06_07_00__inlines__links__013: | [link](foo(and(bar))) 06_07_00__inlines__links__014: | [link](foo\(and\(bar\)) 06_07_00__inlines__links__015: | [link]() 06_07_00__inlines__links__016: | [link](foo\)\:) 06_07_00__inlines__links__017: | [link](#fragment) [link](http://example.com#fragment) [link](http://example.com?foo=3#frag) 06_07_00__inlines__links__018: | [link](foo\bar) 06_07_00__inlines__links__019: | [link](foo%20bä) 06_07_00__inlines__links__020: | [link]("title") 06_07_00__inlines__links__021: | [link](/url "title") [link](/url 'title') [link](/url (title)) 06_07_00__inlines__links__022: | [link](/url "title \""") 06_07_00__inlines__links__023: | [link](/url "title") 06_07_00__inlines__links__024: | [link](/url "title "and" title") 06_07_00__inlines__links__025: | [link](/url 'title "and" title') 06_07_00__inlines__links__026: | [link]( /uri "title" ) 06_07_00__inlines__links__027: | [link] (/uri) 06_07_00__inlines__links__028: | [link [foo [bar]]](/uri) 06_07_00__inlines__links__029: | [link] bar](/uri) 06_07_00__inlines__links__030: | [link [bar](/uri) 06_07_00__inlines__links__031: | [link \[bar](/uri) 06_07_00__inlines__links__032: | [link *foo **bar** `#`*](/uri) 06_07_00__inlines__links__033: | [![moon](moon.jpg)](/uri) 06_07_00__inlines__links__034: | [foo [bar](/uri)](/uri) 06_07_00__inlines__links__035: | [foo *[bar [baz](/uri)](/uri)*](/uri) 06_07_00__inlines__links__036: | ![[[foo](uri1)](uri2)](uri3) 06_07_00__inlines__links__037: | *[foo*](/uri) 06_07_00__inlines__links__038: | [foo *bar](baz*) 06_07_00__inlines__links__039: | *foo [bar* baz] 06_07_00__inlines__links__040: | [foo 06_07_00__inlines__links__041: | [foo`](/uri)` 06_07_00__inlines__links__042: | [foo 06_07_00__inlines__links__043: | [foo][bar] [bar]: /url "title" 06_07_00__inlines__links__044: | [link [foo [bar]]][ref] [ref]: /uri 06_07_00__inlines__links__045: | [link \[bar][ref] [ref]: /uri 06_07_00__inlines__links__046: | [link *foo **bar** `#`*][ref] [ref]: /uri 06_07_00__inlines__links__047: | [![moon](moon.jpg)][ref] [ref]: /uri 06_07_00__inlines__links__048: | [foo [bar](/uri)][ref] [ref]: /uri 06_07_00__inlines__links__049: | [foo *bar [baz][ref]*][ref] [ref]: /uri 06_07_00__inlines__links__050: | *[foo*][ref] [ref]: /uri 06_07_00__inlines__links__051: | [foo *bar][ref] [ref]: /uri 06_07_00__inlines__links__052: | [foo [ref]: /uri 06_07_00__inlines__links__053: | [foo`][ref]` [ref]: /uri 06_07_00__inlines__links__054: | [foo [ref]: /uri 06_07_00__inlines__links__055: | [foo][BaR] [bar]: /url "title" 06_07_00__inlines__links__056: | [Толпой][Толпой] is a Russian word. [ТОЛПОЙ]: /url 06_07_00__inlines__links__057: | [Foo bar]: /url [Baz][Foo bar] 06_07_00__inlines__links__058: | [foo] [bar] [bar]: /url "title" 06_07_00__inlines__links__059: | [foo] [bar] [bar]: /url "title" 06_07_00__inlines__links__060: | [foo]: /url1 [foo]: /url2 [bar][foo] 06_07_00__inlines__links__061: | [bar][foo\!] [foo!]: /url 06_07_00__inlines__links__062: | [foo][ref[] [ref[]: /uri 06_07_00__inlines__links__063: | [foo][ref[bar]] [ref[bar]]: /uri 06_07_00__inlines__links__064: | [[[foo]]] [[[foo]]]: /url 06_07_00__inlines__links__065: | [foo][ref\[] [ref\[]: /uri 06_07_00__inlines__links__066: | [bar\\]: /uri [bar\\] 06_07_00__inlines__links__067: | [] []: /uri 06_07_00__inlines__links__068: | [ ] [ ]: /uri 06_07_00__inlines__links__069: | [foo][] [foo]: /url "title" 06_07_00__inlines__links__070: | [*foo* bar][] [*foo* bar]: /url "title" 06_07_00__inlines__links__071: | [Foo][] [foo]: /url "title" 06_07_00__inlines__links__072: "[foo] \n[]\n\n[foo]: /url \"title\"\n" 06_07_00__inlines__links__073: | [foo] [foo]: /url "title" 06_07_00__inlines__links__074: | [*foo* bar] [*foo* bar]: /url "title" 06_07_00__inlines__links__075: | [[*foo* bar]] [*foo* bar]: /url "title" 06_07_00__inlines__links__076: | [[bar [foo] [foo]: /url 06_07_00__inlines__links__077: | [Foo] [foo]: /url "title" 06_07_00__inlines__links__078: | [foo] bar [foo]: /url 06_07_00__inlines__links__079: | \[foo] [foo]: /url "title" 06_07_00__inlines__links__080: | [foo*]: /url *[foo*] 06_07_00__inlines__links__081: | [foo][bar] [foo]: /url1 [bar]: /url2 06_07_00__inlines__links__082: | [foo][] [foo]: /url1 06_07_00__inlines__links__083: | [foo]() [foo]: /url1 06_07_00__inlines__links__084: | [foo](not a link) [foo]: /url1 06_07_00__inlines__links__085: | [foo][bar][baz] [baz]: /url 06_07_00__inlines__links__086: | [foo][bar][baz] [baz]: /url1 [bar]: /url2 06_07_00__inlines__links__087: | [foo][bar][baz] [baz]: /url1 [foo]: /url2 06_08_00__inlines__images__001: | ![foo](/url "title") 06_08_00__inlines__images__002: | ![foo *bar*] [foo *bar*]: train.jpg "train & tracks" 06_08_00__inlines__images__003: | ![foo ![bar](/url)](/url2) 06_08_00__inlines__images__004: | ![foo [bar](/url)](/url2) 06_08_00__inlines__images__005: | ![foo *bar*][] [foo *bar*]: train.jpg "train & tracks" 06_08_00__inlines__images__006: | ![foo *bar*][foobar] [FOOBAR]: train.jpg "train & tracks" 06_08_00__inlines__images__007: | ![foo](train.jpg) 06_08_00__inlines__images__008: | My ![foo bar](/path/to/train.jpg "title" ) 06_08_00__inlines__images__009: | ![foo]() 06_08_00__inlines__images__010: | ![](/url) 06_08_00__inlines__images__011: | ![foo][bar] [bar]: /url 06_08_00__inlines__images__012: | ![foo][bar] [BAR]: /url 06_08_00__inlines__images__013: | ![foo][] [foo]: /url "title" 06_08_00__inlines__images__014: | ![*foo* bar][] [*foo* bar]: /url "title" 06_08_00__inlines__images__015: | ![Foo][] [foo]: /url "title" 06_08_00__inlines__images__016: "![foo] \n[]\n\n[foo]: /url \"title\"\n" 06_08_00__inlines__images__017: | ![foo] [foo]: /url "title" 06_08_00__inlines__images__018: | ![*foo* bar] [*foo* bar]: /url "title" 06_08_00__inlines__images__019: | ![[foo]] [[foo]]: /url "title" 06_08_00__inlines__images__020: | ![Foo] [foo]: /url "title" 06_08_00__inlines__images__021: | !\[foo] [foo]: /url "title" 06_08_00__inlines__images__022: | \![foo] [foo]: /url "title" 06_09_00__inlines__autolinks__001: | 06_09_00__inlines__autolinks__002: | 06_09_00__inlines__autolinks__003: | 06_09_00__inlines__autolinks__004: | 06_09_00__inlines__autolinks__005: | 06_09_00__inlines__autolinks__006: | 06_09_00__inlines__autolinks__007: | 06_09_00__inlines__autolinks__008: | 06_09_00__inlines__autolinks__009: | 06_09_00__inlines__autolinks__010: | 06_09_00__inlines__autolinks__011: | 06_09_00__inlines__autolinks__012: | 06_09_00__inlines__autolinks__013: | 06_09_00__inlines__autolinks__014: | <> 06_09_00__inlines__autolinks__015: | < http://foo.bar > 06_09_00__inlines__autolinks__016: | 06_09_00__inlines__autolinks__017: | 06_09_00__inlines__autolinks__018: | http://example.com 06_09_00__inlines__autolinks__019: | foo@bar.example.com 06_10_00__inlines__autolinks_extension__001: | www.commonmark.org 06_10_00__inlines__autolinks_extension__002: | Visit www.commonmark.org/help for more information. 06_10_00__inlines__autolinks_extension__003: | Visit www.commonmark.org. Visit www.commonmark.org/a.b. 06_10_00__inlines__autolinks_extension__004: | www.google.com/search?q=Markup+(business) www.google.com/search?q=Markup+(business))) (www.google.com/search?q=Markup+(business)) (www.google.com/search?q=Markup+(business) 06_10_00__inlines__autolinks_extension__005: | www.google.com/search?q=(business))+ok 06_10_00__inlines__autolinks_extension__006: | www.google.com/search?q=commonmark&hl=en www.google.com/search?q=commonmark&hl; 06_10_00__inlines__autolinks_extension__007: | www.commonmark.org/he 06_11_00__inlines__raw_html__002: | 06_11_00__inlines__raw_html__003: | 06_11_00__inlines__raw_html__004: | 06_11_00__inlines__raw_html__005: | Foo 06_11_00__inlines__raw_html__006: | <33> <__> 06_11_00__inlines__raw_html__007: | 06_11_00__inlines__raw_html__008: | 06_11_00__inlines__raw_html__013: | foo 06_11_00__inlines__raw_html__014: | foo 06_11_00__inlines__raw_html__015: | foo foo --> foo 06_11_00__inlines__raw_html__016: | foo 06_11_00__inlines__raw_html__017: | foo 06_11_00__inlines__raw_html__018: | foo &<]]> 06_11_00__inlines__raw_html__019: | foo 06_11_00__inlines__raw_html__020: | foo 06_11_00__inlines__raw_html__021: | 06_12_00__inlines__disallowed_raw_html_extension__001: | <style> <em> <blockquote> <xmp> is disallowed. <XMP> is also disallowed. </blockquote> 06_13_00__inlines__hard_line_breaks__001: "foo \nbaz\n" 06_13_00__inlines__hard_line_breaks__002: | foo\ baz 06_13_00__inlines__hard_line_breaks__003: "foo \nbaz\n" 06_13_00__inlines__hard_line_breaks__004: "foo \n bar\n" 06_13_00__inlines__hard_line_breaks__005: | foo\ bar 06_13_00__inlines__hard_line_breaks__006: "*foo \nbar*\n" 06_13_00__inlines__hard_line_breaks__007: | *foo\ bar* 06_13_00__inlines__hard_line_breaks__008: "`code \nspan`\n" 06_13_00__inlines__hard_line_breaks__009: | `code\ span` 06_13_00__inlines__hard_line_breaks__010: "<a href=\"foo \nbar\">\n" 06_13_00__inlines__hard_line_breaks__011: | <a href="foo\ bar"> 06_13_00__inlines__hard_line_breaks__012: | foo\ 06_13_00__inlines__hard_line_breaks__013: "foo \n" 06_13_00__inlines__hard_line_breaks__014: | ### foo\ 06_13_00__inlines__hard_line_breaks__015: "### foo \n" 06_14_00__inlines__soft_line_breaks__001: | foo baz 06_14_00__inlines__soft_line_breaks__002: "foo \n baz\n" 06_15_00__inlines__textual_content__001: | hello $.;'there 06_15_00__inlines__textual_content__002: | Foo χρῆν 06_15_00__inlines__textual_content__003: | Multiple spaces 07_01_00__gitlab_official_specification_markdown__task_list_items__001: | - [ ] incomplete 07_01_00__gitlab_official_specification_markdown__task_list_items__002: | - [x] completed 07_01_00__gitlab_official_specification_markdown__task_list_items__003: | - [~] inapplicable 07_01_00__gitlab_official_specification_markdown__task_list_items__004: | - [~] inapplicable text in loose list 07_02_00__gitlab_official_specification_markdown__front_matter__001: | --- title: YAML front matter --- 07_02_00__gitlab_official_specification_markdown__front_matter__002: | +++ title: TOML front matter +++ 07_02_00__gitlab_official_specification_markdown__front_matter__003: | ;;; { "title": "JSON front matter" } ;;; 07_02_00__gitlab_official_specification_markdown__front_matter__004: | text --- title: YAML front matter --- 07_02_00__gitlab_official_specification_markdown__front_matter__005: |2 --- title: YAML front matter --- 07_03_00__gitlab_official_specification_markdown__table_of_contents__001: | [TOC] # Heading 1 ## Heading 2 07_03_00__gitlab_official_specification_markdown__table_of_contents__002: | [[_TOC_]] # Heading 1 ## Heading 2 07_03_00__gitlab_official_specification_markdown__table_of_contents__003: | [[_TOC_]] text text [TOC] 07_03_00__gitlab_official_specification_markdown__table_of_contents__004: |2 [[_TOC_]] # Heading 1 08_01_00__gitlab_internal_extension_markdown__audio__001: | ![audio](audio.oga "audio title") 08_01_00__gitlab_internal_extension_markdown__audio__002: | [audio]: audio.oga "audio title" ![audio][audio] 08_02_00__gitlab_internal_extension_markdown__video__001: | ![video](video.m4v "video title") 08_02_00__gitlab_internal_extension_markdown__video__002: | [video]: video.mov "video title" ![video][video] 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__001: | [groups-test-file](/uploads/groups-test-file) 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__002: | [projects-test-file](projects-test-file) 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__003: | This project snippet ID reference IS filtered: $88888 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__004: | This personal snippet ID reference is not filtered: $99999 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__005: | [project-wikis-test-file](project-wikis-test-file) 08_03_00__gitlab_internal_extension_markdown__markdown_preview_api_request_overrides__006: | [group-wikis-test-file](group-wikis-test-file) 08_04_01__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_group__001: | ![test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png) 08_04_02__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_project__001: | ![test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png) 08_04_03__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_project_wiki__001: | ![test-file](test-file.png) 08_04_04__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_group__001: | [test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip) 08_04_05__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_project__001: | [test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip) 08_04_06__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_project_wiki__001: | [test-file](test-file.zip) 08_04_07__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_group_wiki__001: | [test-file](test-file.zip) 08_04_08__gitlab_internal_extension_markdown__migrated_golden_master_examples__audio__001: | ![Sample Audio](https://gitlab.com/gitlab.mp3) 08_04_09__gitlab_internal_extension_markdown__migrated_golden_master_examples__audio_and_video_in_lists__001: | * ![Sample Audio](https://gitlab.com/1.mp3) * ![Sample Video](https://gitlab.com/2.mp4) 1. ![Sample Video](https://gitlab.com/1.mp4) 2. ![Sample Audio](https://gitlab.com/2.mp3) * [x] ![Sample Audio](https://gitlab.com/1.mp3) * [x] ![Sample Audio](https://gitlab.com/2.mp3) * [x] ![Sample Video](https://gitlab.com/3.mp4) 08_04_10__gitlab_internal_extension_markdown__migrated_golden_master_examples__blockquote__001: | > This is a blockquote > > This is another one 08_04_11__gitlab_internal_extension_markdown__migrated_golden_master_examples__bold__001: | **bold** 08_04_12__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_1__001: | * list item 1 * list item 2 * embedded list item 3 08_04_13__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_2__001: | - list item 1 - list item 2 * embedded list item 3 08_04_14__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_3__001: | + list item 1 + list item 2 - embedded list item 3 08_04_15__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_javascript__001: | ```javascript console.log('hello world') ``` 08_04_16__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_plaintext__001: | ``` plaintext ``` 08_04_17__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_unknown__001: | ```foobar custom_language = >> this << ``` 08_04_18__gitlab_internal_extension_markdown__migrated_golden_master_examples__color_chips__001: | - `#F00` - `#F00A` - `#FF0000` - `#FF0000AA` - `RGB(0,255,0)` - `RGB(0%,100%,0%)` - `RGBA(0,255,0,0.3)` - `HSL(540,70%,50%)` - `HSLA(540,70%,50%,0.3)` 08_04_19__gitlab_internal_extension_markdown__migrated_golden_master_examples__description_list__001: | <dl> <dt>Frog</dt> <dd>Wet green thing</dd> <dt>Rabbit</dt> <dd>Warm fluffy thing</dd> <dt>Punt</dt> <dd>Kick a ball</dd> <dd>Take a bet</dd> <dt>Color</dt> <dt>Colour</dt> <dd> Any hue except _white_ or **black** </dd> </dl> 08_04_20__gitlab_internal_extension_markdown__migrated_golden_master_examples__details__001: | <details> <summary>This is the visible summary of the collapsible section</summary> 1. collapsed markdown 2. more collapsed markdown </details> 08_04_21__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_kroki_nomnoml__001: | ```nomnoml #stroke: #a86128 [<frame>Decorator pattern| [<abstract>Component||+ operation()] [Client] depends --> [Component] [Decorator|- next: Component] [Decorator] decorates -- [ConcreteComponent] [Component] <:- [Decorator] [Component] <:- [ConcreteComponent] ] ``` 08_04_22__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_plantuml__001: | ```plantuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: Another authentication Response ``` 08_04_23__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_plantuml_unicode__001: | ```plantuml A -> B : Text with norwegian characters: æøå ``` 08_04_24__gitlab_internal_extension_markdown__migrated_golden_master_examples__div__001: | <div>plain text</div> <div> just a plain ol' div, not much to _expect_! </div> 08_04_25__gitlab_internal_extension_markdown__migrated_golden_master_examples__emoji__001: | :sparkles: :heart: :100: 08_04_26__gitlab_internal_extension_markdown__migrated_golden_master_examples__emphasis__001: | _emphasized text_ 08_04_27__gitlab_internal_extension_markdown__migrated_golden_master_examples__figure__001: | <figure> ![Elephant at sunset](elephant-sunset.jpg) <figcaption>An elephant at sunset</figcaption> </figure> <figure> ![A crocodile wearing crocs](croc-crocs.jpg) <figcaption> A crocodile wearing _crocs_! </figcaption> </figure> 08_04_28__gitlab_internal_extension_markdown__migrated_golden_master_examples__footnotes__001: | A footnote reference tag looks like this: [^1] This reference tag is a mix of letters and numbers. [^footnote] [^1]: This is the text inside a footnote. [^footnote]: This is another footnote. 08_04_29__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_json__001: | ;;; { "title": "Page title" } ;;; 08_04_30__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_toml__001: | +++ title = "Page title" +++ 08_04_31__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_yaml__001: | --- title: Page title --- 08_04_32__gitlab_internal_extension_markdown__migrated_golden_master_examples__hard_break__001: | This is a line after a\ hard break 08_04_33__gitlab_internal_extension_markdown__migrated_golden_master_examples__headings__001: | # Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6 08_04_34__gitlab_internal_extension_markdown__migrated_golden_master_examples__horizontal_rule__001: | --- 08_04_35__gitlab_internal_extension_markdown__migrated_golden_master_examples__html_marks__001: "* Content editor is ~~great~~<ins>amazing</ins>.\n* If the changes <abbr title=\"Looks good to merge\">LGTM</abbr>, please <abbr title=\"Merge when pipeline succeeds\">MWPS</abbr>.\n* The English song <q>Oh I do like to be beside the seaside</q> looks like this in Hebrew: <span dir=\"rtl\">אה, אני אוהב להיות ליד חוף הים</span>. In the computer's memory, this is stored as <bdo dir=\"ltr\">אה, אני אוהב להיות ליד חוף הים</bdo>.\n* <cite>The Scream</cite> by Edvard Munch. Painted in 1893.\n* <dfn>HTML</dfn> is the standard markup language for creating web pages.\n* Do not forget to buy <mark>milk</mark> today.\n* This is a paragraph and <small>smaller text goes here</small>.\n* The concert starts at <time datetime=\"20:00\">20:00</time> and you'll be able to enjoy the band for at least <time datetime=\"PT2H30M\">2h 30m</time>.\n* Press <kbd>Ctrl</kbd> + <kbd>C</kbd> to copy text (Windows).\n* WWF's goal is to: <q>Build a future where people live in harmony with nature.</q> We hope they succeed.\n* The error occurred was: <samp>Keyboard not found. Press F1 to continue.</samp>\n* The area of a triangle is: 1/2 x <var>b</var> x <var>h</var>, where <var>b</var> is the base, and <var>h</var> is the vertical height.\n* <ruby>漢<rt>ㄏㄢˋ</rt></ruby>\n* C<sub>7</sub>H<sub>16</sub> + O<sub>2</sub> \t CO<sub>2</sub> + H<sub>2</sub>O\n* The **Pythagorean theorem** is often expressed as <var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> = <var>c<sup>2</sup></var>\n" 08_04_36__gitlab_internal_extension_markdown__migrated_golden_master_examples__image__001: | ![alt text](https://gitlab.com/logo.png) 08_04_37__gitlab_internal_extension_markdown__migrated_golden_master_examples__inline_code__001: | `code` 08_04_38__gitlab_internal_extension_markdown__migrated_golden_master_examples__inline_diff__001: | * {-deleted-} * {+added+} 08_04_39__gitlab_internal_extension_markdown__migrated_golden_master_examples__label__001: | ~bug 08_04_40__gitlab_internal_extension_markdown__migrated_golden_master_examples__link__001: | [GitLab](https://gitlab.com) 08_04_41__gitlab_internal_extension_markdown__migrated_golden_master_examples__math__001: | This math is inline $`a^2+b^2=c^2`$. This is on a separate line: ```math a^2+b^2=c^2 ``` 08_04_42__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_list__001: | 1. list item 1 2. list item 2 3. list item 3 08_04_43__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_list_with_start_order__001: | 134. list item 1 135. list item 2 136. list item 3 08_04_44__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_task_list__001: | 1. [x] hello 2. [x] world 3. [ ] example 1. [ ] of nested 1. [x] task list 2. [ ] items 08_04_45__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_task_list_with_order__001: | 4893. [x] hello 4894. [x] world 4895. [ ] example 08_04_46__gitlab_internal_extension_markdown__migrated_golden_master_examples__reference_for_project_wiki__001: | Hi @gfm_user - thank you for reporting this ~"UX bug" (#1) we hope to fix it in %1.1 as part of !1 08_04_47__gitlab_internal_extension_markdown__migrated_golden_master_examples__strike__001: | ~~del~~ 08_04_48__gitlab_internal_extension_markdown__migrated_golden_master_examples__table__001: | | header | header | |--------|--------| | `code` | cell with **bold** | | ~~strike~~ | cell with _italic_ | # content after table 08_04_49__gitlab_internal_extension_markdown__migrated_golden_master_examples__table_of_contents__001: | [[_TOC_]] # Lorem Well, that's just like... your opinion.. man. ## Ipsum ### Dolar # Sit amit ### I don't know 08_04_50__gitlab_internal_extension_markdown__migrated_golden_master_examples__task_list__001: | * [x] hello * [x] world * [ ] example * [ ] of nested * [x] task list * [ ] items 08_04_51__gitlab_internal_extension_markdown__migrated_golden_master_examples__video__001: | ![Sample Video](https://gitlab.com/gitlab.mp4) 08_04_52__gitlab_internal_extension_markdown__migrated_golden_master_examples__word_break__001: | Fernstraßen<wbr>bau<wbr>privat<wbr>finanzierungs<wbr>gesetz 08_05_00__gitlab_internal_extension_markdown__image_attributes__001: | ![](https://gitlab.com/logo.png){width="100" height="100"} 08_05_00__gitlab_internal_extension_markdown__image_attributes__002: | ![](https://gitlab.com/logo.png){width="100%"} 08_05_00__gitlab_internal_extension_markdown__image_attributes__003: | ![](https://gitlab.com/logo.png){height="100px"} 08_05_00__gitlab_internal_extension_markdown__image_attributes__004: | ![](https://gitlab.com/logo.png){ width="100" height="100" } 08_05_00__gitlab_internal_extension_markdown__image_attributes__005: | ![](https://gitlab.com/logo.png) {width="100" height="100"} 08_06_00__gitlab_internal_extension_markdown__footnotes__001: | footnote reference tag [^fortytwo] [^fortytwo]: footnote text X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'none' Content-Type: text/plain; charset=UTF-8 Content-Length: 500761 Content-Disposition: inline; filename="prosemirror_json.yml" Last-Modified: Tue, 02 Jul 2024 14:21:09 GMT Expires: Tue, 02 Jul 2024 14:26:09 GMT ETag: "8cce959c8f895505d5762da84cab0044e0a321d5" --- 02_01_00__preliminaries__tabs__001: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo\tbaz\t\tbim" } ] } ] } 02_01_00__preliminaries__tabs__002: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo\tbaz\t\tbim" } ] } ] } 02_01_00__preliminaries__tabs__003: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "a\ta\nὐ\ta" } ] } ] } 02_01_00__preliminaries__tabs__004: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 02_01_00__preliminaries__tabs__005: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " bar" } ] } ] } ] } ] } 02_01_00__preliminaries__tabs__006: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " foo" } ] } ] } ] } 02_01_00__preliminaries__tabs__007: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " foo" } ] } ] } ] } ] } 02_01_00__preliminaries__tabs__008: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo\nbar" } ] } ] } 02_01_00__preliminaries__tabs__009: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } ] } ] } ] } ] } 02_01_00__preliminaries__tabs__010: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo" } ] } ] } 02_01_00__preliminaries__tabs__011: |- { "type": "doc", "content": [ { "type": "horizontalRule" } ] } 03_01_00__blocks_and_inlines__precedence__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "`one" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "two`" } ] } ] } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__001: |- { "type": "doc", "content": [ { "type": "horizontalRule" }, { "type": "horizontalRule" }, { "type": "horizontalRule" } ] } 04_01_00__leaf_blocks__thematic_breaks__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "+++" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "===" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "--\n**\n__" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__005: |- { "type": "doc", "content": [ { "type": "horizontalRule" }, { "type": "horizontalRule" }, { "type": "horizontalRule" } ] } 04_01_00__leaf_blocks__thematic_breaks__006: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "***" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\n***" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__008: |- { "type": "doc", "content": [ { "type": "horizontalRule" } ] } 04_01_00__leaf_blocks__thematic_breaks__009: |- { "type": "doc", "content": [ { "type": "horizontalRule" } ] } 04_01_00__leaf_blocks__thematic_breaks__010: |- { "type": "doc", "content": [ { "type": "horizontalRule" } ] } 04_01_00__leaf_blocks__thematic_breaks__011: |- { "type": "doc", "content": [ { "type": "horizontalRule" } ] } 04_01_00__leaf_blocks__thematic_breaks__012: |- { "type": "doc", "content": [ { "type": "horizontalRule" } ] } 04_01_00__leaf_blocks__thematic_breaks__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_ _ _ _ a" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "a------" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "---a---" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "-" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__015: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] }, { "type": "horizontalRule" }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__016: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "horizontalRule" }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__017: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__018: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] } ] } ] }, { "type": "horizontalRule" }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Bar" } ] } ] } ] } ] } 04_01_00__leaf_blocks__thematic_breaks__019: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "horizontalRule" } ] } ] } ] } 04_02_00__leaf_blocks__atx_headings__001: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 4 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 5 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 6 }, "content": [ { "type": "text", "text": "foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "####### foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "#5 bolt" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "#hashtag" } ] } ] } 04_02_00__leaf_blocks__atx_headings__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "## foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__005: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar" }, { "type": "text", "text": " *baz*" } ] } ] } 04_02_00__leaf_blocks__atx_headings__006: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__007: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__008: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "# foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\n# bar" } ] } ] } 04_02_00__leaf_blocks__atx_headings__010: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "bar" } ] } ] } 04_02_00__leaf_blocks__atx_headings__011: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 5 }, "content": [ { "type": "text", "text": "foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__012: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__013: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "foo ### b" } ] } ] } 04_02_00__leaf_blocks__atx_headings__014: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "foo#" } ] } ] } 04_02_00__leaf_blocks__atx_headings__015: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "foo ###" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "foo ###" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "foo #" } ] } ] } 04_02_00__leaf_blocks__atx_headings__016: |- { "type": "doc", "content": [ { "type": "horizontalRule" }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "horizontalRule" } ] } 04_02_00__leaf_blocks__atx_headings__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo bar" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "baz" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "Bar foo" } ] } ] } 04_02_00__leaf_blocks__atx_headings__018: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 } }, { "type": "heading", "attrs": { "level": 1 } }, { "type": "heading", "attrs": { "level": 3 } } ] } 04_03_00__leaf_blocks__setext_headings__001: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar" } ] } ] } 04_03_00__leaf_blocks__setext_headings__002: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar\nbaz" } ] } ] } 04_03_00__leaf_blocks__setext_headings__003: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar\nbaz" } ] } ] } 04_03_00__leaf_blocks__setext_headings__004: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo" } ] } ] } 04_03_00__leaf_blocks__setext_headings__005: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo" } ] } ] } 04_03_00__leaf_blocks__setext_headings__006: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "Foo\n---\n\nFoo" } ] }, { "type": "horizontalRule" } ] } 04_03_00__leaf_blocks__setext_headings__007: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo" } ] } ] } 04_03_00__leaf_blocks__setext_headings__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\n---" } ] } ] } 04_03_00__leaf_blocks__setext_headings__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\n= =" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "horizontalRule" } ] } 04_03_00__leaf_blocks__setext_headings__010: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo" } ] } ] } 04_03_00__leaf_blocks__setext_headings__011: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo\\" } ] } ] } 04_03_00__leaf_blocks__setext_headings__012: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "`Foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "`" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "<a title=\"a lot" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "of dashes\"/>" } ] } ] } 04_03_00__leaf_blocks__setext_headings__013: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] } ] }, { "type": "horizontalRule" } ] } 04_03_00__leaf_blocks__setext_headings__014: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\nbar\n===" } ] } ] } ] } 04_03_00__leaf_blocks__setext_headings__015: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] } ] } ] }, { "type": "horizontalRule" } ] } 04_03_00__leaf_blocks__setext_headings__016: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Foo\nBar" } ] } ] } 04_03_00__leaf_blocks__setext_headings__017: |- { "type": "doc", "content": [ { "type": "frontmatter", "attrs": { "language": "yaml", "class": "code highlight", "langParams": null, "isFrontmatter": true }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Bar" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "Baz" } ] } ] } 04_03_00__leaf_blocks__setext_headings__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "====" } ] } ] } 04_03_00__leaf_blocks__setext_headings__019: |- { "type": "doc", "content": [ { "type": "frontmatter", "attrs": { "language": "yaml", "class": "code highlight", "langParams": null, "isFrontmatter": true } } ] } 04_03_00__leaf_blocks__setext_headings__020: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] }, { "type": "horizontalRule" } ] } 04_03_00__leaf_blocks__setext_headings__021: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "horizontalRule" } ] } 04_03_00__leaf_blocks__setext_headings__022: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "horizontalRule" } ] } 04_03_00__leaf_blocks__setext_headings__023: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "> foo" } ] } ] } 04_03_00__leaf_blocks__setext_headings__024: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "bar" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } 04_03_00__leaf_blocks__setext_headings__025: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\nbar" } ] }, { "type": "horizontalRule" }, { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } 04_03_00__leaf_blocks__setext_headings__026: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\nbar" } ] }, { "type": "horizontalRule" }, { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } 04_03_00__leaf_blocks__setext_headings__027: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\nbar\n---\nbaz" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__001: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "a simple\n indented code block" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__002: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__003: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__004: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "<a/>\n*hi*\n\n- one" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__005: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "chunk1\n\nchunk2\n\n\n\nchunk3" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__006: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "chunk1\n \n chunk2" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\nbar" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__008: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__009: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Heading" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Heading" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "horizontalRule" } ] } 04_04_00__leaf_blocks__indented_code_blocks__010: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " foo\nbar" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__011: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] } ] } 04_04_00__leaf_blocks__indented_code_blocks__012: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo " } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__001: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "<\n >" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__002: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "<\n >" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__004: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\n~~~" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__005: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\n```" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__006: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\n```" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__007: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\n~~~" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__008: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null } } ] } 04_05_00__leaf_blocks__fenced_code_blocks__009: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "\n```\naaa" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__010: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa" } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bbb" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__011: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null } } ] } 04_05_00__leaf_blocks__fenced_code_blocks__012: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null } } ] } 04_05_00__leaf_blocks__fenced_code_blocks__013: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\naaa" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__014: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\naaa\naaa" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__015: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\n aaa\naaa" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__016: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "```\naaa\n```" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__017: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__018: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__019: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\n ```" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__020: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\naaa" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__021: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa\n~~~ ~~" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__022: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "bar" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__023: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "bar" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "baz" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__024: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": "ruby", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "def foo(x)\n return 3\nend" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__025: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": "ruby", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "def foo(x)\n return 3\nend" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__026: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": ";", "class": "code highlight", "langParams": null } } ] } 04_05_00__leaf_blocks__fenced_code_blocks__027: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "aa" }, { "type": "text", "text": "\nfoo" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__028: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": "aa", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] } ] } 04_05_00__leaf_blocks__fenced_code_blocks__029: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "``` aaa" } ] } ] } 04_06_00__leaf_blocks__html_blocks__001: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "pre", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "**Hello**,\n" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "world" }, { "type": "text", "text": ".\n" } ] } ] }, { "type": "paragraph" } ] } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__002: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\n hi\n " } ] } ] } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "okay." } ] } ] } 04_06_00__leaf_blocks__html_blocks__003: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\n *hello*\n " } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\n*foo*" } ] } ] } 04_06_00__leaf_blocks__html_blocks__005: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "Markdown" } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__006: |- { "type": "doc", "content": [ { "type": "div" } ] } 04_06_00__leaf_blocks__html_blocks__007: |- { "type": "doc", "content": [ { "type": "div" } ] } 04_06_00__leaf_blocks__html_blocks__008: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\n*foo*\n" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar" } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__009: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 04_06_00__leaf_blocks__html_blocks__010: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 04_06_00__leaf_blocks__html_blocks__011: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 04_06_00__leaf_blocks__html_blocks__012: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "bar", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "bar", "isReference": false } } ], "text": "*foo*" } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__013: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\nfoo\n" } ] } ] } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__014: |- { "type": "doc", "content": [ { "type": "div" }, { "type": "paragraph", "content": [ { "type": "text", "text": "\n``` c\nint x = 33;\n```" } ] } ] } 04_06_00__leaf_blocks__html_blocks__015: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "foo", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": false } } ], "text": "\n*bar*\n" } ] } ] } 04_06_00__leaf_blocks__html_blocks__016: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 04_06_00__leaf_blocks__html_blocks__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "\n*bar*\n" } ] } ] } 04_06_00__leaf_blocks__html_blocks__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\n*bar*" } ] } ] } 04_06_00__leaf_blocks__html_blocks__019: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "strike" } ], "text": "\n*foo*\n" } ] } ] } 04_06_00__leaf_blocks__html_blocks__020: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" }, { "type": "strike" } ], "text": "foo" } ] } ] } 04_06_00__leaf_blocks__html_blocks__021: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" }, { "type": "strike" } ], "text": "foo" } ] } ] } 04_06_00__leaf_blocks__html_blocks__022: |- { "type": "doc", "content": [ { "type": "pre", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n" } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "okay" } ] } ] } 04_06_00__leaf_blocks__html_blocks__023: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "okay" } ] } ] } 04_06_00__leaf_blocks__html_blocks__024: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "okay" } ] } ] } 04_06_00__leaf_blocks__html_blocks__025: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 04_06_00__leaf_blocks__html_blocks__026: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\nfoo\n" } ] } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } 04_06_00__leaf_blocks__html_blocks__027: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "div" } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__028: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" } ] } ] } 04_06_00__leaf_blocks__html_blocks__029: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*bar*\n" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "baz" } ] } ] } 04_06_00__leaf_blocks__html_blocks__030: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "1. *bar*" } ] } ] } 04_06_00__leaf_blocks__html_blocks__031: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "okay" } ] } ] } 04_06_00__leaf_blocks__html_blocks__032: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "';\n\n?>\n" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "okay" } ] } ] } 04_06_00__leaf_blocks__html_blocks__033: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 04_06_00__leaf_blocks__html_blocks__034: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "okay" } ] } ] } 04_06_00__leaf_blocks__html_blocks__035: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "<!-- foo -->" } ] } ] } 04_06_00__leaf_blocks__html_blocks__036: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "<div>" } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__037: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\nbar\n" } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__038: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\nbar\n" } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "\n*foo*" } ] } ] } 04_06_00__leaf_blocks__html_blocks__039: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\n" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "bar", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "bar", "isReference": false } } ], "text": "\nbaz" } ] } ] } 04_06_00__leaf_blocks__html_blocks__040: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "Emphasized" }, { "type": "text", "text": " text." } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__041: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\n*Emphasized* text.\n" } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__042: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\nHi\n" } ] } ] } ] } ] } ] } 04_06_00__leaf_blocks__html_blocks__043: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "<td>\n Hi\n</td>" } ] }, { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__001: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__002: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "the title" }, "content": [ { "type": "text", "text": "[foo]: /url \"the title\"" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "the title", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__003: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo*bar\\]", "url": "my_(url)", "title": "title (with parens)" }, "content": [ { "type": "text", "text": "[foo*bar\\]]: my_(url) \"title (with parens)\"" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "my_(url)", "target": "_blank", "class": null, "uploading": false, "title": "title (with parens)", "canonicalSrc": "foo*bar\\]", "isReference": true } } ], "text": "Foo*bar]" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__004: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo bar", "url": "my url", "title": "title" }, "content": [ { "type": "text", "text": "[foo bar]: my url \"title\"" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "my%20url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "foo bar", "isReference": true } } ], "text": "Foo bar" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__005: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "\ntitle\nline1\nline2\n" }, "content": [ { "type": "text", "text": "[foo]: /url \"\ntitle\nline1\nline2\n\"" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "\ntitle\nline1\nline2\n", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]: /url 'title" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "with blank line'" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__007: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]:" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__009: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "", "title": null }, "content": [ { "type": "text", "text": "[foo]: " } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__010: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]: " } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__011: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url\\bar*baz", "title": "foo\"bar\\baz" }, "content": [ { "type": "text", "text": "[foo]: /url\\bar*baz \"foo\"bar\\baz\"" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url%5Cbar*baz", "target": "_blank", "class": null, "uploading": false, "title": "foo\"bar\\baz", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "url", "title": null }, "content": [ { "type": "text", "text": "[foo]: url" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "first", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "first", "title": null }, "content": [ { "type": "text", "text": "[foo]: first" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "second", "title": null }, "content": [ { "type": "text", "text": "[foo]: second" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__014: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "Foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__015: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "αγω", "url": "/φου", "title": null }, "content": [ { "type": "text", "text": "[αγω]: /φου" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/%CF%86%CE%BF%CF%85", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "αγω", "isReference": true } } ], "text": "αγω" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__016: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__017: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]: /url \"title\" ok" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__019: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "\"title\" ok" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__020: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__021: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__022: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo\n[bar]: /baz" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[bar]" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__023: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "Foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__024: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "bar" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__025: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "===\n" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__026: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/foo-url", "title": "foo" }, "content": [ { "type": "text", "text": "[foo]: /foo-url \"foo\"" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/bar-url", "title": "bar" }, "content": [ { "type": "text", "text": "[bar]: /bar-url \"bar\"" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "baz", "url": "/baz-url", "title": null }, "content": [ { "type": "text", "text": "[baz]: /baz-url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/foo-url", "target": "_blank", "class": null, "uploading": false, "title": "foo", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" }, { "type": "text", "text": ",\n" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/bar-url", "target": "_blank", "class": null, "uploading": false, "title": "bar", "canonicalSrc": "bar", "isReference": true } } ], "text": "bar" }, { "type": "text", "text": ",\n" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/baz-url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "baz", "isReference": true } } ], "text": "baz" } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__027: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] } ] } ] } 04_07_00__leaf_blocks__link_reference_definitions__028: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] } ] } 04_08_00__leaf_blocks__paragraphs__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bbb" } ] } ] } 04_08_00__leaf_blocks__paragraphs__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa\nbbb" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "ccc\nddd" } ] } ] } 04_08_00__leaf_blocks__paragraphs__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bbb" } ] } ] } 04_08_00__leaf_blocks__paragraphs__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa\nbbb" } ] } ] } 04_08_00__leaf_blocks__paragraphs__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa\nbbb\nccc" } ] } ] } 04_08_00__leaf_blocks__paragraphs__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa\nbbb" } ] } ] } 04_08_00__leaf_blocks__paragraphs__007: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "aaa" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bbb" } ] } ] } 04_08_00__leaf_blocks__paragraphs__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa" }, { "type": "hardBreak" }, { "type": "text", "text": "\nbbb" } ] } ] } 04_09_00__leaf_blocks__blank_lines__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "aaa" } ] } ] } 04_10_00__leaf_blocks__tables_extension__001: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bim" } ] } ] } ] } ] } ] } 04_10_00__leaf_blocks__tables_extension__002: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "abc" } ] } ] }, { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "defghi" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } ] } 04_10_00__leaf_blocks__tables_extension__003: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "f|oo" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b " }, { "type": "text", "marks": [ { "type": "code" } ], "text": "|" }, { "type": "text", "text": " az" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b " }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "|" }, { "type": "text", "text": " im" } ] } ] } ] } ] } ] } 04_10_00__leaf_blocks__tables_extension__004: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "abc" } ] } ] }, { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "def" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } 04_10_00__leaf_blocks__tables_extension__005: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "abc" } ] } ] }, { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "def" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph" } ] } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } 04_10_00__leaf_blocks__tables_extension__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "| abc | def |\n| --- |\n| bar |" } ] } ] } 04_10_00__leaf_blocks__tables_extension__007: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "abc" } ] } ] }, { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "def" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph" } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } ] } 04_10_00__leaf_blocks__tables_extension__008: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "abc" } ] } ] }, { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "def" } ] } ] } ] } ] } ] } 05_01_00__container_blocks__block_quotes__001: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar\nbaz" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__002: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar\nbaz" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__003: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar\nbaz" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__004: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "> # Foo\n> bar\n> baz" } ] } ] } 05_01_00__container_blocks__block_quotes__005: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar\nbaz" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__006: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar\nbaz\nfoo" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__007: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "horizontalRule" } ] } 05_01_00__container_blocks__block_quotes__008: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_01_00__container_blocks__block_quotes__009: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "bar" } ] } ] } 05_01_00__container_blocks__block_quotes__010: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null } } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null } } ] } 05_01_00__container_blocks__block_quotes__011: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\n- bar" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__012: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph" } ] } ] } 05_01_00__container_blocks__block_quotes__013: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph" } ] } ] } 05_01_00__container_blocks__block_quotes__014: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__015: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__016: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\nbar" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__017: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__019: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aaa" } ] } ] }, { "type": "horizontalRule" }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bbb" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__020: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar\nbaz" } ] } ] } ] } 05_01_00__container_blocks__block_quotes__021: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } 05_01_00__container_blocks__block_quotes__022: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } 05_01_00__container_blocks__block_quotes__023: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\nbar" } ] } ] } ] } ] } ] } 05_01_00__container_blocks__block_quotes__024: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\nbar\nbaz" } ] } ] } ] } ] } ] } 05_01_00__container_blocks__block_quotes__025: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "code" } ] } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "not code" } ] } ] } ] } 05_02_00__container_blocks__list_items__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A paragraph\nwith two lines." } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "indented code" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A block quote." } ] } ] } ] } 05_02_00__container_blocks__list_items__002: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A paragraph\nwith two lines." } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "indented code" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A block quote." } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__003: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "one" } ] } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "two" } ] } ] } 05_02_00__container_blocks__list_items__004: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "one" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "two" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__005: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "one" } ] } ] } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " two" } ] } ] } 05_02_00__container_blocks__list_items__006: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "one" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "two" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__007: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "one" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "two" } ] } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__008: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "one" } ] } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "two" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "-one" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "2.two" } ] } ] } 05_02_00__container_blocks__list_items__010: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__011: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "bar" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bam" } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__012: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "bar\n\n\nbaz" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__013: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "ok" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "1234567890. not ok" } ] } ] } 05_02_00__container_blocks__list_items__015: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "ok" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__016: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "ok" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "-1. not ok" } ] } ] } 05_02_00__container_blocks__list_items__018: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__019: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__020: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "indented code" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "paragraph" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "more code" } ] } ] } 05_02_00__container_blocks__list_items__021: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "indented code" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "paragraph" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "more code" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__022: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " indented code" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "paragraph" } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "more code" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__023: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } 05_02_00__container_blocks__list_items__024: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } 05_02_00__container_blocks__list_items__025: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__026: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__027: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__028: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } 05_02_00__container_blocks__list_items__029: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__030: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__031: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__032: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" } ] } ] } ] } 05_02_00__container_blocks__list_items__033: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\n*" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "foo\n1." } ] } ] } 05_02_00__container_blocks__list_items__034: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A paragraph\nwith two lines." } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "indented code" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A block quote." } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__035: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A paragraph\nwith two lines." } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "indented code" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A block quote." } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__036: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A paragraph\nwith two lines." } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "indented code" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A block quote." } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__037: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "1. A paragraph\n with two lines.\n\n indented code\n\n > A block quote." } ] } ] } 05_02_00__container_blocks__list_items__038: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A paragraph\nwith two lines." } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "indented code" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A block quote." } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__039: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A paragraph\nwith two lines." } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__040: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Blockquote\ncontinued here." } ] } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__041: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Blockquote\ncontinued here." } ] } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__042: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "boo" } ] } ] } ] } ] } ] } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__043: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "boo" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__044: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__045: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__046: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__047: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] } ] } ] } ] } ] } ] } 05_02_00__container_blocks__list_items__048: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Bar" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "\nbaz" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__002: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] }, { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "The number of windows in my house is\n14. The number of doors is 6." } ] } ] } 05_04_00__container_blocks__lists__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "The number of windows in my house is" } ] }, { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "The number of doors is 6." } ] } ] } ] } ] } 05_04_00__container_blocks__lists__006: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__007: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bim" } ] } ] } ] } ] } ] } ] } ] } ] } 05_04_00__container_blocks__lists__008: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bim" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__009: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "notcode" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "code" } ] } ] } 05_04_00__container_blocks__lists__010: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "d" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "e" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "f" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "g" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__011: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__012: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "d\n- e" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__013: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "3. c" } ] } ] } 05_04_00__container_blocks__lists__014: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__015: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__016: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "d" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__017: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[ref]: /url" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "d" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__018: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "b" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__019: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "d" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__020: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__021: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "c" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "d" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__022: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__023: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] } ] } ] } ] } ] } 05_04_00__container_blocks__lists__024: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph" }, { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__025: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "bar" } ] } ] } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "baz" } ] } ] } ] } ] } 05_04_00__container_blocks__lists__026: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "b" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "c" } ] } ] } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "d" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "e" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "f" } ] } ] } ] } ] } ] } ] } 06_01_00__inlines__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "hi" }, { "type": "text", "text": "lo`" } ] } ] } 06_02_00__inlines__backslash_escapes__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" } ] } ] } 06_02_00__inlines__backslash_escapes__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\\\t\\A\\a\\ \\3\\φ\\«" } ] } ] } 06_02_00__inlines__backslash_escapes__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*not emphasized*\n<br/> not a tag\n[not a link](/foo)\n`not code`\n1. not a list\n* not a list\n# not a heading\n[foo]: /url \"not a reference\"\nö not a character entity" } ] } ] } 06_02_00__inlines__backslash_escapes__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\\" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "emphasis" } ] } ] } 06_02_00__inlines__backslash_escapes__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "hardBreak" }, { "type": "text", "text": "\nbar" } ] } ] } 06_02_00__inlines__backslash_escapes__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "\\[\\`" } ] } ] } 06_02_00__inlines__backslash_escapes__007: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "\\[\\]" } ] } ] } 06_02_00__inlines__backslash_escapes__008: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "\\[\\]" } ] } ] } 06_02_00__inlines__backslash_escapes__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://example.com?find=%5C*", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://example.com?find=%5C*", "isReference": false } } ], "text": "http://example.com?find=\\*" } ] } ] } 06_02_00__inlines__backslash_escapes__010: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_02_00__inlines__backslash_escapes__011: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/bar*", "target": "_blank", "class": null, "uploading": false, "title": "ti*tle", "canonicalSrc": "/bar*", "isReference": false } } ], "text": "foo" } ] } ] } 06_02_00__inlines__backslash_escapes__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/bar*", "target": "_blank", "class": null, "uploading": false, "title": "ti*tle", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/bar*", "title": "ti*tle" }, "content": [ { "type": "text", "text": "[foo]: /bar* \"ti*tle\"" } ] } ] } 06_02_00__inlines__backslash_escapes__013: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": "foo+bar", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "  & © Æ Ď\n¾ ℋ ⅆ\n∲ ≧̸" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "# Ӓ Ϡ �" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\" ആ ಫ" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "  &x; &#; &#x;\n�\n&#abcdef0;\n&ThisIsNotDefined; &hi?;" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "©" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "&MadeUpEntity;" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__007: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_03_00__inlines__entity_and_numeric_character_references__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/f%C3%B6%C3%B6", "target": "_blank", "class": null, "uploading": false, "title": "föö", "canonicalSrc": "/f%C3%B6%C3%B6", "isReference": false } } ], "text": "foo" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/f%C3%B6%C3%B6", "target": "_blank", "class": null, "uploading": false, "title": "föö", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/föö", "title": "föö" }, "content": [ { "type": "text", "text": "[foo]: /föö \"föö\"" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__010: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": "föö", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "foo" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__011: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "föö" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__012: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "föfö" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*foo*\n" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "* foo" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__015: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\n\nbar" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__016: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "\tfoo" } ] } ] } 06_03_00__inlines__entity_and_numeric_character_references__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[a](url \"tit\")" } ] } ] } 06_04_00__inlines__code_spans__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo" } ] } ] } 06_04_00__inlines__code_spans__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo ` bar" } ] } ] } 06_04_00__inlines__code_spans__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "``" } ] } ] } 06_04_00__inlines__code_spans__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": " `` " } ] } ] } 06_04_00__inlines__code_spans__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": " a" } ] } ] } 06_04_00__inlines__code_spans__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": " b " } ] } ] } 06_04_00__inlines__code_spans__007: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_04_00__inlines__code_spans__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo bar baz" } ] } ] } 06_04_00__inlines__code_spans__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo " } ] } ] } 06_04_00__inlines__code_spans__010: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo bar baz" } ] } ] } 06_04_00__inlines__code_spans__011: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo\\" }, { "type": "text", "text": "bar`" } ] } ] } 06_04_00__inlines__code_spans__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo`bar" } ] } ] } 06_04_00__inlines__code_spans__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "foo `` bar" } ] } ] } 06_04_00__inlines__code_spans__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*foo" }, { "type": "text", "marks": [ { "type": "code" } ], "text": "*" } ] } ] } 06_04_00__inlines__code_spans__015: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[not a " }, { "type": "text", "marks": [ { "type": "code" } ], "text": "link](/foo" }, { "type": "text", "text": ")" } ] } ] } 06_04_00__inlines__code_spans__016: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "<a href=\"" }, { "type": "text", "text": "\">`" } ] } ] } 06_04_00__inlines__code_spans__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "`", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "`", "isReference": false } } ], "text": "`" } ] } ] } 06_04_00__inlines__code_spans__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "<http://foo.bar." }, { "type": "text", "text": "baz>`" } ] } ] } 06_04_00__inlines__code_spans__019: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://foo.bar.%60baz", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://foo.bar.%60baz", "isReference": false } } ], "text": "http://foo.bar.`baz" }, { "type": "text", "text": "`" } ] } ] } 06_04_00__inlines__code_spans__020: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "```foo``" } ] } ] } 06_04_00__inlines__code_spans__021: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "`foo" } ] } ] } 06_04_00__inlines__code_spans__022: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "`foo" }, { "type": "text", "marks": [ { "type": "code" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a * foo bar*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a*\"foo\"*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "* a *" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "5" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "6" }, { "type": "text", "text": "78" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_ foo bar_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a_\"foo\"_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__010: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo_bar_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__011: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "5_6_78" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "пристаням_стремятся_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "aa_\"bb\"_cc" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo-" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "(bar)" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__015: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_foo*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__016: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*foo bar *" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*foo bar\n*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*(*foo)" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__019: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "(foo" }, { "type": "text", "text": ")" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__020: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "text", "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__021: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_foo bar _" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__022: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_(_foo)" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__023: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "(foo" }, { "type": "text", "text": ")" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__024: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_foo_bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__025: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_пристаням_стремятся" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__026: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo_bar_baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__027: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "(bar)" }, { "type": "text", "text": "." } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__028: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__029: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "** foo bar**" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__030: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a**\"foo\"**" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__031: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__032: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__033: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__ foo bar__" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__034: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__\nfoo bar__" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__035: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "a__\"foo\"__" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__036: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo__bar__" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__037: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "5__6__78" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__038: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "пристаням__стремятся__" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__039: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo, bar" }, { "type": "text", "text": ", baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__040: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo-" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "(bar)" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__041: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "**foo bar **" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__042: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "**(**foo)" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__043: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "(" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": ")" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__044: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "Gomphocarpus (" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "Gomphocarpus physocarpus" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": ", syn.\n" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "Asclepias physocarpa" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": ")" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__045: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo \"" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "\" foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__046: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" }, { "type": "text", "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__047: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__foo bar __" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__048: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__(__foo)" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__049: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "(" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": ")" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__050: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__foo__bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__051: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__пристаням__стремятся" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__052: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo__bar__baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__053: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "(bar)" }, { "type": "text", "text": "." } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__054: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/url", "isReference": false } }, { "type": "italic" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__055: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo\nbar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__056: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": " baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__057: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo bar" }, { "type": "text", "text": " baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__058: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "text", "text": " bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__059: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__060: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": " baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__061: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__062: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo**bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__063: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": " bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__064: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__065: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__066: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "text": "baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__067: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "bar" }, { "type": "text", "text": "***baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__068: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar baz" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": " bim" }, { "type": "text", "text": " bop" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__069: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/url", "isReference": false } }, { "type": "italic" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__070: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "** is not an empty emphasis" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__071: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "**** is not an empty strong emphasis" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__072: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/url", "isReference": false } }, { "type": "bold" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__073: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo\nbar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__074: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": " baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__075: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo bar" }, { "type": "text", "text": " baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__076: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" }, { "type": "text", "text": " bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__077: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__078: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": " baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__079: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__080: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": " bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__081: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__082: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar baz" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "\nbim" }, { "type": "text", "text": " bop" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__083: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/url", "isReference": false } }, { "type": "bold" }, { "type": "italic" } ], "text": "bar" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__084: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__ is not an empty emphasis" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__085: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "____ is not an empty strong emphasis" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__086: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo ***" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__087: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__088: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__089: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo *****" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__090: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__091: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__092: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__093: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "text", "text": "*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__094: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__095: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "***" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__096: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" }, { "type": "text", "text": "*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__097: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "text", "text": "***" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__098: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo ___" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__099: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__100: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__101: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo _____" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__102: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__103: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__104: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__105: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "text", "text": "_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__106: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__107: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "___" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__108: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" }, { "type": "text", "text": "_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__109: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "text", "text": "___" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__110: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__111: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__112: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__113: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__114: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__115: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__116: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__117: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__118: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "foo" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__119: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo _bar" }, { "type": "text", "text": " baz_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__120: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "bold" }, { "type": "italic" } ], "text": "bar *baz bim" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": " bam" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__121: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "**foo " }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "bar baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__122: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar baz" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__123: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/url", "isReference": false } } ], "text": "bar*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__124: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "_foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/url", "isReference": false } } ], "text": "bar_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__125: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*" }, { "type": "image", "attrs": { "src": "foo", "alt": null, "title": "*", "uploading": false, "canonicalSrc": "foo", "width": null, "height": null, "isReference": false } } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__126: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "**" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__127: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__128: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "a " }, { "type": "text", "marks": [ { "type": "italic" }, { "type": "code" } ], "text": "*" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__129: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "a " }, { "type": "text", "marks": [ { "type": "italic" }, { "type": "code" } ], "text": "_" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__130: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "**a" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://foo.bar/?q=**", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://foo.bar/?q=**", "isReference": false } } ], "text": "http://foo.bar/?q=**" } ] } ] } 06_05_00__inlines__emphasis_and_strong_emphasis__131: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "__a" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://foo.bar/?q=__", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://foo.bar/?q=__", "isReference": false } } ], "text": "http://foo.bar/?q=__" } ] } ] } 06_06_00__inlines__strikethrough_extension__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "strike" } ], "text": "Hi" }, { "type": "text", "text": " Hello, world!" } ] } ] } 06_06_00__inlines__strikethrough_extension__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This ~~has a" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "new paragraph~~." } ] } ] } 06_07_00__inlines__links__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "/uri", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[link](/my uri)" } ] } ] } 06_07_00__inlines__links__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/my%20uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/my%20uri", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[link](foo\nbar)" } ] } ] } 06_07_00__inlines__links__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[link](" } ] } ] } 06_07_00__inlines__links__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "b)c", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "b)c", "isReference": false } } ], "text": "a" } ] } ] } 06_07_00__inlines__links__010: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[link](<foo>)" } ] } ] } 06_07_00__inlines__links__011: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[a](<b)c\n[a](<b)c>\n[a](" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "c)" } ] } ] } 06_07_00__inlines__links__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "(foo)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "(foo)", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "foo(and(bar))", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo(and(bar))", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "foo(and(bar)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo(and(bar)", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__015: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "foo(and(bar)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo(and(bar)", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__016: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "foo):", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo):", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "#fragment", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "#fragment", "isReference": false } } ], "text": "link" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://example.com#fragment", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://example.com#fragment", "isReference": false } } ], "text": "link" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://example.com?foo=3#frag", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://example.com?foo=3#frag", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "foo%5Cbar", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo%5Cbar", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__019: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "foo%20b%C3%A4", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo%20b%C3%A4", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__020: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "%22title%22", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "%22title%22", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__021: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "/url", "isReference": false } } ], "text": "linklinklink" } ] } ] } 06_07_00__inlines__links__022: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title \"\"", "canonicalSrc": "/url", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__023: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url%C2%A0%22title%22", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/url%C2%A0%22title%22", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__024: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[link](/url \"title \"and\" title\")" } ] } ] } 06_07_00__inlines__links__025: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title \"and\" title", "canonicalSrc": "/url", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__026: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "/uri", "isReference": false } } ], "text": "link" } ] } ] } 06_07_00__inlines__links__027: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[link] (/uri)" } ] } ] } 06_07_00__inlines__links__028: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ], "text": "link [foo [bar]]" } ] } ] } 06_07_00__inlines__links__029: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[link] bar](/uri)" } ] } ] } 06_07_00__inlines__links__030: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[link " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ], "text": "bar" } ] } ] } 06_07_00__inlines__links__031: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ], "text": "link [bar" } ] } ] } 06_07_00__inlines__links__032: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ], "text": "link " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } }, { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } }, { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } }, { "type": "bold" }, { "type": "italic" }, { "type": "code" } ], "text": "#" } ] } ] } 06_07_00__inlines__links__033: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "moon.jpg", "alt": "moon", "title": null, "uploading": false, "canonicalSrc": "moon.jpg", "width": null, "height": null, "isReference": false }, "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ] } ] } ] } 06_07_00__inlines__links__034: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ], "text": "bar" }, { "type": "text", "text": "](/uri)" } ] } ] } 06_07_00__inlines__links__035: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "[bar " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } }, { "type": "italic" } ], "text": "baz" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "](/uri)" }, { "type": "text", "text": "](/uri)" } ] } ] } 06_07_00__inlines__links__036: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "uri3", "alt": "[foo](uri2)", "title": null, "uploading": false, "canonicalSrc": "uri3", "width": null, "height": null, "isReference": false } } ] } ] } 06_07_00__inlines__links__037: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ], "text": "foo*" } ] } ] } 06_07_00__inlines__links__038: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "baz*", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "baz*", "isReference": false } } ], "text": "foo *bar" } ] } ] } 06_07_00__inlines__links__039: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo [bar" }, { "type": "text", "text": " baz]" } ] } ] } 06_07_00__inlines__links__040: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo " } ] } ] } 06_07_00__inlines__links__041: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo" }, { "type": "text", "marks": [ { "type": "code" } ], "text": "](/uri)" } ] } ] } 06_07_00__inlines__links__042: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://example.com/?search=%5D(uri)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://example.com/?search=%5D(uri)", "isReference": false } } ], "text": "http://example.com/?search=](uri)" } ] } ] } 06_07_00__inlines__links__043: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "bar", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[bar]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__044: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } } ], "text": "link [foo [bar]]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__045: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } } ], "text": "link [bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__046: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } } ], "text": "link " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } }, { "type": "italic" } ], "text": "foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } }, { "type": "bold" }, { "type": "italic" } ], "text": "bar" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } }, { "type": "bold" }, { "type": "italic" }, { "type": "code" } ], "text": "#" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__047: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "moon.jpg", "alt": "moon", "title": null, "uploading": false, "canonicalSrc": "moon.jpg", "width": null, "height": null, "isReference": false }, "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } } ] } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__048: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uri", "isReference": false } } ], "text": "bar" }, { "type": "text", "text": "]" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } } ], "text": "ref" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__049: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "bar " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } }, { "type": "italic" } ], "text": "baz" }, { "type": "text", "text": "]" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } } ], "text": "ref" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__050: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "*" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } } ], "text": "foo*" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__051: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref", "isReference": true } } ], "text": "foo *bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__052: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo " } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__053: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo" }, { "type": "text", "marks": [ { "type": "code" } ], "text": "][ref]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__054: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://example.com/?search=%5D%5Bref%5D", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://example.com/?search=%5D%5Bref%5D", "isReference": false } } ], "text": "http://example.com/?search=][ref]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref]: /uri" } ] } ] } 06_07_00__inlines__links__055: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "bar", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[bar]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__056: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "толпой", "isReference": true } } ], "text": "Толпой" }, { "type": "text", "text": " is a Russian word." } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "толпой", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[толпой]: /url" } ] } ] } 06_07_00__inlines__links__057: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo bar", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo bar]: /url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo bar", "isReference": true } } ], "text": "Baz" } ] } ] } 06_07_00__inlines__links__058: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo] " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "bar", "isReference": true } } ], "text": "bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[bar]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__059: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]\n" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "bar", "isReference": true } } ], "text": "bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[bar]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__060: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url1", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url1" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url2", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url2" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url1", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "bar" } ] } ] } 06_07_00__inlines__links__061: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[bar][foo!]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo!", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo!]: /url" } ] } ] } 06_07_00__inlines__links__062: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo][ref[]" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[ref[]: /uri" } ] } ] } 06_07_00__inlines__links__063: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo][ref[bar]]" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[ref[bar]]: /uri" } ] } ] } 06_07_00__inlines__links__064: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[[[foo]]]" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[[[foo]]]: /url" } ] } ] } 06_07_00__inlines__links__065: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "ref\\[", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "ref\\[", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[ref\\[]: /uri" } ] } ] } 06_07_00__inlines__links__066: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "bar\\\\", "url": "/uri", "title": null }, "content": [ { "type": "text", "text": "[bar\\\\]: /uri" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uri", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "bar\\\\", "isReference": true } } ], "text": "bar\\" } ] } ] } 06_07_00__inlines__links__067: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[]" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[]: /uri" } ] } ] } 06_07_00__inlines__links__068: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[\n]" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[\n]: /uri" } ] } ] } 06_07_00__inlines__links__069: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__070: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "*foo* bar", "isReference": true } }, { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "*foo* bar", "isReference": true } } ], "text": " bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "*foo* bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[*foo* bar]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__071: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "foo", "isReference": true } } ], "text": "Foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__072: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" }, { "type": "text", "text": "\n[]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__073: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__074: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "*foo* bar", "isReference": true } }, { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "*foo* bar", "isReference": true } } ], "text": " bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "*foo* bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[*foo* bar]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__075: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "*foo* bar", "isReference": true } }, { "type": "italic" } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "*foo* bar", "isReference": true } } ], "text": " bar" }, { "type": "text", "text": "]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "*foo* bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[*foo* bar]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__076: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[[bar " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] } ] } 06_07_00__inlines__links__077: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "foo", "isReference": true } } ], "text": "Foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__078: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" }, { "type": "text", "text": " bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url" } ] } ] } 06_07_00__inlines__links__079: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_07_00__inlines__links__080: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "foo*", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[foo*]: /url" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "*" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo*", "isReference": true } } ], "text": "foo*" } ] } ] } 06_07_00__inlines__links__081: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url2", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "bar", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url1", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url1" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/url2", "title": null }, "content": [ { "type": "text", "text": "[bar]: /url2" } ] } ] } 06_07_00__inlines__links__082: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url1", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url1", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url1" } ] } ] } 06_07_00__inlines__links__083: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "", "isReference": false } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url1", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url1" } ] } ] } 06_07_00__inlines__links__084: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url1", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" }, { "type": "text", "text": "(not a link)" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url1", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url1" } ] } ] } 06_07_00__inlines__links__085: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "baz", "isReference": true } } ], "text": "bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "baz", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[baz]: /url" } ] } ] } 06_07_00__inlines__links__086: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url2", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "bar", "isReference": true } } ], "text": "foo" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url1", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "baz", "isReference": true } } ], "text": "baz" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "baz", "url": "/url1", "title": null }, "content": [ { "type": "text", "text": "[baz]: /url1" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/url2", "title": null }, "content": [ { "type": "text", "text": "[bar]: /url2" } ] } ] } 06_07_00__inlines__links__087: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[foo]" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url1", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "baz", "isReference": true } } ], "text": "bar" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "baz", "url": "/url1", "title": null }, "content": [ { "type": "text", "text": "[baz]: /url1" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url2", "title": null }, "content": [ { "type": "text", "text": "[foo]: /url2" } ] } ] } 06_08_00__inlines__images__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "foo", "title": "title", "uploading": false, "canonicalSrc": "/url", "width": null, "height": null, "isReference": false } } ] } ] } 06_08_00__inlines__images__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "train.jpg", "alt": "foo bar", "title": "train & tracks", "uploading": false, "canonicalSrc": "foo *bar*", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo *bar*", "url": "train.jpg", "title": "train & tracks" }, "content": [ { "type": "text", "text": "[foo *bar*]: train.jpg \"train & tracks\"" } ] } ] } 06_08_00__inlines__images__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url2", "alt": "foo bar", "title": null, "uploading": false, "canonicalSrc": "/url2", "width": null, "height": null, "isReference": false } } ] } ] } 06_08_00__inlines__images__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url2", "alt": "foo bar", "title": null, "uploading": false, "canonicalSrc": "/url2", "width": null, "height": null, "isReference": false } } ] } ] } 06_08_00__inlines__images__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "train.jpg", "alt": "foo bar", "title": "train & tracks", "uploading": false, "canonicalSrc": "foo *bar*", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo *bar*", "url": "train.jpg", "title": "train & tracks" }, "content": [ { "type": "text", "text": "[foo *bar*]: train.jpg \"train & tracks\"" } ] } ] } 06_08_00__inlines__images__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "train.jpg", "alt": "foo bar", "title": "train & tracks", "uploading": false, "canonicalSrc": "foobar", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foobar", "url": "train.jpg", "title": "train & tracks" }, "content": [ { "type": "text", "text": "[foobar]: train.jpg \"train & tracks\"" } ] } ] } 06_08_00__inlines__images__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "train.jpg", "alt": "foo", "title": null, "uploading": false, "canonicalSrc": "train.jpg", "width": null, "height": null, "isReference": false } } ] } ] } 06_08_00__inlines__images__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "My " }, { "type": "image", "attrs": { "src": "/path/to/train.jpg", "alt": "foo bar", "title": "title", "uploading": false, "canonicalSrc": "/path/to/train.jpg", "width": null, "height": null, "isReference": false } } ] } ] } 06_08_00__inlines__images__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "url", "alt": "foo", "title": null, "uploading": false, "canonicalSrc": "url", "width": null, "height": null, "isReference": false } } ] } ] } 06_08_00__inlines__images__010: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "", "title": null, "uploading": false, "canonicalSrc": "/url", "width": null, "height": null, "isReference": false } } ] } ] } 06_08_00__inlines__images__011: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "foo", "title": null, "uploading": false, "canonicalSrc": "bar", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[bar]: /url" } ] } ] } 06_08_00__inlines__images__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "foo", "title": null, "uploading": false, "canonicalSrc": "bar", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "bar", "url": "/url", "title": null }, "content": [ { "type": "text", "text": "[bar]: /url" } ] } ] } 06_08_00__inlines__images__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "foo", "title": "title", "uploading": false, "canonicalSrc": "foo", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "foo bar", "title": "title", "uploading": false, "canonicalSrc": "*foo* bar", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "*foo* bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[*foo* bar]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__015: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "Foo", "title": "title", "uploading": false, "canonicalSrc": "foo", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__016: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "foo", "title": "title", "uploading": false, "canonicalSrc": "foo", "width": null, "height": null, "isReference": true } }, { "type": "text", "text": "\n[]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "foo", "title": "title", "uploading": false, "canonicalSrc": "foo", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "foo bar", "title": "title", "uploading": false, "canonicalSrc": "*foo* bar", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "*foo* bar", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[*foo* bar]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__019: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "![[foo]]" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "[[foo]]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__020: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/url", "alt": "Foo", "title": "title", "uploading": false, "canonicalSrc": "foo", "width": null, "height": null, "isReference": true } } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__021: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "![foo]" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_08_00__inlines__images__022: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "!" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/url", "target": "_blank", "class": null, "uploading": false, "title": "title", "canonicalSrc": "foo", "isReference": true } } ], "text": "foo" } ] }, { "type": "referenceDefinition", "attrs": { "identifier": "foo", "url": "/url", "title": "title" }, "content": [ { "type": "text", "text": "[foo]: /url \"title\"" } ] } ] } 06_09_00__inlines__autolinks__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://foo.bar.baz", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://foo.bar.baz", "isReference": false } } ], "text": "http://foo.bar.baz" } ] } ] } 06_09_00__inlines__autolinks__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://foo.bar.baz/test?q=hello&id=22&boolean", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://foo.bar.baz/test?q=hello&id=22&boolean", "isReference": false } } ], "text": "http://foo.bar.baz/test?q=hello&id=22&boolean" } ] } ] } 06_09_00__inlines__autolinks__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": null, "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": null, "isReference": false } } ], "text": "irc://foo.bar:2233/baz" } ] } ] } 06_09_00__inlines__autolinks__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "MAILTO:FOO@BAR.BAZ", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "MAILTO:FOO@BAR.BAZ", "isReference": false } } ], "text": "MAILTO:FOO@BAR.BAZ" } ] } ] } 06_09_00__inlines__autolinks__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": null, "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": null, "isReference": false } } ], "text": "a+b+c:d" } ] } ] } 06_09_00__inlines__autolinks__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": null, "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": null, "isReference": false } } ], "text": "made-up-scheme://foo,bar" } ] } ] } 06_09_00__inlines__autolinks__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://../", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://../", "isReference": false } } ], "text": "http://../" } ] } ] } 06_09_00__inlines__autolinks__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": null, "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": null, "isReference": false } } ], "text": "localhost:5001/foo" } ] } ] } 06_09_00__inlines__autolinks__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://foo.bar/baz", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://foo.bar/baz", "isReference": false } } ], "text": "http://foo.bar/baz" }, { "type": "text", "text": " bim>" } ] } ] } 06_09_00__inlines__autolinks__010: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://example.com/%5C%5B%5C", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://example.com/%5C%5B%5C", "isReference": false } } ], "text": "http://example.com/\\[\\" } ] } ] } 06_09_00__inlines__autolinks__011: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "mailto:foo@bar.example.com", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "mailto:foo@bar.example.com", "isReference": false } } ], "text": "foo@bar.example.com" } ] } ] } 06_09_00__inlines__autolinks__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "mailto:foo+special@Bar.baz-bar0.com", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "mailto:foo+special@Bar.baz-bar0.com", "isReference": false } } ], "text": "foo+special@Bar.baz-bar0.com" } ] } ] } 06_09_00__inlines__autolinks__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "mailto:foo+@bar.example.com", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "mailto:foo+@bar.example.com", "isReference": false } } ], "text": "foo+@bar.example.com" }, { "type": "text", "text": ">" } ] } ] } 06_09_00__inlines__autolinks__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<>" } ] } ] } 06_09_00__inlines__autolinks__015: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "< " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://foo.bar", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://foo.bar", "isReference": false } } ], "text": "http://foo.bar" }, { "type": "text", "text": " >" } ] } ] } 06_09_00__inlines__autolinks__016: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<m:abc>" } ] } ] } 06_09_00__inlines__autolinks__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<foo.bar.baz>" } ] } ] } 06_09_00__inlines__autolinks__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://example.com", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://example.com", "isReference": false } } ], "text": "http://example.com" } ] } ] } 06_09_00__inlines__autolinks__019: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "mailto:foo@bar.example.com", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "mailto:foo@bar.example.com", "isReference": false } } ], "text": "foo@bar.example.com" } ] } ] } 06_10_00__inlines__autolinks_extension__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.commonmark.org", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.commonmark.org", "isReference": false } } ], "text": "www.commonmark.org" } ] } ] } 06_10_00__inlines__autolinks_extension__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Visit " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.commonmark.org/help", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.commonmark.org/help", "isReference": false } } ], "text": "www.commonmark.org/help" }, { "type": "text", "text": " for more information." } ] } ] } 06_10_00__inlines__autolinks_extension__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Visit " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.commonmark.org", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.commonmark.org", "isReference": false } } ], "text": "www.commonmark.org" }, { "type": "text", "text": "." } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "Visit " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.commonmark.org/a.b", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.commonmark.org/a.b", "isReference": false } } ], "text": "www.commonmark.org/a.b" }, { "type": "text", "text": "." } ] } ] } 06_10_00__inlines__autolinks_extension__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.google.com/search?q=Markup+(business)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.google.com/search?q=Markup+(business)", "isReference": false } } ], "text": "www.google.com/search?q=Markup+(business)" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.google.com/search?q=Markup+(business)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.google.com/search?q=Markup+(business)", "isReference": false } } ], "text": "www.google.com/search?q=Markup+(business)" }, { "type": "text", "text": "))" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "(" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.google.com/search?q=Markup+(business)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.google.com/search?q=Markup+(business)", "isReference": false } } ], "text": "www.google.com/search?q=Markup+(business)" }, { "type": "text", "text": ")" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "(" }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.google.com/search?q=Markup+(business)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.google.com/search?q=Markup+(business)", "isReference": false } } ], "text": "www.google.com/search?q=Markup+(business)" } ] } ] } 06_10_00__inlines__autolinks_extension__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.google.com/search?q=(business))+ok", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.google.com/search?q=(business))+ok", "isReference": false } } ], "text": "www.google.com/search?q=(business))+ok" } ] } ] } 06_10_00__inlines__autolinks_extension__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.google.com/search?q=commonmark&hl=en", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.google.com/search?q=commonmark&hl=en", "isReference": false } } ], "text": "www.google.com/search?q=commonmark&hl=en" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.google.com/search?q=commonmark", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.google.com/search?q=commonmark", "isReference": false } } ], "text": "www.google.com/search?q=commonmark" }, { "type": "text", "text": "&hl;" } ] } ] } 06_10_00__inlines__autolinks_extension__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://www.commonmark.org/he", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://www.commonmark.org/he", "isReference": false } } ], "text": "www.commonmark.org/he" }, { "type": "text", "text": "<lp" } ] } ] } 06_10_00__inlines__autolinks_extension__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "http://commonmark.org", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "http://commonmark.org", "isReference": false } } ], "text": "http://commonmark.org" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "(Visit " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "https://encrypted.google.com/search?q=Markup+(business)", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "https://encrypted.google.com/search?q=Markup+(business)", "isReference": false } } ], "text": "https://encrypted.google.com/search?q=Markup+(business)" }, { "type": "text", "text": ")" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "Anonymous FTP is available at ftp://foo.bar.baz." } ] } ] } 06_10_00__inlines__autolinks_extension__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "mailto:foo@bar.baz", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "mailto:foo@bar.baz", "isReference": false } } ], "text": "foo@bar.baz" } ] } ] } 06_10_00__inlines__autolinks_extension__010: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "hello@mail+xyz.example isn't valid, but " }, { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "mailto:hello+xyz@mail.example", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "mailto:hello+xyz@mail.example", "isReference": false } } ], "text": "hello+xyz@mail.example" }, { "type": "text", "text": " is." } ] } ] } 06_10_00__inlines__autolinks_extension__011: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "mailto:a.b-c_d@a.b", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "mailto:a.b-c_d@a.b", "isReference": false } } ], "text": "a.b-c_d@a.b" } ] }, { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "mailto:a.b-c_d@a.b", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "mailto:a.b-c_d@a.b", "isReference": false } } ], "text": "a.b-c_d@a.b" }, { "type": "text", "text": "." } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "a.b-c_d@a.b-" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "a.b-c_d@a.b_" } ] } ] } 06_11_00__inlines__raw_html__001: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_11_00__inlines__raw_html__002: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_11_00__inlines__raw_html__003: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_11_00__inlines__raw_html__004: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_11_00__inlines__raw_html__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo " } ] } ] } 06_11_00__inlines__raw_html__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<33> <__>" } ] } ] } 06_11_00__inlines__raw_html__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<a h*#ref=\"hi\">" } ] } ] } 06_11_00__inlines__raw_html__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<a href=\"hi'> <a href=hi'>" } ] } ] } 06_11_00__inlines__raw_html__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "< a><\nfoo><bar/ >\n<foo bar=baz\nbim!bop />" } ] } ] } 06_11_00__inlines__raw_html__010: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<a href='bar'title=title>" } ] } ] } 06_11_00__inlines__raw_html__011: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_11_00__inlines__raw_html__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "</a href=\"foo\">" } ] } ] } 06_11_00__inlines__raw_html__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " } ] } ] } 06_11_00__inlines__raw_html__014: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo <!-- not a comment -- two hyphens -->" } ] } ] } 06_11_00__inlines__raw_html__015: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo <!--> foo -->" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "foo <!-- foo--->" } ] } ] } 06_11_00__inlines__raw_html__016: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " } ] } ] } 06_11_00__inlines__raw_html__017: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " } ] } ] } 06_11_00__inlines__raw_html__018: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo &<]]>" } ] } ] } 06_11_00__inlines__raw_html__019: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " } ] } ] } 06_11_00__inlines__raw_html__020: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo " } ] } ] } 06_11_00__inlines__raw_html__021: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "<a href=\"\"\">" } ] } ] } 06_12_00__inlines__disallowed_raw_html_extension__001: |- { "type": "doc", "content": [ { "type": "paragraph" }, { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph" } ] } ] } 06_13_00__inlines__hard_line_breaks__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "hardBreak" }, { "type": "text", "text": "\nbaz" } ] } ] } 06_13_00__inlines__hard_line_breaks__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "hardBreak" }, { "type": "text", "text": "\nbaz" } ] } ] } 06_13_00__inlines__hard_line_breaks__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "hardBreak" }, { "type": "text", "text": "\nbaz" } ] } ] } 06_13_00__inlines__hard_line_breaks__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "hardBreak" }, { "type": "text", "text": "\nbar" } ] } ] } 06_13_00__inlines__hard_line_breaks__005: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" }, { "type": "hardBreak" }, { "type": "text", "text": "\nbar" } ] } ] } 06_13_00__inlines__hard_line_breaks__006: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "hardBreak", "marks": [ { "type": "italic" } ] }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "\nbar" } ] } ] } 06_13_00__inlines__hard_line_breaks__007: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "foo" }, { "type": "hardBreak", "marks": [ { "type": "italic" } ] }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "\nbar" } ] } ] } 06_13_00__inlines__hard_line_breaks__008: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "code span" } ] } ] } 06_13_00__inlines__hard_line_breaks__009: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "code\\ span" } ] } ] } 06_13_00__inlines__hard_line_breaks__010: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_13_00__inlines__hard_line_breaks__011: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 06_13_00__inlines__hard_line_breaks__012: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\\" } ] } ] } 06_13_00__inlines__hard_line_breaks__013: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo" } ] } ] } 06_13_00__inlines__hard_line_breaks__014: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "foo\\" } ] } ] } 06_13_00__inlines__hard_line_breaks__015: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "foo" } ] } ] } 06_14_00__inlines__soft_line_breaks__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\nbaz" } ] } ] } 06_14_00__inlines__soft_line_breaks__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "foo\nbaz" } ] } ] } 06_15_00__inlines__textual_content__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "hello $.;'there" } ] } ] } 06_15_00__inlines__textual_content__002: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Foo χρῆν" } ] } ] } 06_15_00__inlines__textual_content__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Multiple spaces" } ] } ] } 07_01_00__gitlab_official_specification_markdown__task_list_items__001: |- { "type": "doc", "content": [ { "type": "taskList", "attrs": { "numeric": false, "start": 1, "parens": false }, "content": [ { "type": "taskItem", "attrs": { "checked": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "incomplete" } ] } ] } ] } ] } 07_01_00__gitlab_official_specification_markdown__task_list_items__002: |- { "type": "doc", "content": [ { "type": "taskList", "attrs": { "numeric": false, "start": 1, "parens": false }, "content": [ { "type": "taskItem", "attrs": { "checked": true }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "completed" } ] } ] } ] } ] } 07_02_00__gitlab_official_specification_markdown__front_matter__001: |- { "type": "doc", "content": [ { "type": "frontmatter", "attrs": { "language": "yaml", "class": "code highlight", "langParams": null, "isFrontmatter": true }, "content": [ { "type": "text", "text": "title: YAML front matter" } ] } ] } 07_02_00__gitlab_official_specification_markdown__front_matter__002: |- { "type": "doc", "content": [ { "type": "frontmatter", "attrs": { "language": "toml", "class": "code highlight", "langParams": null, "isFrontmatter": true }, "content": [ { "type": "text", "text": "title: TOML front matter" } ] } ] } 07_02_00__gitlab_official_specification_markdown__front_matter__003: |- { "type": "doc", "content": [ { "type": "frontmatter", "attrs": { "language": "json", "class": "code highlight", "langParams": null, "isFrontmatter": true }, "content": [ { "type": "text", "text": "{\n \"title\": \"JSON front matter\"\n}" } ] } ] } 07_02_00__gitlab_official_specification_markdown__front_matter__004: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "text" } ] }, { "type": "horizontalRule" }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "title: YAML front matter" } ] } ] } 07_02_00__gitlab_official_specification_markdown__front_matter__005: |- { "type": "doc", "content": [ { "type": "horizontalRule" }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "title: YAML front matter" } ] } ] } 07_03_00__gitlab_official_specification_markdown__table_of_contents__001: |- { "type": "doc", "content": [ { "type": "tableOfContents" }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Heading 1" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Heading 2" } ] } ] } 07_03_00__gitlab_official_specification_markdown__table_of_contents__002: |- { "type": "doc", "content": [ { "type": "tableOfContents" }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Heading 1" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Heading 2" } ] } ] } 07_03_00__gitlab_official_specification_markdown__table_of_contents__003: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "[[" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "TOC" }, { "type": "text", "text": "]]\ntext" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "text\n[TOC]" } ] } ] } 07_03_00__gitlab_official_specification_markdown__table_of_contents__004: |- { "type": "doc", "content": [ { "type": "tableOfContents" }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Heading 1" } ] } ] } 08_01_00__gitlab_internal_extension_markdown__audio__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "audio", "attrs": { "uploading": false, "src": "audio.oga", "canonicalSrc": "audio.oga", "alt": "audio" } } ] } ] } 08_01_00__gitlab_internal_extension_markdown__audio__002: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "audio", "url": "audio.oga", "title": "audio title" }, "content": [ { "type": "text", "text": "[audio]: audio.oga \"audio title\"" } ] }, { "type": "paragraph", "content": [ { "type": "audio", "attrs": { "uploading": false, "src": "audio.oga", "canonicalSrc": "audio", "alt": "audio" } } ] } ] } 08_02_00__gitlab_internal_extension_markdown__video__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "video", "attrs": { "uploading": false, "src": "video.m4v", "canonicalSrc": "video.m4v", "alt": "video" } } ] } ] } 08_02_00__gitlab_internal_extension_markdown__video__002: |- { "type": "doc", "content": [ { "type": "referenceDefinition", "attrs": { "identifier": "video", "url": "video.mov", "title": "video title" }, "content": [ { "type": "text", "text": "[video]: video.mov \"video title\"" } ] }, { "type": "paragraph", "content": [ { "type": "video", "attrs": { "uploading": false, "src": "video.mov", "canonicalSrc": "video", "alt": "video" } } ] } ] } 08_04_01__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_group__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png", "alt": "test-file", "title": null, "uploading": false, "canonicalSrc": "/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png", "width": null, "height": null, "isReference": false } } ] } ] } 08_04_02__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_project__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png", "alt": "test-file", "title": null, "uploading": false, "canonicalSrc": "/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png", "width": null, "height": null, "isReference": false } } ] } ] } 08_04_03__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_image_for_project_wiki__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "test-file.png", "alt": "test-file", "title": null, "uploading": false, "canonicalSrc": "test-file.png", "width": null, "height": null, "isReference": false } } ] } ] } 08_04_04__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_group__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip", "isReference": false } } ], "text": "test-file" } ] } ] } 08_04_05__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_project__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip", "isReference": false } } ], "text": "test-file" } ] } ] } 08_04_06__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_project_wiki__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "test-file.zip", "target": "_blank", "class": null, "title": null, "canonicalSrc": "test-file.zip", "isReference": false } } ], "text": "test-file" } ] } ] } 08_04_07__gitlab_internal_extension_markdown__migrated_golden_master_examples__attachment_link_for_group_wiki__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "test-file.zip", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "test-file.zip", "isReference": false } } ], "text": "test-file" } ] } ] } 08_04_08__gitlab_internal_extension_markdown__migrated_golden_master_examples__audio__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "audio", "attrs": { "uploading": false, "src": "https://gitlab.com/gitlab.mp3", "canonicalSrc": "https://gitlab.com/gitlab.mp3", "alt": "Sample Audio" } } ] } ] } 08_04_09__gitlab_internal_extension_markdown__migrated_golden_master_examples__audio_and_video_in_lists__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "audio", "attrs": { "uploading": false, "src": "https://gitlab.com/1.mp3", "canonicalSrc": "https://gitlab.com/1.mp3", "alt": "Sample Audio" } } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "video", "attrs": { "uploading": false, "src": "https://gitlab.com/2.mp4", "canonicalSrc": "https://gitlab.com/2.mp4", "alt": "Sample Video" } } ] } ] } ] }, { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "video", "attrs": { "uploading": false, "src": "https://gitlab.com/1.mp4", "canonicalSrc": "https://gitlab.com/1.mp4", "alt": "Sample Video" } } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "audio", "attrs": { "uploading": false, "src": "https://gitlab.com/2.mp3", "canonicalSrc": "https://gitlab.com/2.mp3", "alt": "Sample Audio" } } ] } ] } ] }, { "type": "taskList", "attrs": { "numeric": false, "start": 1, "parens": false }, "content": [ { "type": "taskItem", "attrs": { "checked": true }, "content": [ { "type": "paragraph", "content": [ { "type": "audio", "attrs": { "uploading": false, "src": "https://gitlab.com/1.mp3", "canonicalSrc": "https://gitlab.com/1.mp3", "alt": "Sample Audio" } } ] } ] }, { "type": "taskItem", "attrs": { "checked": true }, "content": [ { "type": "paragraph", "content": [ { "type": "audio", "attrs": { "uploading": false, "src": "https://gitlab.com/2.mp3", "canonicalSrc": "https://gitlab.com/2.mp3", "alt": "Sample Audio" } } ] } ] }, { "type": "taskItem", "attrs": { "checked": true }, "content": [ { "type": "paragraph", "content": [ { "type": "video", "attrs": { "uploading": false, "src": "https://gitlab.com/3.mp4", "canonicalSrc": "https://gitlab.com/3.mp4", "alt": "Sample Video" } } ] } ] } ] } ] } 08_04_10__gitlab_internal_extension_markdown__migrated_golden_master_examples__blockquote__001: |- { "type": "doc", "content": [ { "type": "blockquote", "attrs": { "multiline": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This is a blockquote" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "This is another one" } ] } ] } ] } 08_04_11__gitlab_internal_extension_markdown__migrated_golden_master_examples__bold__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "bold" } ] } ] } 08_04_12__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_1__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 1" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 2" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "embedded list item 3" } ] } ] } ] } ] } ] } ] } 08_04_13__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_2__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 1" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 2" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "embedded list item 3" } ] } ] } ] } ] } ] } ] } 08_04_14__gitlab_internal_extension_markdown__migrated_golden_master_examples__bullet_list_style_3__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 1" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 2" } ] }, { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "embedded list item 3" } ] } ] } ] } ] } ] } ] } 08_04_15__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_javascript__001: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": "javascript", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " console.log('hello world')" } ] } ] } 08_04_16__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_plaintext__001: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": null, "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " plaintext" } ] } ] } 08_04_17__gitlab_internal_extension_markdown__migrated_golden_master_examples__code_block_unknown__001: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": "foobar", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " custom_language = >> this <<" } ] } ] } 08_04_18__gitlab_internal_extension_markdown__migrated_golden_master_examples__color_chips__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "#F00" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "#F00A" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "#FF0000" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "#FF0000AA" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "RGB(0,255,0)" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "RGB(0%,100%,0%)" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "RGBA(0,255,0,0.3)" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "HSL(540,70%,50%)" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "HSLA(540,70%,50%,0.3)" } ] } ] } ] } ] } 08_04_19__gitlab_internal_extension_markdown__migrated_golden_master_examples__description_list__001: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 08_04_20__gitlab_internal_extension_markdown__migrated_golden_master_examples__details__001: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 08_04_21__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_kroki_nomnoml__001: |- { "type": "doc", "content": [ { "type": "codeBlock", "attrs": { "language": "nomnoml", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": " #stroke: #a86128\n [<frame>Decorator pattern|\n [<abstract>Component||+ operation()]\n [Client] depends --> [Component]\n [Decorator|- next: Component]\n [Decorator] decorates -- [ConcreteComponent]\n [Component] <:- [Decorator]\n [Component] <:- [ConcreteComponent]\n ]" } ] } ] } 08_04_22__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_plantuml__001: |- { "type": "doc", "content": [ { "type": "diagram", "attrs": { "language": "plantuml", "isDiagram": true, "showPreview": true }, "content": [ { "type": "text", "text": " Alice -> Bob: Authentication Request\n Bob --> Alice: Authentication Response\n\n Alice -> Bob: Another authentication Request\n Alice <-- Bob: Another authentication Response" } ] } ] } 08_04_23__gitlab_internal_extension_markdown__migrated_golden_master_examples__diagram_plantuml_unicode__001: |- { "type": "doc", "content": [ { "type": "diagram", "attrs": { "language": "plantuml", "isDiagram": true, "showPreview": true }, "content": [ { "type": "text", "text": "A -> B : Text with norwegian characters: æøå" } ] } ] } 08_04_24__gitlab_internal_extension_markdown__migrated_golden_master_examples__div__001: |- { "type": "doc", "content": [ { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "plain text" } ] } ] }, { "type": "div", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "just a plain ol' div, not much to " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "expect" }, { "type": "text", "text": "!" } ] } ] } ] } 08_04_25__gitlab_internal_extension_markdown__migrated_golden_master_examples__emoji__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": ":sparkles: :heart: :100:" } ] } ] } 08_04_26__gitlab_internal_extension_markdown__migrated_golden_master_examples__emphasis__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "emphasized text" } ] } ] } 08_04_27__gitlab_internal_extension_markdown__migrated_golden_master_examples__figure__001: |- { "type": "doc", "content": [ { "type": "paragraph" } ] } 08_04_28__gitlab_internal_extension_markdown__migrated_golden_master_examples__footnotes__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "A footnote reference tag looks like this: " }, { "type": "footnoteReference", "attrs": { "identifier": "1", "label": "1" } } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "This reference tag is a mix of letters and numbers. " }, { "type": "footnoteReference", "attrs": { "identifier": "footnote", "label": "footnote" } } ] }, { "type": "footnoteDefinition", "attrs": { "identifier": "1", "label": "1" }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This is the text inside a footnote." } ] } ] }, { "type": "footnoteDefinition", "attrs": { "identifier": "footnote", "label": "footnote" }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This is another footnote." } ] } ] } ] } 08_04_29__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_json__001: |- { "type": "doc", "content": [ { "type": "frontmatter", "attrs": { "language": "json", "class": "code highlight", "langParams": null, "isFrontmatter": true }, "content": [ { "type": "text", "text": "{\n \"title\": \"Page title\"\n}" } ] } ] } 08_04_30__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_toml__001: |- { "type": "doc", "content": [ { "type": "frontmatter", "attrs": { "language": "toml", "class": "code highlight", "langParams": null, "isFrontmatter": true }, "content": [ { "type": "text", "text": "title = \"Page title\"" } ] } ] } 08_04_31__gitlab_internal_extension_markdown__migrated_golden_master_examples__frontmatter_yaml__001: |- { "type": "doc", "content": [ { "type": "frontmatter", "attrs": { "language": "yaml", "class": "code highlight", "langParams": null, "isFrontmatter": true }, "content": [ { "type": "text", "text": "title: Page title" } ] } ] } 08_04_32__gitlab_internal_extension_markdown__migrated_golden_master_examples__hard_break__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This is a line after a" }, { "type": "hardBreak" }, { "type": "text", "text": "\nhard break" } ] } ] } 08_04_33__gitlab_internal_extension_markdown__migrated_golden_master_examples__headings__001: |- { "type": "doc", "content": [ { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Heading 1" } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Heading 2" } ] }, { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "Heading 3" } ] }, { "type": "heading", "attrs": { "level": 4 }, "content": [ { "type": "text", "text": "Heading 4" } ] }, { "type": "heading", "attrs": { "level": 5 }, "content": [ { "type": "text", "text": "Heading 5" } ] }, { "type": "heading", "attrs": { "level": 6 }, "content": [ { "type": "text", "text": "Heading 6" } ] } ] } 08_04_34__gitlab_internal_extension_markdown__migrated_golden_master_examples__horizontal_rule__001: |- { "type": "doc", "content": [ { "type": "horizontalRule" } ] } 08_04_35__gitlab_internal_extension_markdown__migrated_golden_master_examples__html_marks__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Content editor is" }, { "type": "text", "marks": [ { "type": "strike" } ], "text": "great" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "If the changes" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": ", please" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "The English song" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " looks like this in Hebrew:" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": ". In the computer's memory, this is stored as" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": " by Edvard Munch. Painted in 1893." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": " is the standard markup language for creating web pages." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Do not forget to buy" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " today." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This is a paragraph and" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "The concert starts at" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " and you'll be able to enjoy the band for at least" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Press" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " +" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " to copy text (Windows)." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "WWF's goal is to:" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " We hope they succeed." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "The error occurred was:" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "The area of a triangle is: 1/2 x" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " x" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": ", where" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " is the base, and" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " is the vertical height." } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph" } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "C" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "H" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " + O" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " \t CO" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " + H" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "O" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "The" }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "Pythagorean theorem" }, { "type": "text", "text": " is often expressed as" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " +" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": " =" } ] } ] } ] } ] } 08_04_36__gitlab_internal_extension_markdown__migrated_golden_master_examples__image__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "image", "attrs": { "src": "https://gitlab.com/logo.png", "alt": "alt text", "title": null, "uploading": false, "canonicalSrc": "https://gitlab.com/logo.png", "width": null, "height": null, "isReference": false } } ] } ] } 08_04_37__gitlab_internal_extension_markdown__migrated_golden_master_examples__inline_code__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "code" } ] } ] } 08_04_38__gitlab_internal_extension_markdown__migrated_golden_master_examples__inline_diff__001: |- { "type": "doc", "content": [ { "type": "bulletList", "attrs": { "bullet": "*" }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "{-deleted-}" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "{+added+}" } ] } ] } ] } ] } 08_04_39__gitlab_internal_extension_markdown__migrated_golden_master_examples__label__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "~bug" } ] } ] } 08_04_40__gitlab_internal_extension_markdown__migrated_golden_master_examples__link__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "link", "attrs": { "href": "https://gitlab.com", "target": "_blank", "class": null, "uploading": false, "title": null, "canonicalSrc": "https://gitlab.com", "isReference": false } } ], "text": "GitLab" } ] } ] } 08_04_41__gitlab_internal_extension_markdown__migrated_golden_master_examples__math__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "This math is inline $" }, { "type": "text", "marks": [ { "type": "code" } ], "text": "a^2+b^2=c^2" }, { "type": "text", "text": "$." } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "This is on a separate line:" } ] }, { "type": "codeBlock", "attrs": { "language": "math", "class": "code highlight", "langParams": null }, "content": [ { "type": "text", "text": "a^2+b^2=c^2" } ] } ] } 08_04_42__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_list__001: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 1" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 2" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 3" } ] } ] } ] } ] } 08_04_43__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_list_with_start_order__001: |- { "type": "doc", "content": [ { "type": "orderedList", "attrs": { "start": 1, "parens": false }, "content": [ { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 1" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 2" } ] } ] }, { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "list item 3" } ] } ] } ] } ] } 08_04_45__gitlab_internal_extension_markdown__migrated_golden_master_examples__ordered_task_list_with_order__001: |- { "type": "doc", "content": [ { "type": "taskList", "attrs": { "numeric": true, "start": 1, "parens": false }, "content": [ { "type": "taskItem", "attrs": { "checked": true }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "hello" } ] } ] }, { "type": "taskItem", "attrs": { "checked": true }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "world" } ] } ] }, { "type": "taskItem", "attrs": { "checked": false }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "example" } ] } ] } ] } ] } 08_04_46__gitlab_internal_extension_markdown__migrated_golden_master_examples__reference_for_project_wiki__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hi @gfm_user - thank you for reporting this ~\"UX bug\" (#1) we hope to fix it in %1.1 as part of !1" } ] } ] } 08_04_47__gitlab_internal_extension_markdown__migrated_golden_master_examples__strike__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "strike" } ], "text": "del" } ] } ] } 08_04_48__gitlab_internal_extension_markdown__migrated_golden_master_examples__table__001: |- { "type": "doc", "content": [ { "type": "table", "attrs": { "isMarkdown": null }, "content": [ { "type": "tableRow", "content": [ { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "header" } ] } ] }, { "type": "tableHeader", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "header" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "code" } ], "text": "code" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "cell with " }, { "type": "text", "marks": [ { "type": "bold" } ], "text": "bold" } ] } ] } ] }, { "type": "tableRow", "content": [ { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "marks": [ { "type": "strike" } ], "text": "strike" } ] } ] }, { "type": "tableCell", "attrs": { "colspan": 1, "rowspan": 1, "colwidth": null }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "cell with " }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "italic" } ] } ] } ] } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "content after table" } ] } ] } 08_04_49__gitlab_internal_extension_markdown__migrated_golden_master_examples__table_of_contents__001: |- { "type": "doc", "content": [ { "type": "tableOfContents" }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Lorem" } ] }, { "type": "paragraph", "content": [ { "type": "text", "text": "Well, that's just like... your opinion.. man." } ] }, { "type": "heading", "attrs": { "level": 2 }, "content": [ { "type": "text", "text": "Ipsum" } ] }, { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "Dolar" } ] }, { "type": "heading", "attrs": { "level": 1 }, "content": [ { "type": "text", "text": "Sit amit" } ] }, { "type": "heading", "attrs": { "level": 3 }, "content": [ { "type": "text", "text": "I don't know" } ] } ] } 08_04_51__gitlab_internal_extension_markdown__migrated_golden_master_examples__video__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "video", "attrs": { "uploading": false, "src": "https://gitlab.com/gitlab.mp4", "canonicalSrc": "https://gitlab.com/gitlab.mp4", "alt": "Sample Video" } } ] } ] } 08_04_52__gitlab_internal_extension_markdown__migrated_golden_master_examples__word_break__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Fernstraßenbauprivatfinanzierungsgesetz" } ] } ] } 08_06_00__gitlab_internal_extension_markdown__footnotes__001: |- { "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "footnote reference tag " }, { "type": "footnoteReference", "attrs": { "identifier": "fortytwo", "label": "fortytwo" } } ] }, { "type": "footnoteDefinition", "attrs": { "identifier": "fortytwo", "label": "fortytwo" }, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "footnote text" } ] } ] } ] } X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'none' Content-Type: text/plain; charset=UTF-8 Content-Length: 921336 Content-Disposition: inline; filename="snapshot_spec.html" Last-Modified: Tue, 02 Jul 2024 14:21:09 GMT Expires: Tue, 02 Jul 2024 14:26:09 GMT ETag: "1fb5350cbe325045eb045907bb747a47e65ddd0d" <!DOCTYPE html> <!-- NOTE: Styling is based on the CommonMark specification template: --> <!-- - https://github.com/commonmark/commonmark-spec/blob/master/tools/make_spec.lua --> <!-- - https://github.com/commonmark/commonmark-spec/blob/master/tools/template.html --> <!-- --> <!-- NOTE: 'TODO:' comments will be followed up as task(s) on this issue: --> <!-- - https://gitlab.com/gitlab-org/gitlab/-/issues/361241 --> <html lang="en"> <head> <meta charset="UTF-8"> <title>GitLab Flavored Markdown Internal Extensions

GitLab Flavored Markdown Internal Extensions

Version alpha

Preliminaries

Characters and lines

Any sequence of [characters] is a valid CommonMark document.

A character is a Unicode code point. Although some code points (for example, combining accents) do not correspond to characters in an intuitive sense, all code points count as characters for purposes of this spec.

This spec does not specify an encoding; it thinks of lines as composed of [characters] rather than bytes. A conforming parser may be limited to a certain encoding.

A line is a sequence of zero or more [characters] other than newline (U+000A) or carriage return (U+000D), followed by a [line ending] or by the end of file.

A line ending is a newline (U+000A), a carriage return (U+000D) not followed by a newline, or a carriage return and a following newline.

A line containing no characters, or a line containing only spaces (U+0020) or tabs (U+0009), is called a blank line.

The following definitions of character classes will be used in this spec:

A whitespace character is a space (U+0020), tab (U+0009), newline (U+000A), line tabulation (U+000B), form feed (U+000C), or carriage return (U+000D).

Whitespace is a sequence of one or more [whitespace characters].

A Unicode whitespace character is any code point in the Unicode Zs general category, or a tab (U+0009), carriage return (U+000D), newline (U+000A), or form feed (U+000C).

Unicode whitespace is a sequence of one or more [Unicode whitespace characters].

A space is U+0020.

A non-whitespace character is any character that is not a [whitespace character].

An ASCII punctuation character is !, ", #, $, %, &, ', (, ), *, +, ,, -, ., / (U+0021–2F), :, ;, <, =, >, ?, @ (U+003A–0040), [, \, ], ^, _, ` (U+005B–0060), {, |, }, or ~ (U+007B–007E).

A punctuation character is an [ASCII punctuation character] or anything in the general Unicode categories Pc, Pd, Pe, Pf, Pi, Po, or Ps.

Tabs

Tabs in lines are not expanded to [spaces]. However, in contexts where whitespace helps to define block structure, tabs behave as if they were replaced by spaces with a tab stop of 4 characters.

Thus, for example, a tab can be used instead of four spaces in an indented code block. (Note, however, that internal tabs are passed through as literal tabs, not expanded to spaces.)

→foo→baz→→bim
<pre><code>foo→baz→→bim
</code></pre>
  →foo→baz→→bim
<pre><code>foo→baz→→bim
</code></pre>
    a→a
    ὐ→a
<pre><code>a→a
ὐ→a
</code></pre>

In the following example, a continuation paragraph of a list item is indented with a tab; this has exactly the same effect as indentation with four spaces would:

  - foo

→bar
<ul>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ul>
- foo

→→bar
<ul>
<li>
<p>foo</p>
<pre><code>  bar
</code></pre>
</li>
</ul>

Normally the > that begins a block quote may be followed optionally by a space, which is not considered part of the content. In the following case > is followed by a tab, which is treated as if it were expanded into three spaces. Since one of these spaces is considered part of the delimiter, foo is considered to be indented six spaces inside the block quote context, so we get an indented code block starting with two spaces.

>→→foo
<blockquote>
<pre><code>  foo
</code></pre>
</blockquote>
-→→foo
<ul>
<li>
<pre><code>  foo
</code></pre>
</li>
</ul>
    foo
→bar
<pre><code>foo
bar
</code></pre>
 - foo
   - bar
→ - baz
<ul>
<li>foo
<ul>
<li>bar
<ul>
<li>baz</li>
</ul>
</li>
</ul>
</li>
</ul>
#→Foo
<h1>Foo</h1>
*→*→*→
<hr />

Insecure characters

For security reasons, the Unicode character U+0000 must be replaced with the REPLACEMENT CHARACTER (U+FFFD).

Blocks and inlines

We can think of a document as a sequence of blocks---structural elements like paragraphs, block quotations, lists, headings, rules, and code blocks. Some blocks (like block quotes and list items) contain other blocks; others (like headings and paragraphs) contain inline content---text, links, emphasized text, images, code spans, and so on.

Precedence

Indicators of block structure always take precedence over indicators of inline structure. So, for example, the following is a list with two items, not a list with one item containing a code span:

- `one
- two`
<ul>
<li>`one</li>
<li>two`</li>
</ul>

This means that parsing can proceed in two steps: first, the block structure of the document can be discerned; second, text lines inside paragraphs, headings, and other block constructs can be parsed for inline structure. The second step requires information about link reference definitions that will be available only at the end of the first step. Note that the first step requires processing lines in sequence, but the second can be parallelized, since the inline parsing of one block element does not affect the inline parsing of any other.

Container blocks and leaf blocks

We can divide blocks into two types: container blocks, which can contain other blocks, and leaf blocks, which cannot.

Leaf blocks

This section describes the different kinds of leaf block that make up a Markdown document.

Thematic breaks

A line consisting of 0-3 spaces of indentation, followed by a sequence of three or more matching -, _, or * characters, each followed optionally by any number of spaces or tabs, forms a thematic break.

***
---
___
<hr />
<hr />
<hr />

Wrong characters:

+++
<p>+++</p>
===
<p>===</p>

Not enough characters:

--
**
__
<p>--
**
__</p>

One to three spaces indent are allowed:

 ***
  ***
   ***
<hr />
<hr />
<hr />

Four spaces is too many:

    ***
<pre><code>***
</code></pre>
Foo
    ***
<p>Foo
***</p>

More than three characters may be used:

_____________________________________
<hr />

Spaces are allowed between the characters:

 - - -
<hr />
 **  * ** * ** * **
<hr />
-     -      -      -
<hr />

Spaces are allowed at the end:

- - - -    
<hr />

However, no other characters may occur in the line:

_ _ _ _ a

a------

---a---
<p>_ _ _ _ a</p>
<p>a------</p>
<p>---a---</p>

It is required that all of the [non-whitespace characters] be the same. So, this is not a thematic break:

 *-*
<p><em>-</em></p>

Thematic breaks do not need blank lines before or after:

- foo
***
- bar
<ul>
<li>foo</li>
</ul>
<hr />
<ul>
<li>bar</li>
</ul>

Thematic breaks can interrupt a paragraph:

Foo
***
bar
<p>Foo</p>
<hr />
<p>bar</p>

If a line of dashes that meets the above conditions for being a thematic break could also be interpreted as the underline of a [setext heading], the interpretation as a [setext heading] takes precedence. Thus, for example, this is a setext heading, not a paragraph followed by a thematic break:

Foo
---
bar
<h2>Foo</h2>
<p>bar</p>

When both a thematic break and a list item are possible interpretations of a line, the thematic break takes precedence:

* Foo
* * *
* Bar
<ul>
<li>Foo</li>
</ul>
<hr />
<ul>
<li>Bar</li>
</ul>

If you want a thematic break in a list item, use a different bullet:

- Foo
- * * *
<ul>
<li>Foo</li>
<li>
<hr />
</li>
</ul>

ATX headings

An ATX heading consists of a string of characters, parsed as inline content, between an opening sequence of 1--6 unescaped # characters and an optional closing sequence of any number of unescaped # characters. The opening sequence of # characters must be followed by a [space] or by the end of line. The optional closing sequence of #s must be preceded by a [space] and may be followed by spaces only. The opening # character may be indented 0-3 spaces. The raw contents of the heading are stripped of leading and trailing spaces before being parsed as inline content. The heading level is equal to the number of # characters in the opening sequence.

Simple headings:

# foo
## foo
### foo
#### foo
##### foo
###### foo
<h1>foo</h1>
<h2>foo</h2>
<h3>foo</h3>
<h4>foo</h4>
<h5>foo</h5>
<h6>foo</h6>

More than six # characters is not a heading:

####### foo
<p>####### foo</p>

At least one space is required between the # characters and the heading's contents, unless the heading is empty. Note that many implementations currently do not require the space. However, the space was required by the original ATX implementation, and it helps prevent things like the following from being parsed as headings:

#5 bolt

#hashtag
<p>#5 bolt</p>
<p>#hashtag</p>

This is not a heading, because the first # is escaped:

\## foo
<p>## foo</p>

Contents are parsed as inlines:

# foo *bar* \*baz\*
<h1>foo <em>bar</em> *baz*</h1>

Leading and trailing [whitespace] is ignored in parsing inline content:

#                  foo                     
<h1>foo</h1>

One to three spaces indentation are allowed:

 ### foo
  ## foo
   # foo
<h3>foo</h3>
<h2>foo</h2>
<h1>foo</h1>

Four spaces are too much:

    # foo
<pre><code># foo
</code></pre>
foo
    # bar
<p>foo
# bar</p>

A closing sequence of # characters is optional:

## foo ##
  ###   bar    ###
<h2>foo</h2>
<h3>bar</h3>

It need not be the same length as the opening sequence:

# foo ##################################
##### foo ##
<h1>foo</h1>
<h5>foo</h5>

Spaces are allowed after the closing sequence:

### foo ###     
<h3>foo</h3>

A sequence of # characters with anything but [spaces] following it is not a closing sequence, but counts as part of the contents of the heading:

### foo ### b
<h3>foo ### b</h3>

The closing sequence must be preceded by a space:

# foo#
<h1>foo#</h1>

Backslash-escaped # characters do not count as part of the closing sequence:

### foo \###
## foo #\##
# foo \#
<h3>foo ###</h3>
<h2>foo ###</h2>
<h1>foo #</h1>

ATX headings need not be separated from surrounding content by blank lines, and they can interrupt paragraphs:

****
## foo
****
<hr />
<h2>foo</h2>
<hr />
Foo bar
# baz
Bar foo
<p>Foo bar</p>
<h1>baz</h1>
<p>Bar foo</p>

ATX headings can be empty:

## 
#
### ###
<h2></h2>
<h1></h1>
<h3></h3>

Setext headings

A setext heading consists of one or more lines of text, each containing at least one [non-whitespace character], with no more than 3 spaces indentation, followed by a [setext heading underline]. The lines of text must be such that, were they not followed by the setext heading underline, they would be interpreted as a paragraph: they cannot be interpretable as a [code fence], [ATX heading][ATX headings], [block quote][block quotes], [thematic break][thematic breaks], [list item][list items], or [HTML block][HTML blocks].

A setext heading underline is a sequence of = characters or a sequence of - characters, with no more than 3 spaces indentation and any number of trailing spaces. If a line containing a single - can be interpreted as an empty [list items], it should be interpreted this way and not as a [setext heading underline].

The heading is a level 1 heading if = characters are used in the [setext heading underline], and a level 2 heading if - characters are used. The contents of the heading are the result of parsing the preceding lines of text as CommonMark inline content.

In general, a setext heading need not be preceded or followed by a blank line. However, it cannot interrupt a paragraph, so when a setext heading comes after a paragraph, a blank line is needed between them.

Simple examples:

Foo *bar*
=========

Foo *bar*
---------
<h1>Foo <em>bar</em></h1>
<h2>Foo <em>bar</em></h2>

The content of the header may span more than one line:

Foo *bar
baz*
====
<h1>Foo <em>bar
baz</em></h1>

The contents are the result of parsing the headings's raw content as inlines. The heading's raw content is formed by concatenating the lines and removing initial and final [whitespace].

  Foo *bar
baz*→
====
<h1>Foo <em>bar
baz</em></h1>

The underlining can be any length:

Foo
-------------------------

Foo
=
<h2>Foo</h2>
<h1>Foo</h1>

The heading content can be indented up to three spaces, and need not line up with the underlining:

   Foo
---

  Foo
-----

  Foo
  ===
<h2>Foo</h2>
<h2>Foo</h2>
<h1>Foo</h1>

Four spaces indent is too much:

    Foo
    ---

    Foo
---
<pre><code>Foo
---

Foo
</code></pre>
<hr />

The setext heading underline can be indented up to three spaces, and may have trailing spaces:

Foo
   ----      
<h2>Foo</h2>

Four spaces is too much:

Foo
    ---
<p>Foo
---</p>

The setext heading underline cannot contain internal spaces:

Foo
= =

Foo
--- -
<p>Foo
= =</p>
<p>Foo</p>
<hr />

Trailing spaces in the content line do not cause a line break:

Foo  
-----
<h2>Foo</h2>

Nor does a backslash at the end:

Foo\
----
<h2>Foo\</h2>

Since indicators of block structure take precedence over indicators of inline structure, the following are setext headings:

`Foo
----
`

<a title="a lot
---
of dashes"/>
<h2>`Foo</h2>
<p>`</p>
<h2>&lt;a title=&quot;a lot</h2>
<p>of dashes&quot;/&gt;</p>

The setext heading underline cannot be a [lazy continuation line] in a list item or block quote:

> Foo
---
<blockquote>
<p>Foo</p>
</blockquote>
<hr />
> foo
bar
===
<blockquote>
<p>foo
bar
===</p>
</blockquote>
- Foo
---
<ul>
<li>Foo</li>
</ul>
<hr />

A blank line is needed between a paragraph and a following setext heading, since otherwise the paragraph becomes part of the heading's content:

Foo
Bar
---
<h2>Foo
Bar</h2>

But in general a blank line is not required before or after setext headings:

---
Foo
---
Bar
---
Baz
<hr />
<h2>Foo</h2>
<h2>Bar</h2>
<p>Baz</p>

Setext headings cannot be empty:


====
<p>====</p>

Setext heading text lines must not be interpretable as block constructs other than paragraphs. So, the line of dashes in these examples gets interpreted as a thematic break:

---
---
<hr />
<hr />
- foo
-----
<ul>
<li>foo</li>
</ul>
<hr />
    foo
---
<pre><code>foo
</code></pre>
<hr />
> foo
-----
<blockquote>
<p>foo</p>
</blockquote>
<hr />

If you want a heading with > foo as its literal text, you can use backslash escapes:

\> foo
------
<h2>&gt; foo</h2>

Compatibility note: Most existing Markdown implementations do not allow the text of setext headings to span multiple lines. But there is no consensus about how to interpret

Foo
bar
---
baz

One can find four different interpretations:

  1. paragraph "Foo", heading "bar", paragraph "baz"
  2. paragraph "Foo bar", thematic break, paragraph "baz"
  3. paragraph "Foo bar --- baz"
  4. heading "Foo bar", paragraph "baz"

We find interpretation 4 most natural, and interpretation 4 increases the expressive power of CommonMark, by allowing multiline headings. Authors who want interpretation 1 can put a blank line after the first paragraph:

Foo

bar
---
baz
<p>Foo</p>
<h2>bar</h2>
<p>baz</p>

Authors who want interpretation 2 can put blank lines around the thematic break,

Foo
bar

---

baz
<p>Foo
bar</p>
<hr />
<p>baz</p>

or use a thematic break that cannot count as a [setext heading underline], such as

Foo
bar
* * *
baz
<p>Foo
bar</p>
<hr />
<p>baz</p>

Authors who want interpretation 3 can use backslash escapes:

Foo
bar
\---
baz
<p>Foo
bar
---
baz</p>

Indented code blocks

An indented code block is composed of one or more [indented chunks] separated by blank lines. An indented chunk is a sequence of non-blank lines, each indented four or more spaces. The contents of the code block are the literal contents of the lines, including trailing [line endings], minus four spaces of indentation. An indented code block has no [info string].

An indented code block cannot interrupt a paragraph, so there must be a blank line between a paragraph and a following indented code block. (A blank line is not needed, however, between a code block and a following paragraph.)

    a simple
      indented code block
<pre><code>a simple
  indented code block
</code></pre>

If there is any ambiguity between an interpretation of indentation as a code block and as indicating that material belongs to a [list item][list items], the list item interpretation takes precedence:

  - foo

    bar
<ul>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ul>
1.  foo

    - bar
<ol>
<li>
<p>foo</p>
<ul>
<li>bar</li>
</ul>
</li>
</ol>

The contents of a code block are literal text, and do not get parsed as Markdown:

    <a/>
    *hi*

    - one
<pre><code>&lt;a/&gt;
*hi*

- one
</code></pre>

Here we have three chunks separated by blank lines:

    chunk1

    chunk2
  
 
 
    chunk3
<pre><code>chunk1

chunk2



chunk3
</code></pre>

Any initial spaces beyond four will be included in the content, even in interior blank lines:

    chunk1
      
      chunk2
<pre><code>chunk1
  
  chunk2
</code></pre>

An indented code block cannot interrupt a paragraph. (This allows hanging indents and the like.)

Foo
    bar
<p>Foo
bar</p>

However, any non-blank line with fewer than four leading spaces ends the code block immediately. So a paragraph may occur immediately after indented code:

    foo
bar
<pre><code>foo
</code></pre>
<p>bar</p>

And indented code can occur immediately before and after other kinds of blocks:

# Heading
    foo
Heading
------
    foo
----
<h1>Heading</h1>
<pre><code>foo
</code></pre>
<h2>Heading</h2>
<pre><code>foo
</code></pre>
<hr />

The first line can be indented more than four spaces:

        foo
    bar
<pre><code>    foo
bar
</code></pre>

Blank lines preceding or following an indented code block are not included in it:


    
    foo
    
<pre><code>foo
</code></pre>

Trailing spaces are included in the code block's content:

    foo  
<pre><code>foo  
</code></pre>

Fenced code blocks

A code fence is a sequence of at least three consecutive backtick characters (`) or tildes (~). (Tildes and backticks cannot be mixed.) A fenced code block begins with a code fence, indented no more than three spaces.

The line with the opening code fence may optionally contain some text following the code fence; this is trimmed of leading and trailing whitespace and called the info string. If the [info string] comes after a backtick fence, it may not contain any backtick characters. (The reason for this restriction is that otherwise some inline code would be incorrectly interpreted as the beginning of a fenced code block.)

The content of the code block consists of all subsequent lines, until a closing [code fence] of the same type as the code block began with (backticks or tildes), and with at least as many backticks or tildes as the opening code fence. If the leading code fence is indented N spaces, then up to N spaces of indentation are removed from each line of the content (if present). (If a content line is not indented, it is preserved unchanged. If it is indented less than N spaces, all of the indentation is removed.)

The closing code fence may be indented up to three spaces, and may be followed only by spaces, which are ignored. If the end of the containing block (or document) is reached and no closing code fence has been found, the code block contains all of the lines after the opening code fence until the end of the containing block (or document). (An alternative spec would require backtracking in the event that a closing code fence is not found. But this makes parsing much less efficient, and there seems to be no real down side to the behavior described here.)

A fenced code block may interrupt a paragraph, and does not require a blank line either before or after.

The content of a code fence is treated as literal text, not parsed as inlines. The first word of the [info string] is typically used to specify the language of the code sample, and rendered in the class attribute of the code tag. However, this spec does not mandate any particular treatment of the [info string].

Here is a simple example with backticks:

```
<
 >
```
<pre><code>&lt;
 &gt;
</code></pre>

With tildes:

~~~
<
 >
~~~
<pre><code>&lt;
 &gt;
</code></pre>

Fewer than three backticks is not enough:

``
foo
``
<p><code>foo</code></p>

The closing code fence must use the same character as the opening fence:

```
aaa
~~~
```
<pre><code>aaa
~~~
</code></pre>
~~~
aaa
```
~~~
<pre><code>aaa
```
</code></pre>

The closing code fence must be at least as long as the opening fence:

````
aaa
```
``````
<pre><code>aaa
```
</code></pre>
~~~~
aaa
~~~
~~~~
<pre><code>aaa
~~~
</code></pre>

Unclosed code blocks are closed by the end of the document (or the enclosing [block quote][block quotes] or [list item][list items]):

```
<pre><code></code></pre>
`````

```
aaa
<pre><code>
```
aaa
</code></pre>
> ```
> aaa

bbb
<blockquote>
<pre><code>aaa
</code></pre>
</blockquote>
<p>bbb</p>

A code block can have all empty lines as its content:

```

  
```
<pre><code>
  
</code></pre>

A code block can be empty:

```
```
<pre><code></code></pre>

Fences can be indented. If the opening fence is indented, content lines will have equivalent opening indentation removed, if present:

 ```
 aaa
aaa
```
<pre><code>aaa
aaa
</code></pre>
  ```
aaa
  aaa
aaa
  ```
<pre><code>aaa
aaa
aaa
</code></pre>
   ```
   aaa
    aaa
  aaa
   ```
<pre><code>aaa
 aaa
aaa
</code></pre>

Four spaces indentation produces an indented code block:

    ```
    aaa
    ```
<pre><code>```
aaa
```
</code></pre>

Closing fences may be indented by 0-3 spaces, and their indentation need not match that of the opening fence:

```
aaa
  ```
<pre><code>aaa
</code></pre>
   ```
aaa
  ```
<pre><code>aaa
</code></pre>

This is not a closing fence, because it is indented 4 spaces:

```
aaa
    ```
<pre><code>aaa
    ```
</code></pre>

Code fences (opening and closing) cannot contain internal spaces:

``` ```
aaa
<p><code> </code>
aaa</p>
~~~~~~
aaa
~~~ ~~
<pre><code>aaa
~~~ ~~
</code></pre>

Fenced code blocks can interrupt paragraphs, and can be followed directly by paragraphs, without a blank line between:

foo
```
bar
```
baz
<p>foo</p>
<pre><code>bar
</code></pre>
<p>baz</p>

Other blocks can also occur before and after fenced code blocks without an intervening blank line:

foo
---
~~~
bar
~~~
# baz
<h2>foo</h2>
<pre><code>bar
</code></pre>
<h1>baz</h1>

An [info string] can be provided after the opening code fence. Although this spec doesn't mandate any particular treatment of the info string, the first word is typically used to specify the language of the code block. In HTML output, the language is normally indicated by adding a class to the code element consisting of language- followed by the language name.

```ruby
def foo(x)
  return 3
end
```
<pre><code class="language-ruby">def foo(x)
  return 3
end
</code></pre>
~~~~    ruby startline=3 $%@#$
def foo(x)
  return 3
end
~~~~~~~
<pre><code class="language-ruby">def foo(x)
  return 3
end
</code></pre>
````;
````
<pre><code class="language-;"></code></pre>

[Info strings] for backtick code blocks cannot contain backticks:

``` aa ```
foo
<p><code>aa</code>
foo</p>

[Info strings] for tilde code blocks can contain backticks and tildes:

~~~ aa ``` ~~~
foo
~~~
<pre><code class="language-aa">foo
</code></pre>

Closing code fences cannot have [info strings]:

```
``` aaa
```
<pre><code>``` aaa
</code></pre>

HTML blocks

An HTML block is a group of lines that is treated as raw HTML (and will not be escaped in HTML output).

There are seven kinds of [HTML block], which can be defined by their start and end conditions. The block begins with a line that meets a start condition (after up to three spaces optional indentation). It ends with the first subsequent line that meets a matching end condition, or the last line of the document, or the last line of the container block containing the current HTML block, if no line is encountered that meets the [end condition]. If the first line meets both the [start condition] and the [end condition], the block will contain just that line.

  1. Start condition: line begins with the string <script, <pre, or <style (case-insensitive), followed by whitespace, the string >, or the end of the line.
    End condition: line contains an end tag </script>, </pre>, or </style> (case-insensitive; it need not match the start tag).

  2. Start condition: line begins with the string <!--.
    End condition: line contains the string -->.

  3. Start condition: line begins with the string <?.
    End condition: line contains the string ?>.

  4. Start condition: line begins with the string <! followed by an uppercase ASCII letter.
    End condition: line contains the character >.

  5. Start condition: line begins with the string <![CDATA[.
    End condition: line contains the string ]]>.

  6. Start condition: line begins the string < or </ followed by one of the strings (case-insensitive) address, article, aside, base, basefont, blockquote, body, caption, center, col, colgroup, dd, details, dialog, dir, div, dl, dt, fieldset, figcaption, figure, footer, form, frame, frameset, h1, h2, h3, h4, h5, h6, head, header, hr, html, iframe, legend, li, link, main, menu, menuitem, nav, noframes, ol, optgroup, option, p, param, section, summary, table, tbody, td, tfoot, th, thead, title, tr, track, ul, followed by [whitespace], the end of the line, the string >, or the string />.
    End condition: line is followed by a [blank line].

  7. Start condition: line begins with a complete [open tag] (with any [tag name] other than script, style, or pre) or a complete [closing tag], followed only by [whitespace] or the end of the line.
    End condition: line is followed by a [blank line].

HTML blocks continue until they are closed by their appropriate [end condition], or the last line of the document or other container block. This means any HTML within an HTML block that might otherwise be recognised as a start condition will be ignored by the parser and passed through as-is, without changing the parser's state.

For instance, <pre> within a HTML block started by <table> will not affect the parser state; as the HTML block was started in by start condition 6, it will end at any blank line. This can be surprising:

<table><tr><td>
<pre>
**Hello**,

_world_.
</pre>
</td></tr></table>
<table><tr><td>
<pre>
**Hello**,
<p><em>world</em>.
</pre></p>
</td></tr></table>

In this case, the HTML block is terminated by the newline — the **Hello** text remains verbatim — and regular parsing resumes, with a paragraph, emphasised world and inline and block HTML following.

All types of [HTML blocks] except type 7 may interrupt a paragraph. Blocks of type 7 may not interrupt a paragraph. (This restriction is intended to prevent unwanted interpretation of long tags inside a wrapped paragraph as starting HTML blocks.)

Some simple examples follow. Here are some basic HTML blocks of type 6:

<table>
  <tr>
    <td>
           hi
    </td>
  </tr>
</table>

okay.
<table>
  <tr>
    <td>
           hi
    </td>
  </tr>
</table>
<p>okay.</p>
 <div>
  *hello*
         <foo><a>
 <div>
  *hello*
         <foo><a>

A block can also start with a closing tag:

</div>
*foo*
</div>
*foo*

Here we have two HTML blocks with a Markdown paragraph between them:

<DIV CLASS="foo">

*Markdown*

</DIV>
<DIV CLASS="foo">
<p><em>Markdown</em></p>
</DIV>

The tag on the first line can be partial, as long as it is split where there would be whitespace:

<div id="foo"
  class="bar">
</div>
<div id="foo"
  class="bar">
</div>
<div id="foo" class="bar
  baz">
</div>
<div id="foo" class="bar
  baz">
</div>

An open tag need not be closed:

<div>
*foo*

*bar*
<div>
*foo*
<p><em>bar</em></p>

A partial tag need not even be completed (garbage in, garbage out):

<div id="foo"
*hi*
<div id="foo"
*hi*
<div class
foo
<div class
foo

The initial tag doesn't even need to be a valid tag, as long as it starts like one:

<div *???-&&&-<---
*foo*
<div *???-&&&-<---
*foo*

In type 6 blocks, the initial tag need not be on a line by itself:

<div><a href="bar">*foo*</a></div>
<div><a href="bar">*foo*</a></div>
<table><tr><td>
foo
</td></tr></table>
<table><tr><td>
foo
</td></tr></table>

Everything until the next blank line or end of document gets included in the HTML block. So, in the following example, what looks like a Markdown code block is actually part of the HTML block, which continues until a blank line or the end of the document is reached:

<div></div>
``` c
int x = 33;
```
<div></div>
``` c
int x = 33;
```

To start an [HTML block] with a tag that is not in the list of block-level tags in (6), you must put the tag by itself on the first line (and it must be complete):

<a href="foo">
*bar*
</a>
<a href="foo">
*bar*
</a>

In type 7 blocks, the [tag name] can be anything:

<Warning>
*bar*
</Warning>
<Warning>
*bar*
</Warning>
<i class="foo">
*bar*
</i>
<i class="foo">
*bar*
</i>
</ins>
*bar*
</ins>
*bar*

These rules are designed to allow us to work with tags that can function as either block-level or inline-level tags. The <del> tag is a nice example. We can surround content with <del> tags in three different ways. In this case, we get a raw HTML block, because the <del> tag is on a line by itself:

<del>
*foo*
</del>
<del>
*foo*
</del>

In this case, we get a raw HTML block that just includes the <del> tag (because it ends with the following blank line). So the contents get interpreted as CommonMark:

<del>

*foo*

</del>
<del>
<p><em>foo</em></p>
</del>

Finally, in this case, the <del> tags are interpreted as [raw HTML] inside the CommonMark paragraph. (Because the tag is not on a line by itself, we get inline HTML rather than an [HTML block].)

<del>*foo*</del>
<p><del><em>foo</em></del></p>

HTML tags designed to contain literal content (script, style, pre), comments, processing instructions, and declarations are treated somewhat differently. Instead of ending at the first blank line, these blocks end at the first line containing a corresponding end tag. As a result, these blocks can contain blank lines:

A pre tag (type 1):

<pre language="haskell"><code>
import Text.HTML.TagSoup

main :: IO ()
main = print $ parseTags tags
</code></pre>
okay
<pre language="haskell"><code>
import Text.HTML.TagSoup

main :: IO ()
main = print $ parseTags tags
</code></pre>
<p>okay</p>

A script tag (type 1):

<script type="text/javascript">
// JavaScript example

document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
okay
<script type="text/javascript">
// JavaScript example

document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
<p>okay</p>

A style tag (type 1):

<style
  type="text/css">
h1 {color:red;}

p {color:blue;}
</style>
okay
<style
  type="text/css">
h1 {color:red;}

p {color:blue;}
</style>
<p>okay</p>

If there is no matching end tag, the block will end at the end of the document (or the enclosing [block quote][block quotes] or [list item][list items]):

<style
  type="text/css">

foo
<style
  type="text/css">

foo
> <div>
> foo

bar
<blockquote>
<div>
foo
</blockquote>
<p>bar</p>
- <div>
- foo
<ul>
<li>
<div>
</li>
<li>foo</li>
</ul>

The end tag can occur on the same line as the start tag:

<style>p{color:red;}</style>
*foo*
<style>p{color:red;}</style>
<p><em>foo</em></p>
<!-- foo -->*bar*
*baz*
<!-- foo -->*bar*
<p><em>baz</em></p>

Note that anything on the last line after the end tag will be included in the [HTML block]:

<script>
foo
</script>1. *bar*
<script>
foo
</script>1. *bar*

A comment (type 2):

<!-- Foo

bar
   baz -->
okay
<!-- Foo

bar
   baz -->
<p>okay</p>

A processing instruction (type 3):

<?php

  echo '>';

?>
okay
<?php

  echo '>';

?>
<p>okay</p>

A declaration (type 4):

<!DOCTYPE html>
<!DOCTYPE html>

CDATA (type 5):

<![CDATA[
function matchwo(a,b)
{
  if (a < b && a < 0) then {
    return 1;

  } else {

    return 0;
  }
}
]]>
okay
<![CDATA[
function matchwo(a,b)
{
  if (a < b && a < 0) then {
    return 1;

  } else {

    return 0;
  }
}
]]>
<p>okay</p>

The opening tag can be indented 1-3 spaces, but not 4:

  <!-- foo -->

    <!-- foo -->
  <!-- foo -->
<pre><code>&lt;!-- foo --&gt;
</code></pre>
  <div>

    <div>
  <div>
<pre><code>&lt;div&gt;
</code></pre>

An HTML block of types 1--6 can interrupt a paragraph, and need not be preceded by a blank line.

Foo
<div>
bar
</div>
<p>Foo</p>
<div>
bar
</div>

However, a following blank line is needed, except at the end of a document, and except for blocks of types 1--5, [above][HTML block]:

<div>
bar
</div>
*foo*
<div>
bar
</div>
*foo*

HTML blocks of type 7 cannot interrupt a paragraph:

Foo
<a href="bar">
baz
<p>Foo
<a href="bar">
baz</p>

This rule differs from John Gruber's original Markdown syntax specification, which says:

The only restrictions are that block-level HTML elements — e.g. <div>, <table>, <pre>, <p>, etc. — must be separated from surrounding content by blank lines, and the start and end tags of the block should not be indented with tabs or spaces.

In some ways Gruber's rule is more restrictive than the one given here:

  • It requires that an HTML block be preceded by a blank line.
  • It does not allow the start tag to be indented.
  • It requires a matching end tag, which it also does not allow to be indented.

Most Markdown implementations (including some of Gruber's own) do not respect all of these restrictions.

There is one respect, however, in which Gruber's rule is more liberal than the one given here, since it allows blank lines to occur inside an HTML block. There are two reasons for disallowing them here. First, it removes the need to parse balanced tags, which is expensive and can require backtracking from the end of the document if no matching end tag is found. Second, it provides a very simple and flexible way of including Markdown content inside HTML tags: simply separate the Markdown from the HTML using blank lines:

Compare:

<div>

*Emphasized* text.

</div>
<div>
<p><em>Emphasized</em> text.</p>
</div>
<div>
*Emphasized* text.
</div>
<div>
*Emphasized* text.
</div>

Some Markdown implementations have adopted a convention of interpreting content inside tags as text if the open tag has the attribute markdown=1. The rule given above seems a simpler and more elegant way of achieving the same expressive power, which is also much simpler to parse.

The main potential drawback is that one can no longer paste HTML blocks into Markdown documents with 100% reliability. However, in most cases this will work fine, because the blank lines in HTML are usually followed by HTML block tags. For example:

<table>

<tr>

<td>
Hi
</td>

</tr>

</table>
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>

There are problems, however, if the inner tags are indented and separated by spaces, as then they will be interpreted as an indented code block:

<table>

  <tr>

    <td>
      Hi
    </td>

  </tr>

</table>
<table>
  <tr>
<pre><code>&lt;td&gt;
  Hi
&lt;/td&gt;
</code></pre>
  </tr>
</table>

Fortunately, blank lines are usually not necessary and can be deleted. The exception is inside <pre> tags, but as described [above][HTML blocks], raw HTML blocks starting with <pre> can contain blank lines.

Link reference definitions

A link reference definition consists of a [link label], indented up to three spaces, followed by a colon (:), optional [whitespace] (including up to one [line ending]), a [link destination], optional [whitespace] (including up to one [line ending]), and an optional [link title], which if it is present must be separated from the [link destination] by [whitespace]. No further [non-whitespace characters] may occur on the line.

A [link reference definition] does not correspond to a structural element of a document. Instead, it defines a label which can be used in [reference links] and reference-style [images] elsewhere in the document. [Link reference definitions] can come either before or after the links that use them.

[foo]: /url "title"

[foo]
<p><a href="/url" title="title">foo</a></p>
   [foo]: 
      /url  
           'the title'  

[foo]
<p><a href="/url" title="the title">foo</a></p>
[Foo*bar\]]:my_(url) 'title (with parens)'

[Foo*bar\]]
<p><a href="my_(url)" title="title (with parens)">Foo*bar]</a></p>
[Foo bar]:
<my url>
'title'

[Foo bar]
<p><a href="my%20url" title="title">Foo bar</a></p>

The title may extend over multiple lines:

[foo]: /url '
title
line1
line2
'

[foo]
<p><a href="/url" title="
title
line1
line2
">foo</a></p>

However, it may not contain a [blank line]:

[foo]: /url 'title

with blank line'

[foo]
<p>[foo]: /url 'title</p>
<p>with blank line'</p>
<p>[foo]</p>

The title may be omitted:

[foo]:
/url

[foo]
<p><a href="/url">foo</a></p>

The link destination may not be omitted:

[foo]:

[foo]
<p>[foo]:</p>
<p>[foo]</p>

However, an empty link destination may be specified using angle brackets:

[foo]: <>

[foo]
<p><a href="">foo</a></p>

The title must be separated from the link destination by whitespace:

[foo]: <bar>(baz)

[foo]
<p>[foo]: <bar>(baz)</p>
<p>[foo]</p>

Both title and destination can contain backslash escapes and literal backslashes:

[foo]: /url\bar\*baz "foo\"bar\baz"

[foo]
<p><a href="/url%5Cbar*baz" title="foo&quot;bar\baz">foo</a></p>

A link can come before its corresponding definition:

[foo]

[foo]: url
<p><a href="url">foo</a></p>

If there are several matching definitions, the first one takes precedence:

[foo]

[foo]: first
[foo]: second
<p><a href="first">foo</a></p>

As noted in the section on [Links], matching of labels is case-insensitive (see [matches]).

[FOO]: /url

[Foo]
<p><a href="/url">Foo</a></p>
[ΑΓΩ]: /φου

[αγω]
<p><a href="/%CF%86%CE%BF%CF%85">αγω</a></p>

Here is a link reference definition with no corresponding link. It contributes nothing to the document.

[foo]: /url

Here is another one:

[
foo
]: /url
bar
<p>bar</p>

This is not a link reference definition, because there are [non-whitespace characters] after the title:

[foo]: /url "title" ok
<p>[foo]: /url &quot;title&quot; ok</p>

This is a link reference definition, but it has no title:

[foo]: /url
"title" ok
<p>&quot;title&quot; ok</p>

This is not a link reference definition, because it is indented four spaces:

    [foo]: /url "title"

[foo]
<pre><code>[foo]: /url &quot;title&quot;
</code></pre>
<p>[foo]</p>

This is not a link reference definition, because it occurs inside a code block:

```
[foo]: /url
```

[foo]
<pre><code>[foo]: /url
</code></pre>
<p>[foo]</p>

A [link reference definition] cannot interrupt a paragraph.

Foo
[bar]: /baz

[bar]
<p>Foo
[bar]: /baz</p>
<p>[bar]</p>

However, it can directly follow other block elements, such as headings and thematic breaks, and it need not be followed by a blank line.

# [Foo]
[foo]: /url
> bar
<h1><a href="/url">Foo</a></h1>
<blockquote>
<p>bar</p>
</blockquote>
[foo]: /url
bar
===
[foo]
<h1>bar</h1>
<p><a href="/url">foo</a></p>
[foo]: /url
===
[foo]
<p>===
<a href="/url">foo</a></p>

Several [link reference definitions] can occur one after another, without intervening blank lines.

[foo]: /foo-url "foo"
[bar]: /bar-url
  "bar"
[baz]: /baz-url

[foo],
[bar],
[baz]
<p><a href="/foo-url" title="foo">foo</a>,
<a href="/bar-url" title="bar">bar</a>,
<a href="/baz-url">baz</a></p>

[Link reference definitions] can occur inside block containers, like lists and block quotations. They affect the entire document, not just the container in which they are defined:

[foo]

> [foo]: /url
<p><a href="/url">foo</a></p>
<blockquote>
</blockquote>

Whether something is a [link reference definition] is independent of whether the link reference it defines is used in the document. Thus, for example, the following document contains just a link reference definition, and no visible content:

[foo]: /url

Paragraphs

A sequence of non-blank lines that cannot be interpreted as other kinds of blocks forms a paragraph. The contents of the paragraph are the result of parsing the paragraph's raw content as inlines. The paragraph's raw content is formed by concatenating the lines and removing initial and final [whitespace].

A simple example with two paragraphs:

aaa

bbb
<p>aaa</p>
<p>bbb</p>

Paragraphs can contain multiple lines, but no blank lines:

aaa
bbb

ccc
ddd
<p>aaa
bbb</p>
<p>ccc
ddd</p>

Multiple blank lines between paragraph have no effect:

aaa


bbb
<p>aaa</p>
<p>bbb</p>

Leading spaces are skipped:

  aaa
 bbb
<p>aaa
bbb</p>

Lines after the first may be indented any amount, since indented code blocks cannot interrupt paragraphs.

aaa
             bbb
                                       ccc
<p>aaa
bbb
ccc</p>

However, the first line may be indented at most three spaces, or an indented code block will be triggered:

   aaa
bbb
<p>aaa
bbb</p>
    aaa
bbb
<pre><code>aaa
</code></pre>
<p>bbb</p>

Final spaces are stripped before inline parsing, so a paragraph that ends with two or more spaces will not end with a [hard line break]:

aaa     
bbb     
<p>aaa<br />
bbb</p>

Blank lines

[Blank lines] between block-level elements are ignored, except for the role they play in determining whether a [list] is [tight] or [loose].

Blank lines at the beginning and end of the document are also ignored.

  

aaa
  

# aaa

  
<p>aaa</p>
<h1>aaa</h1>

Tables (extension)

GFM enables the table extension, where an additional leaf block type is available.

A table is an arrangement of data with rows and columns, consisting of a single header row, a [delimiter row] separating the header from the data, and zero or more data rows.

Each row consists of cells containing arbitrary text, in which [inlines] are parsed, separated by pipes (|). A leading and trailing pipe is also recommended for clarity of reading, and if there's otherwise parsing ambiguity. Spaces between pipes and cell content are trimmed. Block-level elements cannot be inserted in a table.

The delimiter row consists of cells whose only content are hyphens (-), and optionally, a leading or trailing colon (:), or both, to indicate left, right, or center alignment respectively.

| foo | bar |
| --- | --- |
| baz | bim |
<table>
<thead>
<tr>
<th>foo</th>
<th>bar</th>
</tr>
</thead>
<tbody>
<tr>
<td>baz</td>
<td>bim</td>
</tr>
</tbody>
</table>

Cells in one column don't need to match length, though it's easier to read if they are. Likewise, use of leading and trailing pipes may be inconsistent:

| abc | defghi |
:-: | -----------:
bar | baz
<table>
<thead>
<tr>
<th align="center">abc</th>
<th align="right">defghi</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">bar</td>
<td align="right">baz</td>
</tr>
</tbody>
</table>

Include a pipe in a cell's content by escaping it, including inside other inline spans:

| f\|oo  |
| ------ |
| b `\|` az |
| b **\|** im |
<table>
<thead>
<tr>
<th>f|oo</th>
</tr>
</thead>
<tbody>
<tr>
<td>b <code>|</code> az</td>
</tr>
<tr>
<td>b <strong>|</strong> im</td>
</tr>
</tbody>
</table>

The table is broken at the first empty line, or beginning of another block-level structure:

| abc | def |
| --- | --- |
| bar | baz |
> bar
<table>
<thead>
<tr>
<th>abc</th>
<th>def</th>
</tr>
</thead>
<tbody>
<tr>
<td>bar</td>
<td>baz</td>
</tr>
</tbody>
</table>
<blockquote>
<p>bar</p>
</blockquote>
| abc | def |
| --- | --- |
| bar | baz |
bar

bar
<table>
<thead>
<tr>
<th>abc</th>
<th>def</th>
</tr>
</thead>
<tbody>
<tr>
<td>bar</td>
<td>baz</td>
</tr>
<tr>
<td>bar</td>
<td></td>
</tr>
</tbody>
</table>
<p>bar</p>

The header row must match the [delimiter row] in the number of cells. If not, a table will not be recognized:

| abc | def |
| --- |
| bar |
<p>| abc | def |
| --- |
| bar |</p>

The remainder of the table's rows may vary in the number of cells. If there are a number of cells fewer than the number of cells in the header row, empty cells are inserted. If there are greater, the excess is ignored:

| abc | def |
| --- | --- |
| bar |
| bar | baz | boo |
<table>
<thead>
<tr>
<th>abc</th>
<th>def</th>
</tr>
</thead>
<tbody>
<tr>
<td>bar</td>
<td></td>
</tr>
<tr>
<td>bar</td>
<td>baz</td>
</tr>
</tbody>
</table>

If there are no rows in the body, no <tbody> is generated in HTML output:

| abc | def |
| --- | --- |
<table>
<thead>
<tr>
<th>abc</th>
<th>def</th>
</tr>
</thead>
</table>

Container blocks

A container block is a block that has other blocks as its contents. There are two basic kinds of container blocks: [block quotes] and [list items]. [Lists] are meta-containers for [list items].

We define the syntax for container blocks recursively. The general form of the definition is:

If X is a sequence of blocks, then the result of transforming X in such-and-such a way is a container of type Y with these blocks as its content.

So, we explain what counts as a block quote or list item by explaining how these can be generated from their contents. This should suffice to define the syntax, although it does not give a recipe for parsing these constructions. (A recipe is provided below in the section entitled A parsing strategy.)

Block quotes

A block quote marker consists of 0-3 spaces of initial indent, plus (a) the character > together with a following space, or (b) a single character > not followed by a space.

The following rules define [block quotes]:

  1. Basic case. If a string of lines Ls constitute a sequence of blocks Bs, then the result of prepending a [block quote marker] to the beginning of each line in Ls is a block quote containing Bs.

  2. Laziness. If a string of lines Ls constitute a block quote with contents Bs, then the result of deleting the initial [block quote marker] from one or more lines in which the next [non-whitespace character] after the [block quote marker] is [paragraph continuation text] is a block quote with Bs as its content. Paragraph continuation text is text that will be parsed as part of the content of a paragraph, but does not occur at the beginning of the paragraph.

  3. Consecutiveness. A document cannot contain two [block quotes] in a row unless there is a [blank line] between them.

Nothing else counts as a block quote.

Here is a simple example:

> # Foo
> bar
> baz
<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>

The spaces after the > characters can be omitted:

># Foo
>bar
> baz
<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>

The > characters can be indented 1-3 spaces:

   > # Foo
   > bar
 > baz
<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>

Four spaces gives us a code block:

    > # Foo
    > bar
    > baz
<pre><code>&gt; # Foo
&gt; bar
&gt; baz
</code></pre>

The Laziness clause allows us to omit the > before [paragraph continuation text]:

> # Foo
> bar
baz
<blockquote>
<h1>Foo</h1>
<p>bar
baz</p>
</blockquote>

A block quote can contain some lazy and some non-lazy continuation lines:

> bar
baz
> foo
<blockquote>
<p>bar
baz
foo</p>
</blockquote>

Laziness only applies to lines that would have been continuations of paragraphs had they been prepended with [block quote markers]. For example, the > cannot be omitted in the second line of

> foo
> ---

without changing the meaning:

> foo
---
<blockquote>
<p>foo</p>
</blockquote>
<hr />

Similarly, if we omit the > in the second line of

> - foo
> - bar

then the block quote ends after the first line:

> - foo
- bar
<blockquote>
<ul>
<li>foo</li>
</ul>
</blockquote>
<ul>
<li>bar</li>
</ul>

For the same reason, we can't omit the > in front of subsequent lines of an indented or fenced code block:

>     foo
    bar
<blockquote>
<pre><code>foo
</code></pre>
</blockquote>
<pre><code>bar
</code></pre>
> ```
foo
```
<blockquote>
<pre><code></code></pre>
</blockquote>
<p>foo</p>
<pre><code></code></pre>

Note that in the following case, we have a [lazy continuation line]:

> foo
    - bar
<blockquote>
<p>foo
- bar</p>
</blockquote>

To see why, note that in

> foo
>     - bar

the - bar is indented too far to start a list, and can't be an indented code block because indented code blocks cannot interrupt paragraphs, so it is [paragraph continuation text].

A block quote can be empty:

>
<blockquote>
</blockquote>
>
>  
> 
<blockquote>
</blockquote>

A block quote can have initial or final blank lines:

>
> foo
>  
<blockquote>
<p>foo</p>
</blockquote>

A blank line always separates block quotes:

> foo

> bar
<blockquote>
<p>foo</p>
</blockquote>
<blockquote>
<p>bar</p>
</blockquote>

(Most current Markdown implementations, including John Gruber's original Markdown.pl, will parse this example as a single block quote with two paragraphs. But it seems better to allow the author to decide whether two block quotes or one are wanted.)

Consecutiveness means that if we put these block quotes together, we get a single block quote:

> foo
> bar
<blockquote>
<p>foo
bar</p>
</blockquote>

To get a block quote with two paragraphs, use:

> foo
>
> bar
<blockquote>
<p>foo</p>
<p>bar</p>
</blockquote>

Block quotes can interrupt paragraphs:

foo
> bar
<p>foo</p>
<blockquote>
<p>bar</p>
</blockquote>

In general, blank lines are not needed before or after block quotes:

> aaa
***
> bbb
<blockquote>
<p>aaa</p>
</blockquote>
<hr />
<blockquote>
<p>bbb</p>
</blockquote>

However, because of laziness, a blank line is needed between a block quote and a following paragraph:

> bar
baz
<blockquote>
<p>bar
baz</p>
</blockquote>
> bar

baz
<blockquote>
<p>bar</p>
</blockquote>
<p>baz</p>
> bar
>
baz
<blockquote>
<p>bar</p>
</blockquote>
<p>baz</p>

It is a consequence of the Laziness rule that any number of initial >s may be omitted on a continuation line of a nested block quote:

> > > foo
bar
<blockquote>
<blockquote>
<blockquote>
<p>foo
bar</p>
</blockquote>
</blockquote>
</blockquote>
>>> foo
> bar
>>baz
<blockquote>
<blockquote>
<blockquote>
<p>foo
bar
baz</p>
</blockquote>
</blockquote>
</blockquote>

When including an indented code block in a block quote, remember that the [block quote marker] includes both the > and a following space. So five spaces are needed after the >:

>     code

>    not code
<blockquote>
<pre><code>code
</code></pre>
</blockquote>
<blockquote>
<p>not code</p>
</blockquote>

List items

A list marker is a [bullet list marker] or an [ordered list marker].

A bullet list marker is a -, +, or * character.

An ordered list marker is a sequence of 1--9 arabic digits (0-9), followed by either a . character or a ) character. (The reason for the length limit is that with 10 digits we start seeing integer overflows in some browsers.)

The following rules define [list items]:

  1. Basic case. If a sequence of lines Ls constitute a sequence of blocks Bs starting with a [non-whitespace character], and M is a list marker of width W followed by 1 ≤ N ≤ 4 spaces, then the result of prepending M and the following spaces to the first line of Ls, and indenting subsequent lines of Ls by W + N spaces, is a list item with Bs as its contents. The type of the list item (bullet or ordered) is determined by the type of its list marker. If the list item is ordered, then it is also assigned a start number, based on the ordered list marker.

    Exceptions:

    1. When the first list item in a [list] interrupts a paragraph---that is, when it starts on a line that would otherwise count as [paragraph continuation text]---then (a) the lines Ls must not begin with a blank line, and (b) if the list item is ordered, the start number must be 1.
    2. If any line is a [thematic break][thematic breaks] then that line is not a list item.

For example, let Ls be the lines

A paragraph
with two lines.

    indented code

> A block quote.
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>

And let M be the marker 1., and N = 2. Then rule #1 says that the following is an ordered list item with start number 1, and the same contents as Ls:

1.  A paragraph
    with two lines.

        indented code

    > A block quote.
<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>

The most important thing to notice is that the position of the text after the list marker determines how much indentation is needed in subsequent blocks in the list item. If the list marker takes up two spaces, and there are three spaces between the list marker and the next [non-whitespace character], then blocks must be indented five spaces in order to fall under the list item.

Here are some examples showing how far content must be indented to be put under the list item:

- one

 two
<ul>
<li>one</li>
</ul>
<p>two</p>
- one

  two
<ul>
<li>
<p>one</p>
<p>two</p>
</li>
</ul>
 -    one

     two
<ul>
<li>one</li>
</ul>
<pre><code> two
</code></pre>
 -    one

      two
<ul>
<li>
<p>one</p>
<p>two</p>
</li>
</ul>

It is tempting to think of this in terms of columns: the continuation blocks must be indented at least to the column of the first [non-whitespace character] after the list marker. However, that is not quite right. The spaces after the list marker determine how much relative indentation is needed. Which column this indentation reaches will depend on how the list item is embedded in other constructions, as shown by this example:

   > > 1.  one
>>
>>     two
<blockquote>
<blockquote>
<ol>
<li>
<p>one</p>
<p>two</p>
</li>
</ol>
</blockquote>
</blockquote>

Here two occurs in the same column as the list marker 1., but is actually contained in the list item, because there is sufficient indentation after the last containing blockquote marker.

The converse is also possible. In the following example, the word two occurs far to the right of the initial text of the list item, one, but it is not considered part of the list item, because it is not indented far enough past the blockquote marker:

>>- one
>>
  >  > two
<blockquote>
<blockquote>
<ul>
<li>one</li>
</ul>
<p>two</p>
</blockquote>
</blockquote>

Note that at least one space is needed between the list marker and any following content, so these are not list items:

-one

2.two
<p>-one</p>
<p>2.two</p>

A list item may contain blocks that are separated by more than one blank line.

- foo


  bar
<ul>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ul>

A list item may contain any kind of block:

1.  foo

    ```
    bar
    ```

    baz

    > bam
<ol>
<li>
<p>foo</p>
<pre><code>bar
</code></pre>
<p>baz</p>
<blockquote>
<p>bam</p>
</blockquote>
</li>
</ol>

A list item that contains an indented code block will preserve empty lines within the code block verbatim.

- Foo

      bar


      baz
<ul>
<li>
<p>Foo</p>
<pre><code>bar


baz
</code></pre>
</li>
</ul>

Note that ordered list start numbers must be nine digits or less:

123456789. ok
<ol start="123456789">
<li>ok</li>
</ol>
1234567890. not ok
<p>1234567890. not ok</p>

A start number may begin with 0s:

0. ok
<ol start="0">
<li>ok</li>
</ol>
003. ok
<ol start="3">
<li>ok</li>
</ol>

A start number may not be negative:

-1. not ok
<p>-1. not ok</p>
  1. Item starting with indented code. If a sequence of lines Ls constitute a sequence of blocks Bs starting with an indented code block, and M is a list marker of width W followed by one space, then the result of prepending M and the following space to the first line of Ls, and indenting subsequent lines of Ls by W + 1 spaces, is a list item with Bs as its contents. If a line is empty, then it need not be indented. The type of the list item (bullet or ordered) is determined by the type of its list marker. If the list item is ordered, then it is also assigned a start number, based on the ordered list marker.

An indented code block will have to be indented four spaces beyond the edge of the region where text will be included in the list item. In the following case that is 6 spaces:

- foo

      bar
<ul>
<li>
<p>foo</p>
<pre><code>bar
</code></pre>
</li>
</ul>

And in this case it is 11 spaces:

  10.  foo

           bar
<ol start="10">
<li>
<p>foo</p>
<pre><code>bar
</code></pre>
</li>
</ol>

If the first block in the list item is an indented code block, then by rule #2, the contents must be indented one space after the list marker:

    indented code

paragraph

    more code
<pre><code>indented code
</code></pre>
<p>paragraph</p>
<pre><code>more code
</code></pre>
1.     indented code

   paragraph

       more code
<ol>
<li>
<pre><code>indented code
</code></pre>
<p>paragraph</p>
<pre><code>more code
</code></pre>
</li>
</ol>

Note that an additional space indent is interpreted as space inside the code block:

1.      indented code

   paragraph

       more code
<ol>
<li>
<pre><code> indented code
</code></pre>
<p>paragraph</p>
<pre><code>more code
</code></pre>
</li>
</ol>

Note that rules #1 and #2 only apply to two cases: (a) cases in which the lines to be included in a list item begin with a [non-whitespace character], and (b) cases in which they begin with an indented code block. In a case like the following, where the first block begins with a three-space indent, the rules do not allow us to form a list item by indenting the whole thing and prepending a list marker:

   foo

bar
<p>foo</p>
<p>bar</p>
-    foo

  bar
<ul>
<li>foo</li>
</ul>
<p>bar</p>

This is not a significant restriction, because when a block begins with 1-3 spaces indent, the indentation can always be removed without a change in interpretation, allowing rule #1 to be applied. So, in the above case:

-  foo

   bar
<ul>
<li>
<p>foo</p>
<p>bar</p>
</li>
</ul>
  1. Item starting with a blank line. If a sequence of lines Ls starting with a single [blank line] constitute a (possibly empty) sequence of blocks Bs, not separated from each other by more than one blank line, and M is a list marker of width W, then the result of prepending M to the first line of Ls, and indenting subsequent lines of Ls by W + 1 spaces, is a list item with Bs as its contents. If a line is empty, then it need not be indented. The type of the list item (bullet or ordered) is determined by the type of its list marker. If the list item is ordered, then it is also assigned a start number, based on the ordered list marker.

Here are some list items that start with a blank line but are not empty:

-
  foo
-
  ```
  bar
  ```
-
      baz
<ul>
<li>foo</li>
<li>
<pre><code>bar
</code></pre>
</li>
<li>
<pre><code>baz
</code></pre>
</li>
</ul>

When the list item starts with a blank line, the number of spaces following the list marker doesn't change the required indentation:

-   
  foo
<ul>
<li>foo</li>
</ul>

A list item can begin with at most one blank line. In the following example, foo is not part of the list item:

-

  foo
<ul>
<li></li>
</ul>
<p>foo</p>

Here is an empty bullet list item:

- foo
-
- bar
<ul>
<li>foo</li>
<li></li>
<li>bar</li>
</ul>

It does not matter whether there are spaces following the [list marker]:

- foo
-   
- bar
<ul>
<li>foo</li>
<li></li>
<li>bar</li>
</ul>

Here is an empty ordered list item:

1. foo
2.
3. bar
<ol>
<li>foo</li>
<li></li>
<li>bar</li>
</ol>

A list may start or end with an empty list item:

*
<ul>
<li></li>
</ul>

However, an empty list item cannot interrupt a paragraph:

foo
*

foo
1.
<p>foo
*</p>
<p>foo
1.</p>
  1. Indentation. If a sequence of lines Ls constitutes a list item according to rule #1, #2, or #3, then the result of indenting each line of Ls by 1-3 spaces (the same for each line) also constitutes a list item with the same contents and attributes. If a line is empty, then it need not be indented.

Indented one space:

 1.  A paragraph
     with two lines.

         indented code

     > A block quote.
<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>

Indented two spaces:

  1.  A paragraph
      with two lines.

          indented code

      > A block quote.
<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>

Indented three spaces:

   1.  A paragraph
       with two lines.

           indented code

       > A block quote.
<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>

Four spaces indent gives a code block:

    1.  A paragraph
        with two lines.

            indented code

        > A block quote.
<pre><code>1.  A paragraph
    with two lines.

        indented code

    &gt; A block quote.
</code></pre>
  1. Laziness. If a string of lines Ls constitute a list item with contents Bs, then the result of deleting some or all of the indentation from one or more lines in which the next [non-whitespace character] after the indentation is [paragraph continuation text] is a list item with the same contents and attributes. The unindented lines are called lazy continuation lines.

Here is an example with [lazy continuation lines]:

  1.  A paragraph
with two lines.

          indented code

      > A block quote.
<ol>
<li>
<p>A paragraph
with two lines.</p>
<pre><code>indented code
</code></pre>
<blockquote>
<p>A block quote.</p>
</blockquote>
</li>
</ol>

Indentation can be partially deleted:

  1.  A paragraph
    with two lines.
<ol>
<li>A paragraph
with two lines.</li>
</ol>

These examples show how laziness can work in nested structures:

> 1. > Blockquote
continued here.
<blockquote>
<ol>
<li>
<blockquote>
<p>Blockquote
continued here.</p>
</blockquote>
</li>
</ol>
</blockquote>
> 1. > Blockquote
> continued here.
<blockquote>
<ol>
<li>
<blockquote>
<p>Blockquote
continued here.</p>
</blockquote>
</li>
</ol>
</blockquote>
  1. That's all. Nothing that is not counted as a list item by rules #1--5 counts as a list item.

The rules for sublists follow from the general rules [above][List items]. A sublist must be indented the same number of spaces a paragraph would need to be in order to be included in the list item.

So, in this case we need two spaces indent:

- foo
  - bar
    - baz
      - boo
<ul>
<li>foo
<ul>
<li>bar
<ul>
<li>baz
<ul>
<li>boo</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>

One is not enough:

- foo
 - bar
  - baz
   - boo
<ul>
<li>foo</li>
<li>bar</li>
<li>baz</li>
<li>boo</li>
</ul>

Here we need four, because the list marker is wider:

10) foo
    - bar
<ol start="10">
<li>foo
<ul>
<li>bar</li>
</ul>
</li>
</ol>

Three is not enough:

10) foo
   - bar
<ol start="10">
<li>foo</li>
</ol>
<ul>
<li>bar</li>
</ul>

A list may be the first block in a list item:

- - foo
<ul>
<li>
<ul>
<li>foo</li>
</ul>
</li>
</ul>
1. - 2. foo
<ol>
<li>
<ul>
<li>
<ol start="2">
<li>foo</li>
</ol>
</li>
</ul>
</li>
</ol>

A list item can contain a heading:

- # Foo
- Bar
  ---
  baz
<ul>
<li>
<h1>Foo</h1>
</li>
<li>
<h2>Bar</h2>
baz</li>
</ul>

Motivation

John Gruber's Markdown spec says the following about list items:

  1. "List markers typically start at the left margin, but may be indented by up to three spaces. List markers must be followed by one or more spaces or a tab."

  2. "To make lists look nice, you can wrap items with hanging indents.... But if you don't want to, you don't have to."

  3. "List items may consist of multiple paragraphs. Each subsequent paragraph in a list item must be indented by either 4 spaces or one tab."

  4. "It looks nice if you indent every line of the subsequent paragraphs, but here again, Markdown will allow you to be lazy."

  5. "To put a blockquote within a list item, the blockquote's > delimiters need to be indented."

  6. "To put a code block within a list item, the code block needs to be indented twice — 8 spaces or two tabs."

These rules specify that a paragraph under a list item must be indented four spaces (presumably, from the left margin, rather than the start of the list marker, but this is not said), and that code under a list item must be indented eight spaces instead of the usual four. They also say that a block quote must be indented, but not by how much; however, the example given has four spaces indentation. Although nothing is said about other kinds of block-level content, it is certainly reasonable to infer that all block elements under a list item, including other lists, must be indented four spaces. This principle has been called the four-space rule.

The four-space rule is clear and principled, and if the reference implementation Markdown.pl had followed it, it probably would have become the standard. However, Markdown.pl allowed paragraphs and sublists to start with only two spaces indentation, at least on the outer level. Worse, its behavior was inconsistent: a sublist of an outer-level list needed two spaces indentation, but a sublist of this sublist needed three spaces. It is not surprising, then, that different implementations of Markdown have developed very different rules for determining what comes under a list item. (Pandoc and python-Markdown, for example, stuck with Gruber's syntax description and the four-space rule, while discount, redcarpet, marked, PHP Markdown, and others followed Markdown.pl's behavior more closely.)

Unfortunately, given the divergences between implementations, there is no way to give a spec for list items that will be guaranteed not to break any existing documents. However, the spec given here should correctly handle lists formatted with either the four-space rule or the more forgiving Markdown.pl behavior, provided they are laid out in a way that is natural for a human to read.

The strategy here is to let the width and indentation of the list marker determine the indentation necessary for blocks to fall under the list item, rather than having a fixed and arbitrary number. The writer can think of the body of the list item as a unit which gets indented to the right enough to fit the list marker (and any indentation on the list marker). (The laziness rule, #5, then allows continuation lines to be unindented if needed.)

This rule is superior, we claim, to any rule requiring a fixed level of indentation from the margin. The four-space rule is clear but unnatural. It is quite unintuitive that

- foo

  bar

  - baz

should be parsed as two lists with an intervening paragraph,

<ul>
<li>foo</li>
</ul>
<p>bar</p>
<ul>
<li>baz</li>
</ul>

as the four-space rule demands, rather than a single list,

<ul>
<li>
<p>foo</p>
<p>bar</p>
<ul>
<li>baz</li>
</ul>
</li>
</ul>

The choice of four spaces is arbitrary. It can be learned, but it is not likely to be guessed, and it trips up beginners regularly.

Would it help to adopt a two-space rule? The problem is that such a rule, together with the rule allowing 1--3 spaces indentation of the initial list marker, allows text that is indented less than the original list marker to be included in the list item. For example, Markdown.pl parses

   - one

  two

as a single list item, with two a continuation paragraph:

<ul>
<li>
<p>one</p>
<p>two</p>
</li>
</ul>

and similarly

>   - one
>
>  two

as

<blockquote>
<ul>
<li>
<p>one</p>
<p>two</p>
</li>
</ul>
</blockquote>

This is extremely unintuitive.

Rather than requiring a fixed indent from the margin, we could require a fixed indent (say, two spaces, or even one space) from the list marker (which may itself be indented). This proposal would remove the last anomaly discussed. Unlike the spec presented above, it would count the following as a list item with a subparagraph, even though the paragraph bar is not indented as far as the first paragraph foo:

 10. foo

   bar  

Arguably this text does read like a list item with bar as a subparagraph, which may count in favor of the proposal. However, on this proposal indented code would have to be indented six spaces after the list marker. And this would break a lot of existing Markdown, which has the pattern:

1.  foo

        indented code

where the code is indented eight spaces. The spec above, by contrast, will parse this text as expected, since the code block's indentation is measured from the beginning of foo.

The one case that needs special treatment is a list item that starts with indented code. How much indentation is required in that case, since we don't have a "first paragraph" to measure from? Rule #2 simply stipulates that in such cases, we require one space indentation from the list marker (and then the normal four spaces for the indented code). This will match the four-space rule in cases where the list marker plus its initial indentation takes four spaces (a common case), but diverge in other cases.

Task list items (extension)

GFM enables the tasklist extension, where an additional processing step is performed on [list items].

A task list item is a [list item][list items] where the first block in it is a paragraph which begins with a [task list item marker] and at least one whitespace character before any other content.

A task list item marker consists of an optional number of spaces, a left bracket ([), either a whitespace character or the letter x in either lowercase or uppercase, and then a right bracket (]).

When rendered, the [task list item marker] is replaced with a semantic checkbox element; in an HTML output, this would be an <input type="checkbox"> element.

If the character between the brackets is a whitespace character, the checkbox is unchecked. Otherwise, the checkbox is checked.

This spec does not define how the checkbox elements are interacted with: in practice, implementors are free to render the checkboxes as disabled or inmutable elements, or they may dynamically handle dynamic interactions (i.e. checking, unchecking) in the final rendered document.

- [ ] foo
- [x] bar
<ul>
<li><input disabled="" type="checkbox"> foo</li>
<li><input checked="" disabled="" type="checkbox"> bar</li>
</ul>

Task lists can be arbitrarily nested:

- [x] foo
  - [ ] bar
  - [x] baz
- [ ] bim
<ul>
<li><input checked="" disabled="" type="checkbox"> foo
<ul>
<li><input disabled="" type="checkbox"> bar</li>
<li><input checked="" disabled="" type="checkbox"> baz</li>
</ul>
</li>
<li><input disabled="" type="checkbox"> bim</li>
</ul>

Lists

A list is a sequence of one or more list items [of the same type]. The list items may be separated by any number of blank lines.

Two list items are of the same type if they begin with a [list marker] of the same type. Two list markers are of the same type if (a) they are bullet list markers using the same character (-, +, or *) or (b) they are ordered list numbers with the same delimiter (either . or )).

A list is an ordered list if its constituent list items begin with [ordered list markers], and a bullet list if its constituent list items begin with [bullet list markers].

The start number of an [ordered list] is determined by the list number of its initial list item. The numbers of subsequent list items are disregarded.

A list is loose if any of its constituent list items are separated by blank lines, or if any of its constituent list items directly contain two block-level elements with a blank line between them. Otherwise a list is tight. (The difference in HTML output is that paragraphs in a loose list are wrapped in <p> tags, while paragraphs in a tight list are not.)

Changing the bullet or ordered list delimiter starts a new list:

- foo
- bar
+ baz
<ul>
<li>foo</li>
<li>bar</li>
</ul>
<ul>
<li>baz</li>
</ul>
1. foo
2. bar
3) baz
<ol>
<li>foo</li>
<li>bar</li>
</ol>
<ol start="3">
<li>baz</li>
</ol>

In CommonMark, a list can interrupt a paragraph. That is, no blank line is needed to separate a paragraph from a following list:

Foo
- bar
- baz
<p>Foo</p>
<ul>
<li>bar</li>
<li>baz</li>
</ul>

Markdown.pl does not allow this, through fear of triggering a list via a numeral in a hard-wrapped line:

The number of windows in my house is
14.  The number of doors is 6.

Oddly, though, Markdown.pl does allow a blockquote to interrupt a paragraph, even though the same considerations might apply.

In CommonMark, we do allow lists to interrupt paragraphs, for two reasons. First, it is natural and not uncommon for people to start lists without blank lines:

I need to buy
- new shoes
- a coat
- a plane ticket

Second, we are attracted to a

principle of uniformity: if a chunk of text has a certain meaning, it will continue to have the same meaning when put into a container block (such as a list item or blockquote).

(Indeed, the spec for [list items] and [block quotes] presupposes this principle.) This principle implies that if

  * I need to buy
    - new shoes
    - a coat
    - a plane ticket

is a list item containing a paragraph followed by a nested sublist, as all Markdown implementations agree it is (though the paragraph may be rendered without <p> tags, since the list is "tight"), then

I need to buy
- new shoes
- a coat
- a plane ticket

by itself should be a paragraph followed by a nested sublist.

Since it is well established Markdown practice to allow lists to interrupt paragraphs inside list items, the [principle of uniformity] requires us to allow this outside list items as well. (reStructuredText takes a different approach, requiring blank lines before lists even inside other list items.)

In order to solve of unwanted lists in paragraphs with hard-wrapped numerals, we allow only lists starting with 1 to interrupt paragraphs. Thus,

The number of windows in my house is
14.  The number of doors is 6.
<p>The number of windows in my house is
14.  The number of doors is 6.</p>

We may still get an unintended result in cases like

The number of windows in my house is
1.  The number of doors is 6.
<p>The number of windows in my house is</p>
<ol>
<li>The number of doors is 6.</li>
</ol>

but this rule should prevent most spurious list captures.

There can be any number of blank lines between items:

- foo

- bar


- baz
<ul>
<li>
<p>foo</p>
</li>
<li>
<p>bar</p>
</li>
<li>
<p>baz</p>
</li>
</ul>
- foo
  - bar
    - baz


      bim
<ul>
<li>foo
<ul>
<li>bar
<ul>
<li>
<p>baz</p>
<p>bim</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>

To separate consecutive lists of the same type, or to separate a list from an indented code block that would otherwise be parsed as a subparagraph of the final list item, you can insert a blank HTML comment:

- foo
- bar

<!-- -->

- baz
- bim
<ul>
<li>foo</li>
<li>bar</li>
</ul>
<!-- -->
<ul>
<li>baz</li>
<li>bim</li>
</ul>
-   foo

    notcode

-   foo

<!-- -->

    code
<ul>
<li>
<p>foo</p>
<p>notcode</p>
</li>
<li>
<p>foo</p>
</li>
</ul>
<!-- -->
<pre><code>code
</code></pre>

List items need not be indented to the same level. The following list items will be treated as items at the same list level, since none is indented enough to belong to the previous list item:

- a
 - b
  - c
   - d
  - e
 - f
- g
<ul>
<li>a</li>
<li>b</li>
<li>c</li>
<li>d</li>
<li>e</li>
<li>f</li>
<li>g</li>
</ul>
1. a

  2. b

   3. c
<ol>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
<li>
<p>c</p>
</li>
</ol>

Note, however, that list items may not be indented more than three spaces. Here - e is treated as a paragraph continuation line, because it is indented more than three spaces:

- a
 - b
  - c
   - d
    - e
<ul>
<li>a</li>
<li>b</li>
<li>c</li>
<li>d
- e</li>
</ul>

And here, 3. c is treated as in indented code block, because it is indented four spaces and preceded by a blank line.

1. a

  2. b

    3. c
<ol>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
</ol>
<pre><code>3. c
</code></pre>

This is a loose list, because there is a blank line between two of the list items:

- a
- b

- c
<ul>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
<li>
<p>c</p>
</li>
</ul>

So is this, with a empty second item:

* a
*

* c
<ul>
<li>
<p>a</p>
</li>
<li></li>
<li>
<p>c</p>
</li>
</ul>

These are loose lists, even though there is no space between the items, because one of the items directly contains two block-level elements with a blank line between them:

- a
- b

  c
- d
<ul>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
<p>c</p>
</li>
<li>
<p>d</p>
</li>
</ul>
- a
- b

  [ref]: /url
- d
<ul>
<li>
<p>a</p>
</li>
<li>
<p>b</p>
</li>
<li>
<p>d</p>
</li>
</ul>

This is a tight list, because the blank lines are in a code block:

- a
- ```
  b


  ```
- c
<ul>
<li>a</li>
<li>
<pre><code>b


</code></pre>
</li>
<li>c</li>
</ul>

This is a tight list, because the blank line is between two paragraphs of a sublist. So the sublist is loose while the outer list is tight:

- a
  - b

    c
- d
<ul>
<li>a
<ul>
<li>
<p>b</p>
<p>c</p>
</li>
</ul>
</li>
<li>d</li>
</ul>

This is a tight list, because the blank line is inside the block quote:

* a
  > b
  >
* c
<ul>
<li>a
<blockquote>
<p>b</p>
</blockquote>
</li>
<li>c</li>
</ul>

This list is tight, because the consecutive block elements are not separated by blank lines:

- a
  > b
  ```
  c
  ```
- d
<ul>
<li>a
<blockquote>
<p>b</p>
</blockquote>
<pre><code>c
</code></pre>
</li>
<li>d</li>
</ul>

A single-paragraph list is tight:

- a
<ul>
<li>a</li>
</ul>
- a
  - b
<ul>
<li>a
<ul>
<li>b</li>
</ul>
</li>
</ul>

This list is loose, because of the blank line between the two block elements in the list item:

1. ```
   foo
   ```

   bar
<ol>
<li>
<pre><code>foo
</code></pre>
<p>bar</p>
</li>
</ol>

Here the outer list is loose, the inner list tight:

* foo
  * bar

  baz
<ul>
<li>
<p>foo</p>
<ul>
<li>bar</li>
</ul>
<p>baz</p>
</li>
</ul>
- a
  - b
  - c

- d
  - e
  - f
<ul>
<li>
<p>a</p>
<ul>
<li>b</li>
<li>c</li>
</ul>
</li>
<li>
<p>d</p>
<ul>
<li>e</li>
<li>f</li>
</ul>
</li>
</ul>

Inlines

Inlines are parsed sequentially from the beginning of the character stream to the end (left to right, in left-to-right languages). Thus, for example, in

`hi`lo`
<p><code>hi</code>lo`</p>

hi is parsed as code, leaving the backtick at the end as a literal backtick.

Backslash escapes

Any ASCII punctuation character may be backslash-escaped:

\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~
<p>!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~</p>

Backslashes before other characters are treated as literal backslashes:

\→\A\a\ \3\φ\«
<p>\→\A\a\ \3\φ\«</p>

Escaped characters are treated as regular characters and do not have their usual Markdown meanings:

\*not emphasized*
\<br/> not a tag
\[not a link](/foo)
\`not code`
1\. not a list
\* not a list
\# not a heading
\[foo]: /url "not a reference"
\ö not a character entity
<p>*not emphasized*
&lt;br/&gt; not a tag
[not a link](/foo)
`not code`
1. not a list
* not a list
# not a heading
[foo]: /url &quot;not a reference&quot;
&amp;ouml; not a character entity</p>

If a backslash is itself escaped, the following character is not:

\\*emphasis*
<p>\<em>emphasis</em></p>

A backslash at the end of the line is a [hard line break]:

foo\
bar
<p>foo<br />
bar</p>

Backslash escapes do not work in code blocks, code spans, autolinks, or raw HTML:

`` \[\` ``
<p><code>\[\`</code></p>
    \[\]
<pre><code>\[\]
</code></pre>
~~~
\[\]
~~~
<pre><code>\[\]
</code></pre>
<http://example.com?find=\*>
<p><a href="http://example.com?find=%5C*">http://example.com?find=\*</a></p>
<a href="/bar\/)">
<a href="/bar\/)">

But they work in all other contexts, including URLs and link titles, link references, and [info strings] in [fenced code blocks]:

[foo](/bar\* "ti\*tle")
<p><a href="/bar*" title="ti*tle">foo</a></p>
[foo]

[foo]: /bar\* "ti\*tle"
<p><a href="/bar*" title="ti*tle">foo</a></p>
``` foo\+bar
foo
```
<pre><code class="language-foo+bar">foo
</code></pre>

Entity and numeric character references

Valid HTML entity references and numeric character references can be used in place of the corresponding Unicode character, with the following exceptions:

  • Entity and character references are not recognized in code blocks and code spans.

  • Entity and character references cannot stand in place of special characters that define structural elements in CommonMark. For example, although &#42; can be used in place of a literal * character, &#42; cannot replace * in emphasis delimiters, bullet list markers, or thematic breaks.

Conforming CommonMark parsers need not store information about whether a particular character was represented in the source using a Unicode character or an entity reference.

Entity references consist of & + any of the valid HTML5 entity names + ;. The document https://html.spec.whatwg.org/multipage/entities.json is used as an authoritative source for the valid entity references and their corresponding code points.

&nbsp; &amp; &copy; &AElig; &Dcaron;
&frac34; &HilbertSpace; &DifferentialD;
&ClockwiseContourIntegral; &ngE;
<p>  &amp; © Æ Ď
¾ ℋ ⅆ
∲ ≧̸</p>

Decimal numeric character references consist of &# + a string of 1--7 arabic digits + ;. A numeric character reference is parsed as the corresponding Unicode character. Invalid Unicode code points will be replaced by the REPLACEMENT CHARACTER (U+FFFD). For security reasons, the code point U+0000 will also be replaced by U+FFFD.

&#35; &#1234; &#992; &#0;
<p># Ӓ Ϡ �</p>

Hexadecimal numeric character references consist of &# + either X or x + a string of 1-6 hexadecimal digits + ;. They too are parsed as the corresponding Unicode character (this time specified with a hexadecimal numeral instead of decimal).

&#X22; &#XD06; &#xcab;
<p>&quot; ആ ಫ</p>

Here are some nonentities:

&nbsp &x; &#; &#x;
&#987654321;
&#abcdef0;
&ThisIsNotDefined; &hi?;
<p>&amp;nbsp &amp;x; &amp;#; &amp;#x;
&amp;#987654321;
&amp;#abcdef0;
&amp;ThisIsNotDefined; &amp;hi?;</p>

Although HTML5 does accept some entity references without a trailing semicolon (such as &copy), these are not recognized here, because it makes the grammar too ambiguous:

&copy
<p>&amp;copy</p>

Strings that are not on the list of HTML5 named entities are not recognized as entity references either:

&MadeUpEntity;
<p>&amp;MadeUpEntity;</p>

Entity and numeric character references are recognized in any context besides code spans or code blocks, including URLs, [link titles], and [fenced code block][] [info strings]:

<a href="&ouml;&ouml;.html">
<a href="&ouml;&ouml;.html">
[foo](/f&ouml;&ouml; "f&ouml;&ouml;")
<p><a href="/f%C3%B6%C3%B6" title="föö">foo</a></p>
[foo]

[foo]: /f&ouml;&ouml; "f&ouml;&ouml;"
<p><a href="/f%C3%B6%C3%B6" title="föö">foo</a></p>
``` f&ouml;&ouml;
foo
```
<pre><code class="language-föö">foo
</code></pre>

Entity and numeric character references are treated as literal text in code spans and code blocks:

`f&ouml;&ouml;`
<p><code>f&amp;ouml;&amp;ouml;</code></p>
    f&ouml;f&ouml;
<pre><code>f&amp;ouml;f&amp;ouml;
</code></pre>

Entity and numeric character references cannot be used in place of symbols indicating structure in CommonMark documents.

&#42;foo&#42;
*foo*
<p>*foo*
<em>foo</em></p>
&#42; foo

* foo
<p>* foo</p>
<ul>
<li>foo</li>
</ul>
foo&#10;&#10;bar
<p>foo

bar</p>
&#9;foo
<p>→foo</p>
[a](url &quot;tit&quot;)
<p>[a](url &quot;tit&quot;)</p>

Code spans

A backtick string is a string of one or more backtick characters (`) that is neither preceded nor followed by a backtick.

A code span begins with a backtick string and ends with a backtick string of equal length. The contents of the code span are the characters between the two backtick strings, normalized in the following ways:

  • First, [line endings] are converted to [spaces].
  • If the resulting string both begins and ends with a [space] character, but does not consist entirely of [space] characters, a single [space] character is removed from the front and back. This allows you to include code that begins or ends with backtick characters, which must be separated by whitespace from the opening or closing backtick strings.

This is a simple code span:

`foo`
<p><code>foo</code></p>

Here two backticks are used, because the code contains a backtick. This example also illustrates stripping of a single leading and trailing space:

`` foo ` bar ``
<p><code>foo ` bar</code></p>

This example shows the motivation for stripping leading and trailing spaces:

` `` `
<p><code>``</code></p>

Note that only one space is stripped:

`  ``  `
<p><code> `` </code></p>

The stripping only happens if the space is on both sides of the string:

` a`
<p><code> a</code></p>

Only [spaces], and not [unicode whitespace] in general, are stripped in this way:

` b `
<p><code> b </code></p>

No stripping occurs if the code span contains only spaces:

` `
`  `
<p><code> </code>
<code>  </code></p>

[Line endings] are treated like spaces:

``
foo
bar  
baz
``
<p><code>foo bar   baz</code></p>
``
foo 
``
<p><code>foo </code></p>

Interior spaces are not collapsed:

`foo   bar 
baz`
<p><code>foo   bar  baz</code></p>

Note that browsers will typically collapse consecutive spaces when rendering <code> elements, so it is recommended that the following CSS be used:

code{white-space: pre-wrap;}

Note that backslash escapes do not work in code spans. All backslashes are treated literally:

`foo\`bar`
<p><code>foo\</code>bar`</p>

Backslash escapes are never needed, because one can always choose a string of n backtick characters as delimiters, where the code does not contain any strings of exactly n backtick characters.

``foo`bar``
<p><code>foo`bar</code></p>
` foo `` bar `
<p><code>foo `` bar</code></p>

Code span backticks have higher precedence than any other inline constructs except HTML tags and autolinks. Thus, for example, this is not parsed as emphasized text, since the second * is part of a code span:

*foo`*`
<p>*foo<code>*</code></p>

And this is not parsed as a link:

[not a `link](/foo`)
<p>[not a <code>link](/foo</code>)</p>

Code spans, HTML tags, and autolinks have the same precedence. Thus, this is code:

`<a href="`">`
<p><code>&lt;a href=&quot;</code>&quot;&gt;`</p>

But this is an HTML tag:

<a href="`">`
<p><a href="`">`</p>

And this is code:

`<http://foo.bar.`baz>`
<p><code>&lt;http://foo.bar.</code>baz&gt;`</p>

But this is an autolink:

<http://foo.bar.`baz>`
<p><a href="http://foo.bar.%60baz">http://foo.bar.`baz</a>`</p>

When a backtick string is not closed by a matching backtick string, we just have literal backticks:

```foo``
<p>```foo``</p>
`foo
<p>`foo</p>

The following case also illustrates the need for opening and closing backtick strings to be equal in length:

`foo``bar``
<p>`foo<code>bar</code></p>

Emphasis and strong emphasis

John Gruber's original Markdown syntax description says:

Markdown treats asterisks (*) and underscores (_) as indicators of emphasis. Text wrapped with one * or _ will be wrapped with an HTML <em> tag; double *'s or _'s will be wrapped with an HTML <strong> tag.

This is enough for most users, but these rules leave much undecided, especially when it comes to nested emphasis. The original Markdown.pl test suite makes it clear that triple *** and ___ delimiters can be used for strong emphasis, and most implementations have also allowed the following patterns:

***strong emph***
***strong** in emph*
***emph* in strong**
**in strong *emph***
*in emph **strong***

The following patterns are less widely supported, but the intent is clear and they are useful (especially in contexts like bibliography entries):

*emph *with emph* in it*
**strong **with strong** in it**

Many implementations have also restricted intraword emphasis to the * forms, to avoid unwanted emphasis in words containing internal underscores. (It is best practice to put these in code spans, but users often do not.)

internal emphasis: foo*bar*baz
no emphasis: foo_bar_baz

The rules given below capture all of these patterns, while allowing for efficient parsing strategies that do not backtrack.

First, some definitions. A delimiter run is either a sequence of one or more * characters that is not preceded or followed by a non-backslash-escaped * character, or a sequence of one or more _ characters that is not preceded or followed by a non-backslash-escaped _ character.

A left-flanking delimiter run is a [delimiter run] that is (1) not followed by [Unicode whitespace], and either (2a) not followed by a [punctuation character], or (2b) followed by a [punctuation character] and preceded by [Unicode whitespace] or a [punctuation character]. For purposes of this definition, the beginning and the end of the line count as Unicode whitespace.

A right-flanking delimiter run is a [delimiter run] that is (1) not preceded by [Unicode whitespace], and either (2a) not preceded by a [punctuation character], or (2b) preceded by a [punctuation character] and followed by [Unicode whitespace] or a [punctuation character]. For purposes of this definition, the beginning and the end of the line count as Unicode whitespace.

Here are some examples of delimiter runs.

  • left-flanking but not right-flanking:

    ***abc
      _abc
    **"abc"
     _"abc"
  • right-flanking but not left-flanking:

     abc***
     abc_
    "abc"**
    "abc"_
  • Both left and right-flanking:

     abc***def
    "abc"_"def"
  • Neither left nor right-flanking:

    abc *** def
    a _ b

(The idea of distinguishing left-flanking and right-flanking delimiter runs based on the character before and the character after comes from Roopesh Chander's vfmd. vfmd uses the terminology "emphasis indicator string" instead of "delimiter run," and its rules for distinguishing left- and right-flanking runs are a bit more complex than the ones given here.)

The following rules define emphasis and strong emphasis:

  1. A single * character can open emphasis iff (if and only if) it is part of a [left-flanking delimiter run].

  2. A single _ character [can open emphasis] iff it is part of a [left-flanking delimiter run] and either (a) not part of a [right-flanking delimiter run] or (b) part of a [right-flanking delimiter run] preceded by punctuation.

  3. A single * character can close emphasis iff it is part of a [right-flanking delimiter run].

  4. A single _ character [can close emphasis] iff it is part of a [right-flanking delimiter run] and either (a) not part of a [left-flanking delimiter run] or (b) part of a [left-flanking delimiter run] followed by punctuation.

  5. A double ** can open strong emphasis iff it is part of a [left-flanking delimiter run].

  6. A double __ [can open strong emphasis] iff it is part of a [left-flanking delimiter run] and either (a) not part of a [right-flanking delimiter run] or (b) part of a [right-flanking delimiter run] preceded by punctuation.

  7. A double ** can close strong emphasis iff it is part of a [right-flanking delimiter run].

  8. A double __ [can close strong emphasis] iff it is part of a [right-flanking delimiter run] and either (a) not part of a [left-flanking delimiter run] or (b) part of a [left-flanking delimiter run] followed by punctuation.

  9. Emphasis begins with a delimiter that [can open emphasis] and ends with a delimiter that [can close emphasis], and that uses the same character (_ or *) as the opening delimiter. The opening and closing delimiters must belong to separate [delimiter runs]. If one of the delimiters can both open and close emphasis, then the sum of the lengths of the delimiter runs containing the opening and closing delimiters must not be a multiple of 3 unless both lengths are multiples of 3.

  10. Strong emphasis begins with a delimiter that [can open strong emphasis] and ends with a delimiter that [can close strong emphasis], and that uses the same character (_ or *) as the opening delimiter. The opening and closing delimiters must belong to separate [delimiter runs]. If one of the delimiters can both open and close strong emphasis, then the sum of the lengths of the delimiter runs containing the opening and closing delimiters must not be a multiple of 3 unless both lengths are multiples of 3.

  11. A literal * character cannot occur at the beginning or end of *-delimited emphasis or **-delimited strong emphasis, unless it is backslash-escaped.

  12. A literal _ character cannot occur at the beginning or end of _-delimited emphasis or __-delimited strong emphasis, unless it is backslash-escaped.

Where rules 1--12 above are compatible with multiple parsings, the following principles resolve ambiguity:

  1. The number of nestings should be minimized. Thus, for example, an interpretation <strong>...</strong> is always preferred to <em><em>...</em></em>.

  2. An interpretation <em><strong>...</strong></em> is always preferred to <strong><em>...</em></strong>.

  3. When two potential emphasis or strong emphasis spans overlap, so that the second begins before the first ends and ends after the first ends, the first takes precedence. Thus, for example, *foo _bar* baz_ is parsed as <em>foo _bar</em> baz_ rather than *foo <em>bar* baz</em>.

  4. When there are two potential emphasis or strong emphasis spans with the same closing delimiter, the shorter one (the one that opens later) takes precedence. Thus, for example, **foo **bar baz** is parsed as **foo <strong>bar baz</strong> rather than <strong>foo **bar baz</strong>.

  5. Inline code spans, links, images, and HTML tags group more tightly than emphasis. So, when there is a choice between an interpretation that contains one of these elements and one that does not, the former always wins. Thus, for example, *[foo*](bar) is parsed as *<a href="bar">foo*</a> rather than as <em>[foo</em>](bar).

These rules can be illustrated through a series of examples.

Rule 1:

*foo bar*
<p><em>foo bar</em></p>

This is not emphasis, because the opening * is followed by whitespace, and hence not part of a [left-flanking delimiter run]:

a * foo bar*
<p>a * foo bar*</p>

This is not emphasis, because the opening * is preceded by an alphanumeric and followed by punctuation, and hence not part of a [left-flanking delimiter run]:

a*"foo"*
<p>a*&quot;foo&quot;*</p>

Unicode nonbreaking spaces count as whitespace, too:

* a *
<p>* a *</p>

Intraword emphasis with * is permitted:

foo*bar*
<p>foo<em>bar</em></p>
5*6*78
<p>5<em>6</em>78</p>

Rule 2:

_foo bar_
<p><em>foo bar</em></p>

This is not emphasis, because the opening _ is followed by whitespace:

_ foo bar_
<p>_ foo bar_</p>

This is not emphasis, because the opening _ is preceded by an alphanumeric and followed by punctuation:

a_"foo"_
<p>a_&quot;foo&quot;_</p>

Emphasis with _ is not allowed inside words:

foo_bar_
<p>foo_bar_</p>
5_6_78
<p>5_6_78</p>
пристаням_стремятся_
<p>пристаням_стремятся_</p>

Here _ does not generate emphasis, because the first delimiter run is right-flanking and the second left-flanking:

aa_"bb"_cc
<p>aa_&quot;bb&quot;_cc</p>

This is emphasis, even though the opening delimiter is both left- and right-flanking, because it is preceded by punctuation:

foo-_(bar)_
<p>foo-<em>(bar)</em></p>

Rule 3:

This is not emphasis, because the closing delimiter does not match the opening delimiter:

_foo*
<p>_foo*</p>

This is not emphasis, because the closing * is preceded by whitespace:

*foo bar *
<p>*foo bar *</p>

A newline also counts as whitespace:

*foo bar
*
<p>*foo bar
*</p>

This is not emphasis, because the second * is preceded by punctuation and followed by an alphanumeric (hence it is not part of a [right-flanking delimiter run]:

*(*foo)
<p>*(*foo)</p>

The point of this restriction is more easily appreciated with this example:

*(*foo*)*
<p><em>(<em>foo</em>)</em></p>

Intraword emphasis with * is allowed:

*foo*bar
<p><em>foo</em>bar</p>

Rule 4:

This is not emphasis, because the closing _ is preceded by whitespace:

_foo bar _
<p>_foo bar _</p>

This is not emphasis, because the second _ is preceded by punctuation and followed by an alphanumeric:

_(_foo)
<p>_(_foo)</p>

This is emphasis within emphasis:

_(_foo_)_
<p><em>(<em>foo</em>)</em></p>

Intraword emphasis is disallowed for _:

_foo_bar
<p>_foo_bar</p>
_пристаням_стремятся
<p>_пристаням_стремятся</p>
_foo_bar_baz_
<p><em>foo_bar_baz</em></p>

This is emphasis, even though the closing delimiter is both left- and right-flanking, because it is followed by punctuation:

_(bar)_.
<p><em>(bar)</em>.</p>

Rule 5:

**foo bar**
<p><strong>foo bar</strong></p>

This is not strong emphasis, because the opening delimiter is followed by whitespace:

** foo bar**
<p>** foo bar**</p>

This is not strong emphasis, because the opening ** is preceded by an alphanumeric and followed by punctuation, and hence not part of a [left-flanking delimiter run]:

a**"foo"**
<p>a**&quot;foo&quot;**</p>

Intraword strong emphasis with ** is permitted:

foo**bar**
<p>foo<strong>bar</strong></p>

Rule 6:

__foo bar__
<p><strong>foo bar</strong></p>

This is not strong emphasis, because the opening delimiter is followed by whitespace:

__ foo bar__
<p>__ foo bar__</p>

A newline counts as whitespace:

__
foo bar__
<p>__
foo bar__</p>

This is not strong emphasis, because the opening __ is preceded by an alphanumeric and followed by punctuation:

a__"foo"__
<p>a__&quot;foo&quot;__</p>

Intraword strong emphasis is forbidden with __:

foo__bar__
<p>foo__bar__</p>
5__6__78
<p>5__6__78</p>
пристаням__стремятся__
<p>пристаням__стремятся__</p>
__foo, __bar__, baz__
<p><strong>foo, <strong>bar</strong>, baz</strong></p>

This is strong emphasis, even though the opening delimiter is both left- and right-flanking, because it is preceded by punctuation:

foo-__(bar)__
<p>foo-<strong>(bar)</strong></p>

Rule 7:

This is not strong emphasis, because the closing delimiter is preceded by whitespace:

**foo bar **
<p>**foo bar **</p>

(Nor can it be interpreted as an emphasized *foo bar *, because of Rule 11.)

This is not strong emphasis, because the second ** is preceded by punctuation and followed by an alphanumeric:

**(**foo)
<p>**(**foo)</p>

The point of this restriction is more easily appreciated with these examples:

*(**foo**)*
<p><em>(<strong>foo</strong>)</em></p>
**Gomphocarpus (*Gomphocarpus physocarpus*, syn.
*Asclepias physocarpa*)**
<p><strong>Gomphocarpus (<em>Gomphocarpus physocarpus</em>, syn.
<em>Asclepias physocarpa</em>)</strong></p>
**foo "*bar*" foo**
<p><strong>foo &quot;<em>bar</em>&quot; foo</strong></p>

Intraword emphasis:

**foo**bar
<p><strong>foo</strong>bar</p>

Rule 8:

This is not strong emphasis, because the closing delimiter is preceded by whitespace:

__foo bar __
<p>__foo bar __</p>

This is not strong emphasis, because the second __ is preceded by punctuation and followed by an alphanumeric:

__(__foo)
<p>__(__foo)</p>

The point of this restriction is more easily appreciated with this example:

_(__foo__)_
<p><em>(<strong>foo</strong>)</em></p>

Intraword strong emphasis is forbidden with __:

__foo__bar
<p>__foo__bar</p>
__пристаням__стремятся
<p>__пристаням__стремятся</p>
__foo__bar__baz__
<p><strong>foo__bar__baz</strong></p>

This is strong emphasis, even though the closing delimiter is both left- and right-flanking, because it is followed by punctuation:

__(bar)__.
<p><strong>(bar)</strong>.</p>

Rule 9:

Any nonempty sequence of inline elements can be the contents of an emphasized span.

*foo [bar](/url)*
<p><em>foo <a href="/url">bar</a></em></p>
*foo
bar*
<p><em>foo
bar</em></p>

In particular, emphasis and strong emphasis can be nested inside emphasis:

_foo __bar__ baz_
<p><em>foo <strong>bar</strong> baz</em></p>
_foo _bar_ baz_
<p><em>foo <em>bar</em> baz</em></p>
__foo_ bar_
<p><em><em>foo</em> bar</em></p>
*foo *bar**
<p><em>foo <em>bar</em></em></p>
*foo **bar** baz*
<p><em>foo <strong>bar</strong> baz</em></p>
*foo**bar**baz*
<p><em>foo<strong>bar</strong>baz</em></p>

Note that in the preceding case, the interpretation

<p><em>foo</em><em>bar<em></em>baz</em></p>

is precluded by the condition that a delimiter that can both open and close (like the * after foo) cannot form emphasis if the sum of the lengths of the delimiter runs containing the opening and closing delimiters is a multiple of 3 unless both lengths are multiples of 3.

For the same reason, we don't get two consecutive emphasis sections in this example:

*foo**bar*
<p><em>foo**bar</em></p>

The same condition ensures that the following cases are all strong emphasis nested inside emphasis, even when the interior spaces are omitted:

***foo** bar*
<p><em><strong>foo</strong> bar</em></p>
*foo **bar***
<p><em>foo <strong>bar</strong></em></p>
*foo**bar***
<p><em>foo<strong>bar</strong></em></p>

When the lengths of the interior closing and opening delimiter runs are both multiples of 3, though, they can match to create emphasis:

foo***bar***baz
<p>foo<em><strong>bar</strong></em>baz</p>
foo******bar*********baz
<p>foo<strong><strong><strong>bar</strong></strong></strong>***baz</p>

Indefinite levels of nesting are possible:

*foo **bar *baz* bim** bop*
<p><em>foo <strong>bar <em>baz</em> bim</strong> bop</em></p>
*foo [*bar*](/url)*
<p><em>foo <a href="/url"><em>bar</em></a></em></p>

There can be no empty emphasis or strong emphasis:

** is not an empty emphasis
<p>** is not an empty emphasis</p>
**** is not an empty strong emphasis
<p>**** is not an empty strong emphasis</p>

Rule 10:

Any nonempty sequence of inline elements can be the contents of an strongly emphasized span.

**foo [bar](/url)**
<p><strong>foo <a href="/url">bar</a></strong></p>
**foo
bar**
<p><strong>foo
bar</strong></p>

In particular, emphasis and strong emphasis can be nested inside strong emphasis:

__foo _bar_ baz__
<p><strong>foo <em>bar</em> baz</strong></p>
__foo __bar__ baz__
<p><strong>foo <strong>bar</strong> baz</strong></p>
____foo__ bar__
<p><strong><strong>foo</strong> bar</strong></p>
**foo **bar****
<p><strong>foo <strong>bar</strong></strong></p>
**foo *bar* baz**
<p><strong>foo <em>bar</em> baz</strong></p>
**foo*bar*baz**
<p><strong>foo<em>bar</em>baz</strong></p>
***foo* bar**
<p><strong><em>foo</em> bar</strong></p>
**foo *bar***
<p><strong>foo <em>bar</em></strong></p>

Indefinite levels of nesting are possible:

**foo *bar **baz**
bim* bop**
<p><strong>foo <em>bar <strong>baz</strong>
bim</em> bop</strong></p>
**foo [*bar*](/url)**
<p><strong>foo <a href="/url"><em>bar</em></a></strong></p>

There can be no empty emphasis or strong emphasis:

__ is not an empty emphasis
<p>__ is not an empty emphasis</p>
____ is not an empty strong emphasis
<p>____ is not an empty strong emphasis</p>

Rule 11:

foo ***
<p>foo ***</p>
foo *\**
<p>foo <em>*</em></p>
foo *_*
<p>foo <em>_</em></p>
foo *****
<p>foo *****</p>
foo **\***
<p>foo <strong>*</strong></p>
foo **_**
<p>foo <strong>_</strong></p>

Note that when delimiters do not match evenly, Rule 11 determines that the excess literal * characters will appear outside of the emphasis, rather than inside it:

**foo*
<p>*<em>foo</em></p>
*foo**
<p><em>foo</em>*</p>
***foo**
<p>*<strong>foo</strong></p>
****foo*
<p>***<em>foo</em></p>
**foo***
<p><strong>foo</strong>*</p>
*foo****
<p><em>foo</em>***</p>

Rule 12:

foo ___
<p>foo ___</p>
foo _\__
<p>foo <em>_</em></p>
foo _*_
<p>foo <em>*</em></p>
foo _____
<p>foo _____</p>
foo __\___
<p>foo <strong>_</strong></p>
foo __*__
<p>foo <strong>*</strong></p>
__foo_
<p>_<em>foo</em></p>

Note that when delimiters do not match evenly, Rule 12 determines that the excess literal _ characters will appear outside of the emphasis, rather than inside it:

_foo__
<p><em>foo</em>_</p>
___foo__
<p>_<strong>foo</strong></p>
____foo_
<p>___<em>foo</em></p>
__foo___
<p><strong>foo</strong>_</p>
_foo____
<p><em>foo</em>___</p>

Rule 13 implies that if you want emphasis nested directly inside emphasis, you must use different delimiters:

**foo**
<p><strong>foo</strong></p>
*_foo_*
<p><em><em>foo</em></em></p>
__foo__
<p><strong>foo</strong></p>
_*foo*_
<p><em><em>foo</em></em></p>

However, strong emphasis within strong emphasis is possible without switching delimiters:

****foo****
<p><strong><strong>foo</strong></strong></p>
____foo____
<p><strong><strong>foo</strong></strong></p>

Rule 13 can be applied to arbitrarily long sequences of delimiters:

******foo******
<p><strong><strong><strong>foo</strong></strong></strong></p>

Rule 14:

***foo***
<p><em><strong>foo</strong></em></p>
_____foo_____
<p><em><strong><strong>foo</strong></strong></em></p>

Rule 15:

*foo _bar* baz_
<p><em>foo _bar</em> baz_</p>
*foo __bar *baz bim__ bam*
<p><em>foo <strong>bar *baz bim</strong> bam</em></p>

Rule 16:

**foo **bar baz**
<p>**foo <strong>bar baz</strong></p>
*foo *bar baz*
<p>*foo <em>bar baz</em></p>

Rule 17:

*[bar*](/url)
<p>*<a href="/url">bar*</a></p>
_foo [bar_](/url)
<p>_foo <a href="/url">bar_</a></p>
*<img src="foo" title="*"/>
<p>*<img src="foo" title="*"/></p>
**<a href="**">
<p>**<a href="**"></p>
__<a href="__">
<p>__<a href="__"></p>
*a `*`*
<p><em>a <code>*</code></em></p>
_a `_`_
<p><em>a <code>_</code></em></p>
**a<http://foo.bar/?q=**>
<p>**a<a href="http://foo.bar/?q=**">http://foo.bar/?q=**</a></p>
__a<http://foo.bar/?q=__>
<p>__a<a href="http://foo.bar/?q=__">http://foo.bar/?q=__</a></p>

Strikethrough (extension)

GFM enables the strikethrough extension, where an additional emphasis type is available.

Strikethrough text is any text wrapped in two tildes (~).

~~Hi~~ Hello, world!
<p><del>Hi</del> Hello, world!</p>

As with regular emphasis delimiters, a new paragraph will cause strikethrough parsing to cease:

This ~~has a

new paragraph~~.
<p>This ~~has a</p>
<p>new paragraph~~.</p>

Links

A link contains [link text] (the visible text), a [link destination] (the URI that is the link destination), and optionally a [link title]. There are two basic kinds of links in Markdown. In [inline links] the destination and title are given immediately after the link text. In [reference links] the destination and title are defined elsewhere in the document.

A link text consists of a sequence of zero or more inline elements enclosed by square brackets ([ and ]). The following rules apply:

  • Links may not contain other links, at any level of nesting. If multiple otherwise valid link definitions appear nested inside each other, the inner-most definition is used.

  • Brackets are allowed in the [link text] only if (a) they are backslash-escaped or (b) they appear as a matched pair of brackets, with an open bracket [, a sequence of zero or more inlines, and a close bracket ].

  • Backtick [code spans], [autolinks], and raw [HTML tags] bind more tightly than the brackets in link text. Thus, for example, [foo`]` could not be a link text, since the second ] is part of a code span.

  • The brackets in link text bind more tightly than markers for [emphasis and strong emphasis]. Thus, for example, *[foo*](url) is a link.

A link destination consists of either

  • a sequence of zero or more characters between an opening < and a closing > that contains no line breaks or unescaped < or > characters, or

  • a nonempty sequence of characters that does not start with <, does not include ASCII space or control characters, and includes parentheses only if (a) they are backslash-escaped or (b) they are part of a balanced pair of unescaped parentheses. (Implementations may impose limits on parentheses nesting to avoid performance issues, but at least three levels of nesting should be supported.)

A link title consists of either

  • a sequence of zero or more characters between straight double-quote characters ("), including a " character only if it is backslash-escaped, or

  • a sequence of zero or more characters between straight single-quote characters ('), including a ' character only if it is backslash-escaped, or

  • a sequence of zero or more characters between matching parentheses ((...)), including a ( or ) character only if it is backslash-escaped.

Although [link titles] may span multiple lines, they may not contain a [blank line].

An inline link consists of a [link text] followed immediately by a left parenthesis (, optional [whitespace], an optional [link destination], an optional [link title] separated from the link destination by [whitespace], optional [whitespace], and a right parenthesis ). The link's text consists of the inlines contained in the [link text] (excluding the enclosing square brackets). The link's URI consists of the link destination, excluding enclosing <...> if present, with backslash-escapes in effect as described above. The link's title consists of the link title, excluding its enclosing delimiters, with backslash-escapes in effect as described above.

Here is a simple inline link:

[link](/uri "title")
<p><a href="/uri" title="title">link</a></p>

The title may be omitted:

[link](/uri)
<p><a href="/uri">link</a></p>

Both the title and the destination may be omitted:

[link]()
<p><a href="">link</a></p>
[link](<>)
<p><a href="">link</a></p>

The destination can only contain spaces if it is enclosed in pointy brackets:

[link](/my uri)
<p>[link](/my uri)</p>
[link](</my uri>)
<p><a href="/my%20uri">link</a></p>

The destination cannot contain line breaks, even if enclosed in pointy brackets:

[link](foo
bar)
<p>[link](foo
bar)</p>
[link](<foo
bar>)
<p>[link](<foo
bar>)</p>

The destination can contain ) if it is enclosed in pointy brackets:

[a](<b)c>)
<p><a href="b)c">a</a></p>

Pointy brackets that enclose links must be unescaped:

[link](<foo\>)
<p>[link](&lt;foo&gt;)</p>

These are not links, because the opening pointy bracket is not matched properly:

[a](<b)c
[a](<b)c>
[a](<b>c)
<p>[a](&lt;b)c
[a](&lt;b)c&gt;
[a](<b>c)</p>

Parentheses inside the link destination may be escaped:

[link](\(foo\))
<p><a href="(foo)">link</a></p>

Any number of parentheses are allowed without escaping, as long as they are balanced:

[link](foo(and(bar)))
<p><a href="foo(and(bar))">link</a></p>

However, if you have unbalanced parentheses, you need to escape or use the <...> form:

[link](foo\(and\(bar\))
<p><a href="foo(and(bar)">link</a></p>
[link](<foo(and(bar)>)
<p><a href="foo(and(bar)">link</a></p>

Parentheses and other symbols can also be escaped, as usual in Markdown:

[link](foo\)\:)
<p><a href="foo):">link</a></p>

A link can contain fragment identifiers and queries:

[link](#fragment)

[link](http://example.com#fragment)

[link](http://example.com?foo=3#frag)
<p><a href="#fragment">link</a></p>
<p><a href="http://example.com#fragment">link</a></p>
<p><a href="http://example.com?foo=3#frag">link</a></p>

Note that a backslash before a non-escapable character is just a backslash:

[link](foo\bar)
<p><a href="foo%5Cbar">link</a></p>

URL-escaping should be left alone inside the destination, as all URL-escaped characters are also valid URL characters. Entity and numerical character references in the destination will be parsed into the corresponding Unicode code points, as usual. These may be optionally URL-escaped when written as HTML, but this spec does not enforce any particular policy for rendering URLs in HTML or other formats. Renderers may make different decisions about how to escape or normalize URLs in the output.

[link](foo%20b&auml;)
<p><a href="foo%20b%C3%A4">link</a></p>

Note that, because titles can often be parsed as destinations, if you try to omit the destination and keep the title, you'll get unexpected results:

[link]("title")
<p><a href="%22title%22">link</a></p>

Titles may be in single quotes, double quotes, or parentheses:

[link](/url "title")
[link](/url 'title')
[link](/url (title))
<p><a href="/url" title="title">link</a>
<a href="/url" title="title">link</a>
<a href="/url" title="title">link</a></p>

Backslash escapes and entity and numeric character references may be used in titles:

[link](/url "title \"&quot;")
<p><a href="/url" title="title &quot;&quot;">link</a></p>

Titles must be separated from the link using a [whitespace]. Other [Unicode whitespace] like non-breaking space doesn't work.

[link](/url "title")
<p><a href="/url%C2%A0%22title%22">link</a></p>

Nested balanced quotes are not allowed without escaping:

[link](/url "title "and" title")
<p>[link](/url &quot;title &quot;and&quot; title&quot;)</p>

But it is easy to work around this by using a different quote type:

[link](/url 'title "and" title')
<p><a href="/url" title="title &quot;and&quot; title">link</a></p>

(Note: Markdown.pl did allow double quotes inside a double-quoted title, and its test suite included a test demonstrating this. But it is hard to see a good rationale for the extra complexity this brings, since there are already many ways---backslash escaping, entity and numeric character references, or using a different quote type for the enclosing title---to write titles containing double quotes. Markdown.pl's handling of titles has a number of other strange features. For example, it allows single-quoted titles in inline links, but not reference links. And, in reference links but not inline links, it allows a title to begin with " and end with ). Markdown.pl 1.0.1 even allows titles with no closing quotation mark, though 1.0.2b8 does not. It seems preferable to adopt a simple, rational rule that works the same way in inline links and link reference definitions.)

[Whitespace] is allowed around the destination and title:

[link](   /uri
  "title"  )
<p><a href="/uri" title="title">link</a></p>

But it is not allowed between the link text and the following parenthesis:

[link] (/uri)
<p>[link] (/uri)</p>

The link text may contain balanced brackets, but not unbalanced ones, unless they are escaped:

[link [foo [bar]]](/uri)
<p><a href="/uri">link [foo [bar]]</a></p>
[link] bar](/uri)
<p>[link] bar](/uri)</p>
[link [bar](/uri)
<p>[link <a href="/uri">bar</a></p>
[link \[bar](/uri)
<p><a href="/uri">link [bar</a></p>

The link text may contain inline content:

[link *foo **bar** `#`*](/uri)
<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
[![moon](moon.jpg)](/uri)
<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>

However, links may not contain other links, at any level of nesting.

[foo [bar](/uri)](/uri)
<p>[foo <a href="/uri">bar</a>](/uri)</p>
[foo *[bar [baz](/uri)](/uri)*](/uri)
<p>[foo <em>[bar <a href="/uri">baz</a>](/uri)</em>](/uri)</p>
![[[foo](uri1)](uri2)](uri3)
<p><img src="uri3" alt="[foo](uri2)" /></p>

These cases illustrate the precedence of link text grouping over emphasis grouping:

*[foo*](/uri)
<p>*<a href="/uri">foo*</a></p>
[foo *bar](baz*)
<p><a href="baz*">foo *bar</a></p>

Note that brackets that aren't part of links do not take precedence:

*foo [bar* baz]
<p><em>foo [bar</em> baz]</p>

These cases illustrate the precedence of HTML tags, code spans, and autolinks over link grouping:

[foo <bar attr="](baz)">
<p>[foo <bar attr="](baz)"></p>
[foo`](/uri)`
<p>[foo<code>](/uri)</code></p>
[foo<http://example.com/?search=](uri)>
<p>[foo<a href="http://example.com/?search=%5D(uri)">http://example.com/?search=](uri)</a></p>

There are three kinds of reference links: full, collapsed, and shortcut.

A full reference link consists of a [link text] immediately followed by a [link label] that [matches] a [link reference definition] elsewhere in the document.

A link label begins with a left bracket ([) and ends with the first right bracket (]) that is not backslash-escaped. Between these brackets there must be at least one [non-whitespace character]. Unescaped square bracket characters are not allowed inside the opening and closing square brackets of [link labels]. A link label can have at most 999 characters inside the square brackets.

One label matches another just in case their normalized forms are equal. To normalize a label, strip off the opening and closing brackets, perform the Unicode case fold, strip leading and trailing [whitespace] and collapse consecutive internal [whitespace] to a single space. If there are multiple matching reference link definitions, the one that comes first in the document is used. (It is desirable in such cases to emit a warning.)

The contents of the first link label are parsed as inlines, which are used as the link's text. The link's URI and title are provided by the matching [link reference definition].

Here is a simple example:

[foo][bar]

[bar]: /url "title"
<p><a href="/url" title="title">foo</a></p>

The rules for the [link text] are the same as with [inline links]. Thus:

The link text may contain balanced brackets, but not unbalanced ones, unless they are escaped:

[link [foo [bar]]][ref]

[ref]: /uri
<p><a href="/uri">link [foo [bar]]</a></p>
[link \[bar][ref]

[ref]: /uri
<p><a href="/uri">link [bar</a></p>

The link text may contain inline content:

[link *foo **bar** `#`*][ref]

[ref]: /uri
<p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
[![moon](moon.jpg)][ref]

[ref]: /uri
<p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>

However, links may not contain other links, at any level of nesting.

[foo [bar](/uri)][ref]

[ref]: /uri
<p>[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p>
[foo *bar [baz][ref]*][ref]

[ref]: /uri
<p>[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p>

(In the examples above, we have two [shortcut reference links] instead of one [full reference link].)

The following cases illustrate the precedence of link text grouping over emphasis grouping:

*[foo*][ref]

[ref]: /uri
<p>*<a href="/uri">foo*</a></p>
[foo *bar][ref]

[ref]: /uri
<p><a href="/uri">foo *bar</a></p>

These cases illustrate the precedence of HTML tags, code spans, and autolinks over link grouping:

[foo <bar attr="][ref]">

[ref]: /uri
<p>[foo <bar attr="][ref]"></p>
[foo`][ref]`

[ref]: /uri
<p>[foo<code>][ref]</code></p>
[foo<http://example.com/?search=][ref]>

[ref]: /uri
<p>[foo<a href="http://example.com/?search=%5D%5Bref%5D">http://example.com/?search=][ref]</a></p>

Matching is case-insensitive:

[foo][BaR]

[bar]: /url "title"
<p><a href="/url" title="title">foo</a></p>

Unicode case fold is used:

[Толпой][Толпой] is a Russian word.

[ТОЛПОЙ]: /url
<p><a href="/url">Толпой</a> is a Russian word.</p>

Consecutive internal [whitespace] is treated as one space for purposes of determining matching:

[Foo
  bar]: /url

[Baz][Foo bar]
<p><a href="/url">Baz</a></p>

No [whitespace] is allowed between the [link text] and the [link label]:

[foo] [bar]

[bar]: /url "title"
<p>[foo] <a href="/url" title="title">bar</a></p>
[foo]
[bar]

[bar]: /url "title"
<p>[foo]
<a href="/url" title="title">bar</a></p>

This is a departure from John Gruber's original Markdown syntax description, which explicitly allows whitespace between the link text and the link label. It brings reference links in line with [inline links], which (according to both original Markdown and this spec) cannot have whitespace after the link text. More importantly, it prevents inadvertent capture of consecutive [shortcut reference links]. If whitespace is allowed between the link text and the link label, then in the following we will have a single reference link, not two shortcut reference links, as intended:

[foo]
[bar]

[foo]: /url1
[bar]: /url2

(Note that [shortcut reference links] were introduced by Gruber himself in a beta version of Markdown.pl, but never included in the official syntax description. Without shortcut reference links, it is harmless to allow space between the link text and link label; but once shortcut references are introduced, it is too dangerous to allow this, as it frequently leads to unintended results.)

When there are multiple matching [link reference definitions], the first is used:

[foo]: /url1

[foo]: /url2

[bar][foo]
<p><a href="/url1">bar</a></p>

Note that matching is performed on normalized strings, not parsed inline content. So the following does not match, even though the labels define equivalent inline content:

[bar][foo\!]

[foo!]: /url
<p>[bar][foo!]</p>

[Link labels] cannot contain brackets, unless they are backslash-escaped:

[foo][ref[]

[ref[]: /uri
<p>[foo][ref[]</p>
<p>[ref[]: /uri</p>
[foo][ref[bar]]

[ref[bar]]: /uri
<p>[foo][ref[bar]]</p>
<p>[ref[bar]]: /uri</p>
[[[foo]]]

[[[foo]]]: /url
<p>[[[foo]]]</p>
<p>[[[foo]]]: /url</p>
[foo][ref\[]

[ref\[]: /uri
<p><a href="/uri">foo</a></p>

Note that in this example ] is not backslash-escaped:

[bar\\]: /uri

[bar\\]
<p><a href="/uri">bar\</a></p>

A [link label] must contain at least one [non-whitespace character]:

[]

[]: /uri
<p>[]</p>
<p>[]: /uri</p>
[
 ]

[
 ]: /uri
<p>[
]</p>
<p>[
]: /uri</p>

A collapsed reference link consists of a [link label] that [matches] a [link reference definition] elsewhere in the document, followed by the string []. The contents of the first link label are parsed as inlines, which are used as the link's text. The link's URI and title are provided by the matching reference link definition. Thus, [foo][] is equivalent to [foo][foo].

[foo][]

[foo]: /url "title"
<p><a href="/url" title="title">foo</a></p>
[*foo* bar][]

[*foo* bar]: /url "title"
<p><a href="/url" title="title"><em>foo</em> bar</a></p>

The link labels are case-insensitive:

[Foo][]

[foo]: /url "title"
<p><a href="/url" title="title">Foo</a></p>

As with full reference links, [whitespace] is not allowed between the two sets of brackets:

[foo] 
[]

[foo]: /url "title"
<p><a href="/url" title="title">foo</a>
[]</p>

A shortcut reference link consists of a [link label] that [matches] a [link reference definition] elsewhere in the document and is not followed by [] or a link label. The contents of the first link label are parsed as inlines, which are used as the link's text. The link's URI and title are provided by the matching link reference definition. Thus, [foo] is equivalent to [foo][].

[foo]

[foo]: /url "title"
<p><a href="/url" title="title">foo</a></p>
[*foo* bar]

[*foo* bar]: /url "title"
<p><a href="/url" title="title"><em>foo</em> bar</a></p>
[[*foo* bar]]

[*foo* bar]: /url "title"
<p>[<a href="/url" title="title"><em>foo</em> bar</a>]</p>
[[bar [foo]

[foo]: /url
<p>[[bar <a href="/url">foo</a></p>

The link labels are case-insensitive:

[Foo]

[foo]: /url "title"
<p><a href="/url" title="title">Foo</a></p>

A space after the link text should be preserved:

[foo] bar

[foo]: /url
<p><a href="/url">foo</a> bar</p>

If you just want bracketed text, you can backslash-escape the opening bracket to avoid links:

\[foo]

[foo]: /url "title"
<p>[foo]</p>

Note that this is a link, because a link label ends with the first following closing bracket:

[foo*]: /url

*[foo*]
<p>*<a href="/url">foo*</a></p>

Full and compact references take precedence over shortcut references:

[foo][bar]

[foo]: /url1
[bar]: /url2
<p><a href="/url2">foo</a></p>
[foo][]

[foo]: /url1
<p><a href="/url1">foo</a></p>

Inline links also take precedence:

[foo]()

[foo]: /url1
<p><a href="">foo</a></p>
[foo](not a link)

[foo]: /url1
<p><a href="/url1">foo</a>(not a link)</p>

In the following case [bar][baz] is parsed as a reference, [foo] as normal text:

[foo][bar][baz]

[baz]: /url
<p>[foo]<a href="/url">bar</a></p>

Here, though, [foo][bar] is parsed as a reference, since [bar] is defined:

[foo][bar][baz]

[baz]: /url1
[bar]: /url2
<p><a href="/url2">foo</a><a href="/url1">baz</a></p>

Here [foo] is not parsed as a shortcut reference, because it is followed by a link label (even though [bar] is not defined):

[foo][bar][baz]

[baz]: /url1
[foo]: /url2
<p>[foo]<a href="/url1">bar</a></p>

Images

Syntax for images is like the syntax for links, with one difference. Instead of [link text], we have an image description. The rules for this are the same as for [link text], except that (a) an image description starts with ![ rather than [, and (b) an image description may contain links. An image description has inline elements as its contents. When an image is rendered to HTML, this is standardly used as the image's alt attribute.

![foo](/url "title")
<p><img src="/url" alt="foo" title="title" /></p>
![foo *bar*]

[foo *bar*]: train.jpg "train & tracks"
<p><img src="train.jpg" alt="foo bar" title="train &amp; tracks" /></p>
![foo ![bar](/url)](/url2)
<p><img src="/url2" alt="foo bar" /></p>
![foo [bar](/url)](/url2)
<p><img src="/url2" alt="foo bar" /></p>

Though this spec is concerned with parsing, not rendering, it is recommended that in rendering to HTML, only the plain string content of the [image description] be used. Note that in the above example, the alt attribute's value is foo bar, not foo [bar](/url) or foo <a href="/url">bar</a>. Only the plain string content is rendered, without formatting.

![foo *bar*][]

[foo *bar*]: train.jpg "train & tracks"
<p><img src="train.jpg" alt="foo bar" title="train &amp; tracks" /></p>
![foo *bar*][foobar]

[FOOBAR]: train.jpg "train & tracks"
<p><img src="train.jpg" alt="foo bar" title="train &amp; tracks" /></p>
![foo](train.jpg)
<p><img src="train.jpg" alt="foo" /></p>
My ![foo bar](/path/to/train.jpg  "title"   )
<p>My <img src="/path/to/train.jpg" alt="foo bar" title="title" /></p>
![foo](<url>)
<p><img src="url" alt="foo" /></p>
![](/url)
<p><img src="/url" alt="" /></p>

Reference-style:

![foo][bar]

[bar]: /url
<p><img src="/url" alt="foo" /></p>
![foo][bar]

[BAR]: /url
<p><img src="/url" alt="foo" /></p>

Collapsed:

![foo][]

[foo]: /url "title"
<p><img src="/url" alt="foo" title="title" /></p>
![*foo* bar][]

[*foo* bar]: /url "title"
<p><img src="/url" alt="foo bar" title="title" /></p>

The labels are case-insensitive:

![Foo][]

[foo]: /url "title"
<p><img src="/url" alt="Foo" title="title" /></p>

As with reference links, [whitespace] is not allowed between the two sets of brackets:

![foo] 
[]

[foo]: /url "title"
<p><img src="/url" alt="foo" title="title" />
[]</p>

Shortcut:

![foo]

[foo]: /url "title"
<p><img src="/url" alt="foo" title="title" /></p>
![*foo* bar]

[*foo* bar]: /url "title"
<p><img src="/url" alt="foo bar" title="title" /></p>

Note that link labels cannot contain unescaped brackets:

![[foo]]

[[foo]]: /url "title"
<p>![[foo]]</p>
<p>[[foo]]: /url &quot;title&quot;</p>

The link labels are case-insensitive:

![Foo]

[foo]: /url "title"
<p><img src="/url" alt="Foo" title="title" /></p>

If you just want a literal ! followed by bracketed text, you can backslash-escape the opening [:

!\[foo]

[foo]: /url "title"
<p>![foo]</p>

If you want a link after a literal !, backslash-escape the !:

\![foo]

[foo]: /url "title"
<p>!<a href="/url" title="title">foo</a></p>

Autolinks

Autolinks are absolute URIs and email addresses inside < and >. They are parsed as links, with the URL or email address as the link label.

A URI autolink consists of <, followed by an [absolute URI] followed by >. It is parsed as a link to the URI, with the URI as the link's label.

An absolute URI, for these purposes, consists of a [scheme] followed by a colon (:) followed by zero or more characters other than ASCII [whitespace] and control characters, <, and >. If the URI includes these characters, they must be percent-encoded (e.g. %20 for a space).

For purposes of this spec, a scheme is any sequence of 2--32 characters beginning with an ASCII letter and followed by any combination of ASCII letters, digits, or the symbols plus ("+"), period ("."), or hyphen ("-").

Here are some valid autolinks:

<http://foo.bar.baz>
<p><a href="http://foo.bar.baz">http://foo.bar.baz</a></p>
<http://foo.bar.baz/test?q=hello&id=22&boolean>
<p><a href="http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean">http://foo.bar.baz/test?q=hello&amp;id=22&amp;boolean</a></p>
<irc://foo.bar:2233/baz>
<p><a href="irc://foo.bar:2233/baz">irc://foo.bar:2233/baz</a></p>

Uppercase is also fine:

<MAILTO:FOO@BAR.BAZ>
<p><a href="MAILTO:FOO@BAR.BAZ">MAILTO:FOO@BAR.BAZ</a></p>

Note that many strings that count as [absolute URIs] for purposes of this spec are not valid URIs, because their schemes are not registered or because of other problems with their syntax:

<a+b+c:d>
<p><a href="a+b+c:d">a+b+c:d</a></p>
<made-up-scheme://foo,bar>
<p><a href="made-up-scheme://foo,bar">made-up-scheme://foo,bar</a></p>
<http://../>
<p><a href="http://../">http://../</a></p>
<localhost:5001/foo>
<p><a href="localhost:5001/foo">localhost:5001/foo</a></p>

Spaces are not allowed in autolinks:

<http://foo.bar/baz bim>
<p>&lt;http://foo.bar/baz bim&gt;</p>

Backslash-escapes do not work inside autolinks:

<http://example.com/\[\>
<p><a href="http://example.com/%5C%5B%5C">http://example.com/\[\</a></p>

An email autolink consists of <, followed by an [email address], followed by >. The link's label is the email address, and the URL is mailto: followed by the email address.

An email address, for these purposes, is anything that matches the non-normative regex from the HTML5 spec:

/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?
(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/

Examples of email autolinks:

<foo@bar.example.com>
<p><a href="mailto:foo@bar.example.com">foo@bar.example.com</a></p>
<foo+special@Bar.baz-bar0.com>
<p><a href="mailto:foo+special@Bar.baz-bar0.com">foo+special@Bar.baz-bar0.com</a></p>

Backslash-escapes do not work inside email autolinks:

<foo\+@bar.example.com>
<p>&lt;foo+@bar.example.com&gt;</p>

These are not autolinks:

<>
<p>&lt;&gt;</p>
< http://foo.bar >
<p>&lt; http://foo.bar &gt;</p>
<m:abc>
<p>&lt;m:abc&gt;</p>
<foo.bar.baz>
<p>&lt;foo.bar.baz&gt;</p>
http://example.com
<p>http://example.com</p>
foo@bar.example.com
<p>foo@bar.example.com</p>

Autolinks (extension)

GFM enables the autolink extension, where autolinks will be recognised in a greater number of conditions.

[Autolink]s can also be constructed without requiring the use of < and to > to delimit them, although they will be recognized under a smaller set of circumstances. All such recognized autolinks can only come at the beginning of a line, after whitespace, or any of the delimiting characters *, _, ~, and (.

An extended www autolink will be recognized when the text www. is found followed by a [valid domain]. A valid domain consists of segments of alphanumeric characters, underscores (_) and hyphens (-) separated by periods (.). There must be at least one period, and no underscores may be present in the last two segments of the domain.

The scheme http will be inserted automatically:

www.commonmark.org
<p><a href="http://www.commonmark.org">www.commonmark.org</a></p>

After a [valid domain], zero or more non-space non-< characters may follow:

Visit www.commonmark.org/help for more information.
<p>Visit <a href="http://www.commonmark.org/help">www.commonmark.org/help</a> for more information.</p>

We then apply extended autolink path validation as follows:

Trailing punctuation (specifically, ?, !, ., ,, :, *, _, and ~) will not be considered part of the autolink, though they may be included in the interior of the link:

Visit www.commonmark.org.

Visit www.commonmark.org/a.b.
<p>Visit <a href="http://www.commonmark.org">www.commonmark.org</a>.</p>
<p>Visit <a href="http://www.commonmark.org/a.b">www.commonmark.org/a.b</a>.</p>

When an autolink ends in ), we scan the entire autolink for the total number of parentheses. If there is a greater number of closing parentheses than opening ones, we don't consider the unmatched trailing parentheses part of the autolink, in order to facilitate including an autolink inside a parenthesis:

www.google.com/search?q=Markup+(business)

www.google.com/search?q=Markup+(business)))

(www.google.com/search?q=Markup+(business))

(www.google.com/search?q=Markup+(business)
<p><a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a></p>
<p><a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a>))</p>
<p>(<a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a>)</p>
<p>(<a href="http://www.google.com/search?q=Markup+(business)">www.google.com/search?q=Markup+(business)</a></p>

This check is only done when the link ends in a closing parentheses ), so if the only parentheses are in the interior of the autolink, no special rules are applied:

www.google.com/search?q=(business))+ok
<p><a href="http://www.google.com/search?q=(business))+ok">www.google.com/search?q=(business))+ok</a></p>

If an autolink ends in a semicolon (;), we check to see if it appears to resemble an [entity reference][entity references]; if the preceding text is & followed by one or more alphanumeric characters. If so, it is excluded from the autolink:

www.google.com/search?q=commonmark&hl=en

www.google.com/search?q=commonmark&hl;
<p><a href="http://www.google.com/search?q=commonmark&amp;hl=en">www.google.com/search?q=commonmark&amp;hl=en</a></p>
<p><a href="http://www.google.com/search?q=commonmark">www.google.com/search?q=commonmark</a>&amp;hl;</p>

< immediately ends an autolink.

www.commonmark.org/he<lp
<p><a href="http://www.commonmark.org/he">www.commonmark.org/he</a>&lt;lp</p>

An extended url autolink will be recognised when one of the schemes http://, https://, or ftp://, followed by a [valid domain], then zero or more non-space non-< characters according to [extended autolink path validation]:

http://commonmark.org

(Visit https://encrypted.google.com/search?q=Markup+(business))

Anonymous FTP is available at ftp://foo.bar.baz.
<p><a href="http://commonmark.org">http://commonmark.org</a></p>
<p>(Visit <a href="https://encrypted.google.com/search?q=Markup+(business)">https://encrypted.google.com/search?q=Markup+(business)</a>)</p>
<p>Anonymous FTP is available at <a href="ftp://foo.bar.baz">ftp://foo.bar.baz</a>.</p>

An extended email autolink will be recognised when an email address is recognised within any text node. Email addresses are recognised according to the following rules:

  • One ore more characters which are alphanumeric, or ., -, _, or +.
  • An @ symbol.
  • One or more characters which are alphanumeric, or - or _, separated by periods (.). There must be at least one period. The last character must not be one of - or _.

The scheme mailto: will automatically be added to the generated link:

foo@bar.baz
<p><a href="mailto:foo@bar.baz">foo@bar.baz</a></p>

+ can occur before the @, but not after.

hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.
<p>hello@mail+xyz.example isn't valid, but <a href="mailto:hello+xyz@mail.example">hello+xyz@mail.example</a> is.</p>

., -, and _ can occur on both sides of the @, but only . may occur at the end of the email address, in which case it will not be considered part of the address:

a.b-c_d@a.b

a.b-c_d@a.b.

a.b-c_d@a.b-

a.b-c_d@a.b_
<p><a href="mailto:a.b-c_d@a.b">a.b-c_d@a.b</a></p>
<p><a href="mailto:a.b-c_d@a.b">a.b-c_d@a.b</a>.</p>
<p>a.b-c_d@a.b-</p>
<p>a.b-c_d@a.b_</p>

Raw HTML

Text between < and > that looks like an HTML tag is parsed as a raw HTML tag and will be rendered in HTML without escaping. Tag and attribute names are not limited to current HTML tags, so custom tags (and even, say, DocBook tags) may be used.

Here is the grammar for tags:

A tag name consists of an ASCII letter followed by zero or more ASCII letters, digits, or hyphens (-).

An attribute consists of [whitespace], an [attribute name], and an optional [attribute value specification].

An attribute name consists of an ASCII letter, _, or :, followed by zero or more ASCII letters, digits, _, ., :, or -. (Note: This is the XML specification restricted to ASCII. HTML5 is laxer.)

An attribute value specification consists of optional [whitespace], a = character, optional [whitespace], and an [attribute value].

An attribute value consists of an [unquoted attribute value], a [single-quoted attribute value], or a [double-quoted attribute value].

An unquoted attribute value is a nonempty string of characters not including [whitespace], ", ', =, <, >, or `.

A single-quoted attribute value consists of ', zero or more characters not including ', and a final '.

A double-quoted attribute value consists of ", zero or more characters not including ", and a final ".

An open tag consists of a < character, a [tag name], zero or more [attributes], optional [whitespace], an optional / character, and a > character.

A closing tag consists of the string </, a [tag name], optional [whitespace], and the character >.

An HTML comment consists of <!-- + text + -->, where text does not start with > or ->, does not end with -, and does not contain --. (See the HTML5 spec.)

A processing instruction consists of the string <?, a string of characters not including the string ?>, and the string ?>.

A declaration consists of the string <!, a name consisting of one or more uppercase ASCII letters, [whitespace], a string of characters not including the character >, and the character >.

A CDATA section consists of the string <![CDATA[, a string of characters not including the string ]]>, and the string ]]>.

An HTML tag consists of an [open tag], a [closing tag], an [HTML comment], a [processing instruction], a [declaration], or a [CDATA section].

Here are some simple open tags:

<a><bab><c2c>
<p><a><bab><c2c></p>

Empty elements:

<a/><b2/>
<p><a/><b2/></p>

[Whitespace] is allowed:

<a  /><b2
data="foo" >
<p><a  /><b2
data="foo" ></p>

With attributes:

<a foo="bar" bam = 'baz <em>"</em>'
_boolean zoop:33=zoop:33 />
<p><a foo="bar" bam = 'baz <em>"</em>'
_boolean zoop:33=zoop:33 /></p>

Custom tag names can be used:

Foo <responsive-image src="foo.jpg" />
<p>Foo <responsive-image src="foo.jpg" /></p>

Illegal tag names, not parsed as HTML:

<33> <__>
<p>&lt;33&gt; &lt;__&gt;</p>

Illegal attribute names:

<a h*#ref="hi">
<p>&lt;a h*#ref=&quot;hi&quot;&gt;</p>

Illegal attribute values:

<a href="hi'> <a href=hi'>
<p>&lt;a href=&quot;hi'&gt; &lt;a href=hi'&gt;</p>

Illegal [whitespace]:

< a><
foo><bar/ >
<foo bar=baz
bim!bop />
<p>&lt; a&gt;&lt;
foo&gt;&lt;bar/ &gt;
&lt;foo bar=baz
bim!bop /&gt;</p>

Missing [whitespace]:

<a href='bar'title=title>
<p>&lt;a href='bar'title=title&gt;</p>

Closing tags:

</a></foo >
<p></a></foo ></p>

Illegal attributes in closing tag:

</a href="foo">
<p>&lt;/a href=&quot;foo&quot;&gt;</p>

Comments:

foo <!-- this is a
comment - with hyphen -->
<p>foo <!-- this is a
comment - with hyphen --></p>
foo <!-- not a comment -- two hyphens -->
<p>foo &lt;!-- not a comment -- two hyphens --&gt;</p>

Not comments:

foo <!--> foo -->

foo <!-- foo--->
<p>foo &lt;!--&gt; foo --&gt;</p>
<p>foo &lt;!-- foo---&gt;</p>

Processing instructions:

foo <?php echo $a; ?>
<p>foo <?php echo $a; ?></p>

Declarations:

foo <!ELEMENT br EMPTY>
<p>foo <!ELEMENT br EMPTY></p>

CDATA sections:

foo <![CDATA[>&<]]>
<p>foo <![CDATA[>&<]]></p>

Entity and numeric character references are preserved in HTML attributes:

foo <a href="&ouml;">
<p>foo <a href="&ouml;"></p>

Backslash escapes do not work in HTML attributes:

foo <a href="\*">
<p>foo <a href="\*"></p>
<a href="\"">
<p>&lt;a href=&quot;&quot;&quot;&gt;</p>

Disallowed Raw HTML (extension)

GFM enables the tagfilter extension, where the following HTML tags will be filtered when rendering HTML output:

  • <title>
  • <textarea>
  • <style>
  • <xmp>
  • <iframe>
  • <noembed>
  • <noframes>
  • <script>
  • <plaintext>

Filtering is done by replacing the leading < with the entity &lt;. These tags are chosen in particular as they change how HTML is interpreted in a way unique to them (i.e. nested HTML is interpreted differently), and this is usually undesireable in the context of other rendered Markdown content.

All other HTML tags are left untouched.

<strong> <title> <style> <em>

<blockquote>
  <xmp> is disallowed.  <XMP> is also disallowed.
</blockquote>
<p><strong> &lt;title> &lt;style> <em></p>
<blockquote>
  &lt;xmp> is disallowed.  &lt;XMP> is also disallowed.
</blockquote>

Hard line breaks

A line break (not in a code span or HTML tag) that is preceded by two or more spaces and does not occur at the end of a block is parsed as a hard line break (rendered in HTML as a <br /> tag):

foo  
baz
<p>foo<br />
baz</p>

For a more visible alternative, a backslash before the [line ending] may be used instead of two spaces:

foo\
baz
<p>foo<br />
baz</p>

More than two spaces can be used:

foo       
baz
<p>foo<br />
baz</p>

Leading spaces at the beginning of the next line are ignored:

foo  
     bar
<p>foo<br />
bar</p>
foo\
     bar
<p>foo<br />
bar</p>

Line breaks can occur inside emphasis, links, and other constructs that allow inline content:

*foo  
bar*
<p><em>foo<br />
bar</em></p>
*foo\
bar*
<p><em>foo<br />
bar</em></p>

Line breaks do not occur inside code spans

`code  
span`
<p><code>code   span</code></p>
`code\
span`
<p><code>code\ span</code></p>

or HTML tags:

<a href="foo  
bar">
<p><a href="foo  
bar"></p>
<a href="foo\
bar">
<p><a href="foo\
bar"></p>

Hard line breaks are for separating inline content within a block. Neither syntax for hard line breaks works at the end of a paragraph or other block element:

foo\
<p>foo\</p>
foo  
<p>foo</p>
### foo\
<h3>foo\</h3>
### foo  
<h3>foo</h3>

Soft line breaks

A regular line break (not in a code span or HTML tag) that is not preceded by two or more spaces or a backslash is parsed as a softbreak. (A softbreak may be rendered in HTML either as a [line ending] or as a space. The result will be the same in browsers. In the examples here, a [line ending] will be used.)

foo
baz
<p>foo
baz</p>

Spaces at the end of the line and beginning of the next line are removed:

foo 
 baz
<p>foo
baz</p>

A conforming parser may render a soft line break in HTML either as a line break or as a space.

A renderer may also provide an option to render soft line breaks as hard line breaks.

Textual content

Any characters not given an interpretation by the above rules will be parsed as plain textual content.

hello $.;'there
<p>hello $.;'there</p>
Foo χρῆν
<p>Foo χρῆν</p>

Internal spaces are preserved verbatim:

Multiple     spaces
<p>Multiple     spaces</p>

GitLab Official Specification Markdown

Note: This specification is a work in progress. Only some of the official GLFM extensions are defined. We will continue to add any additional ones found in the user-facing documentation for GitLab Flavored Markdown.

There is currently only this single top-level heading, but the examples may be split into multiple top-level headings in the future.

Task list items

See Task lists in the GitLab Flavored Markdown documentation.

Task list items (checkboxes) are defined as a GitHub Flavored Markdown extension in a section above. GitLab extends the behavior of task list items to support additional features. Some of these features are in-progress, and should not yet be considered part of the official GitLab Flavored Markdown specification.

Some of the behavior of task list items is implemented as client-side JavaScript/CSS.

The following are some basic examples; more examples may be added in the future.

Incomplete task:

- [ ] incomplete
<ul>
<li>
<task-button/>
<input type="checkbox" disabled/>
incomplete
</li>
</ul>

Completed task:

- [x] completed
<ul>
<li>
<task-button/>
<input type="checkbox" checked disabled/>
completed
</li>
</ul>

Inapplicable task:

- [~] inapplicable
<ul>
<li>
<task-button/>
<input type="checkbox" data-inapplicable disabled>
<s>
inapplicable
</s>
</li>
</ul>

Inapplicable task in a "loose" list. Note that the <del> tag is not applied to the loose text; it has strikethrough applied with CSS.

- [~] inapplicable

  text in loose list
<ul>
<li>
<p>
<task-button/>
<input type="checkbox" data-inapplicable disabled>
<s>
inapplicable
</s>
</p>
<p>
text in loose list
</p>
</li>
</ul>

Front matter

See Front matter in the GitLab Flavored Markdown documentation.

Front matter is metadata included at the beginning of a Markdown document, preceding the content. This data can be used by static site generators like Jekyll, Hugo, and many other applications.

YAML front matter:

---
title: YAML front matter
---
<pre>
<code>
title: YAML front matter
</code>
</pre>

TOML front matter:

+++
title: TOML front matter
+++
<pre>
<code>
title: TOML front matter
</code>
</pre>

JSON front matter:

;;;
{
  "title": "JSON front matter"
}
;;;
<pre>
<code>
{
  "title": "JSON front matter"
}
</code>
</pre>

Front matter blocks should be inserted at the top of the document:

text

---
title: YAML front matter
---
<p>text</p>
<hr>
<h2>title: YAML front matter</h2>

Front matter block delimiters shouldn’t be preceded by space characters:

 ---
title: YAML front matter
---
<hr>
<h2>title: YAML front matter</h2>

Table of contents

See table of contents in the GitLab Flavored Markdown documentation.

NOTE: Because of this bug (https://gitlab.com/gitlab-org/gitlab/-/issues/359077), we cannot actually include the TOC tag with single brackets in backticks in this Markdown document, otherwise it would render a table of contents inline right here. So, it's been switched to [ + TOC + ] instead. This can be reverted once that bug is fixed.

A table of contents is an unordered list that links to subheadings in the document. Add either the [[_TOC_]] tag or the [ + TOC + ] tag on its own line.

[TOC]

# Heading 1

## Heading 2
<nav>
  <ul>
    <li><a href="#heading-1">Heading 1</a></li>
    <ul>
      <li><a href="#heading-2">Heading 2</a></li>
    </ul>
  </ul>
</nav>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
[[_TOC_]]

# Heading 1

## Heading 2
<nav>
  <ul>
    <li><a href="#heading-1">Heading 1</a></li>
    <ul>
      <li><a href="#heading-2">Heading 2</a></li>
    </ul>
  </ul>
</nav>
<h1>Heading 1</h1>
<h2>Heading 2</h2>

A table of contents is a block element. It should preceded and followed by a blank line.

[[_TOC_]]
text

text
[TOC]
<p>[[<em>TOC</em>]]text</p>
<p>text[TOC]</p>

A table of contents can be indented with up to three spaces.

   [[_TOC_]]

# Heading 1
<nav>
  <ul>
    <li><a href="#heading-1">Heading 1</a></li>
  </ul>
</nav>
<h1>Heading 1</h1>

GitLab Internal Extension Markdown

Audio

See audio in the GitLab Flavored Markdown documentation.

GLFM renders image elements as an audio player as long as the resource’s file extension is one of the following supported audio extensions .mp3, .oga, .ogg, .spx, and .wav. Audio ignore the alternative text part of an image declaration.

![audio](audio.oga "audio title")
<p><audio src="audio.oga" title="audio title"></audio></p>

Reference definitions work audio as well:

[audio]: audio.oga "audio title"

![audio][audio]
<p><audio src="audio.oga" title="audio title"></audio></p>

Video

See videos in the GitLab Flavored Markdown documentation.

GLFM renders image elements as a video player as long as the resource’s file extension is one of the following supported video extensions .mp4, .m4v, .mov, .webm, and .ogv. Videos ignore the alternative text part of an image declaration.

![video](video.m4v "video title")
<p><video src="video.m4v" title="video title"></video></p>

Reference definitions work video as well:

[video]: video.mov "video title"

![video][video]
<p><video src="video.mov" title="video title"></video></p>

Markdown Preview API Request Overrides

This section contains examples of all controllers which use PreviewMarkdown module and use different markdown_context_params. They exercise the various preview_markdown endpoints via glfm_example_metadata.yml.

preview_markdown exercising groups API endpoint and UploadLinkFilter:

[groups-test-file](/uploads/groups-test-file)
<p><a href="groups-test-file">groups-test-file</a></p>

preview_markdown exercising projects API endpoint and RepositoryLinkFilter:

[projects-test-file](projects-test-file)
<p><a href="projects-test-file">projects-test-file</a></p>

preview_markdown exercising projects API endpoint and SnippetReferenceFilter:

This project snippet ID reference IS filtered: $88888
<p>This project snippet ID reference IS filtered: $88888</p>

preview_markdown exercising personal (non-project) snippets API endpoint. This is only used by the comment field on personal snippets. It has no unique custom markdown extension behavior, and specifically does not render snippet references via SnippetReferenceFilter, even if the ID is valid.

This personal snippet ID reference is not filtered: $99999
<p>This personal snippet ID reference is not filtered: $99999</p>

preview_markdown exercising project wikis API endpoint and WikiLinkFilter:

[project-wikis-test-file](project-wikis-test-file)
<p><a href="project-wikis-test-file">project-wikis-test-file</a></p>

preview_markdown exercising group wikis API endpoint and WikiLinkFilter. This example also requires an EE license enabling the group_wikis feature:

[group-wikis-test-file](group-wikis-test-file)
<p><a href="group-wikis-test-file">group-wikis-test-file</a></p>

Migrated golden master examples

attachment_image_for_group

![test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png)
TODO: Write canonical HTML for this example

attachment_image_for_project

![test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png)
TODO: Write canonical HTML for this example

attachment_image_for_project_wiki

![test-file](test-file.png)
TODO: Write canonical HTML for this example

attachment_link_for_group

[test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip)
TODO: Write canonical HTML for this example

attachment_link_for_project

[test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip)
TODO: Write canonical HTML for this example

attachment_link_for_project_wiki

[test-file](test-file.zip)
TODO: Write canonical HTML for this example

attachment_link_for_group_wiki

[test-file](test-file.zip)
TODO: Write canonical HTML for this example

audio

![Sample Audio](https://gitlab.com/gitlab.mp3)
TODO: Write canonical HTML for this example

audio_and_video_in_lists

* ![Sample Audio](https://gitlab.com/1.mp3)
* ![Sample Video](https://gitlab.com/2.mp4)

1. ![Sample Video](https://gitlab.com/1.mp4)
2. ![Sample Audio](https://gitlab.com/2.mp3)

* [x] ![Sample Audio](https://gitlab.com/1.mp3)
* [x] ![Sample Audio](https://gitlab.com/2.mp3)
* [x] ![Sample Video](https://gitlab.com/3.mp4)
TODO: Write canonical HTML for this example

blockquote

> This is a blockquote
>
> This is another one
TODO: Write canonical HTML for this example

bold

**bold**
TODO: Write canonical HTML for this example

bullet_list_style_1

* list item 1
* list item 2
  * embedded list item 3
TODO: Write canonical HTML for this example

bullet_list_style_2

- list item 1
- list item 2
  * embedded list item 3
TODO: Write canonical HTML for this example

bullet_list_style_3

+ list item 1
+ list item 2
  - embedded list item 3
TODO: Write canonical HTML for this example

code_block_javascript

```javascript
  console.log('hello world')
```
TODO: Write canonical HTML for this example

code_block_plaintext

```
  plaintext
```
TODO: Write canonical HTML for this example

code_block_unknown

```foobar
  custom_language = >> this <<
```
TODO: Write canonical HTML for this example

color_chips

- `#F00`
- `#F00A`
- `#FF0000`
- `#FF0000AA`
- `RGB(0,255,0)`
- `RGB(0%,100%,0%)`
- `RGBA(0,255,0,0.3)`
- `HSL(540,70%,50%)`
- `HSLA(540,70%,50%,0.3)`
TODO: Write canonical HTML for this example

description_list

<dl>
<dt>Frog</dt>
<dd>Wet green thing</dd>
<dt>Rabbit</dt>
<dd>Warm fluffy thing</dd>
<dt>Punt</dt>
<dd>Kick a ball</dd>
<dd>Take a bet</dd>
<dt>Color</dt>
<dt>Colour</dt>
<dd>

Any hue except _white_ or **black**

</dd>
</dl>
TODO: Write canonical HTML for this example

details

<details>
<summary>This is the visible summary of the collapsible section</summary>

1. collapsed markdown
2. more collapsed markdown

</details>
TODO: Write canonical HTML for this example

diagram_kroki_nomnoml

```nomnoml
  #stroke: #a86128
  [<frame>Decorator pattern|
    [<abstract>Component||+ operation()]
    [Client] depends --> [Component]
    [Decorator|- next: Component]
    [Decorator] decorates -- [ConcreteComponent]
    [Component] <:- [Decorator]
    [Component] <:- [ConcreteComponent]
  ]
```
TODO: Write canonical HTML for this example

diagram_plantuml

```plantuml
  Alice -> Bob: Authentication Request
  Bob --> Alice: Authentication Response

  Alice -> Bob: Another authentication Request
  Alice <-- Bob: Another authentication Response
```
TODO: Write canonical HTML for this example

diagram_plantuml_unicode

```plantuml
A -> B : Text with norwegian characters: æøå
```
TODO: Write canonical HTML for this example

div

<div>plain text</div>
<div>

just a plain ol' div, not much to _expect_!

</div>
TODO: Write canonical HTML for this example

emoji

:sparkles: :heart: :100:
TODO: Write canonical HTML for this example

emphasis

_emphasized text_
TODO: Write canonical HTML for this example

figure

<figure>

![Elephant at sunset](elephant-sunset.jpg)

<figcaption>An elephant at sunset</figcaption>
</figure>
<figure>

![A crocodile wearing crocs](croc-crocs.jpg)

<figcaption>

A crocodile wearing _crocs_!

</figcaption>
</figure>
TODO: Write canonical HTML for this example

footnotes

A footnote reference tag looks like this: [^1]

This reference tag is a mix of letters and numbers. [^footnote]

[^1]: This is the text inside a footnote.

[^footnote]: This is another footnote.
TODO: Write canonical HTML for this example

frontmatter_json

;;;
{
  "title": "Page title"
}
;;;
TODO: Write canonical HTML for this example

frontmatter_toml

+++
title = "Page title"
+++
TODO: Write canonical HTML for this example

frontmatter_yaml

---
title: Page title
---
TODO: Write canonical HTML for this example

hard_break

This is a line after a\
hard break
TODO: Write canonical HTML for this example

headings

# Heading 1

## Heading 2

### Heading 3

#### Heading 4

##### Heading 5

###### Heading 6
TODO: Write canonical HTML for this example

horizontal_rule

---
TODO: Write canonical HTML for this example

html_marks

* Content editor is ~~great~~<ins>amazing</ins>.
* If the changes <abbr title="Looks good to merge">LGTM</abbr>, please <abbr title="Merge when pipeline succeeds">MWPS</abbr>.
* The English song <q>Oh I do like to be beside the seaside</q> looks like this in Hebrew: <span dir="rtl">אה, אני אוהב להיות ליד חוף הים</span>. In the computer's memory, this is stored as <bdo dir="ltr">אה, אני אוהב להיות ליד חוף הים</bdo>.
* <cite>The Scream</cite> by Edvard Munch. Painted in 1893.
* <dfn>HTML</dfn> is the standard markup language for creating web pages.
* Do not forget to buy <mark>milk</mark> today.
* This is a paragraph and <small>smaller text goes here</small>.
* The concert starts at <time datetime="20:00">20:00</time> and you'll be able to enjoy the band for at least <time datetime="PT2H30M">2h 30m</time>.
* Press <kbd>Ctrl</kbd> + <kbd>C</kbd> to copy text (Windows).
* WWF's goal is to: <q>Build a future where people live in harmony with nature.</q> We hope they succeed.
* The error occurred was: <samp>Keyboard not found. Press F1 to continue.</samp>
* The area of a triangle is: 1/2 x <var>b</var> x <var>h</var>, where <var>b</var> is the base, and <var>h</var> is the vertical height.
* <ruby>漢<rt>ㄏㄢˋ</rt></ruby>
* C<sub>7</sub>H<sub>16</sub> + O<sub>2</sub> → CO<sub>2</sub> + H<sub>2</sub>O
* The **Pythagorean theorem** is often expressed as <var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> = <var>c<sup>2</sup></var>
TODO: Write canonical HTML for this example

image

![alt text](https://gitlab.com/logo.png)
TODO: Write canonical HTML for this example

inline_code

`code`
TODO: Write canonical HTML for this example

inline_diff

* {-deleted-}
* {+added+}
TODO: Write canonical HTML for this example

label

~bug
TODO: Write canonical HTML for this example

link

[GitLab](https://gitlab.com)
TODO: Write canonical HTML for this example

math

This math is inline $`a^2+b^2=c^2`$.

This is on a separate line:

```math
a^2+b^2=c^2
```
TODO: Write canonical HTML for this example

ordered_list

1. list item 1
2. list item 2
3. list item 3
TODO: Write canonical HTML for this example

ordered_list_with_start_order

134. list item 1
135. list item 2
136. list item 3
TODO: Write canonical HTML for this example

ordered_task_list

1. [x] hello
2. [x] world
3. [ ] example
   1. [ ] of nested
      1. [x] task list
      2. [ ] items
TODO: Write canonical HTML for this example

ordered_task_list_with_order

4893. [x] hello
4894. [x] world
4895. [ ] example
TODO: Write canonical HTML for this example

reference_for_project_wiki

Hi @gfm_user - thank you for reporting this ~"UX bug" (#1) we hope to fix it in %1.1 as part of !1
TODO: Write canonical HTML for this example

strike

~~del~~
TODO: Write canonical HTML for this example

table

| header | header |
|--------|--------|
| `code` | cell with **bold** |
| ~~strike~~ | cell with _italic_ |

# content after table
TODO: Write canonical HTML for this example

table_of_contents

[[_TOC_]]

# Lorem

Well, that's just like... your opinion.. man.

## Ipsum

### Dolar

# Sit amit

### I don't know
TODO: Write canonical HTML for this example

task_list

* [x] hello
* [x] world
* [ ] example
  * [ ] of nested
    * [x] task list
    * [ ] items
TODO: Write canonical HTML for this example

video

![Sample Video](https://gitlab.com/gitlab.mp4)
TODO: Write canonical HTML for this example

word_break

Fernstraßen<wbr>bau<wbr>privat<wbr>finanzierungs<wbr>gesetz
TODO: Write canonical HTML for this example

Image Attributes

See Change the image dimensions in the GitLab Flavored Markdown documentation.

The width and height attributes for an image can be specified directly after the image markdown.

General syntax conforms to the commonmark-hs attribute syntax where it makes sense.

![](https://gitlab.com/logo.png){width="100" height="100"}
<p><img src="https://gitlab.com/logo.png" width="100" height="100"></p>

% and px units may also be specified.

![](https://gitlab.com/logo.png){width="100%"}
<p><img src="https://gitlab.com/logo.png" width="100%"></p>
![](https://gitlab.com/logo.png){height="100px"}
<p><img src="https://gitlab.com/logo.png" height="100px"></p>

Whitespace is tolerated around the delimiters:

![](https://gitlab.com/logo.png){ width="100" height="100" }
<p><img src="https://gitlab.com/logo.png" width="100" height="100"></p>

Attributes must immediately follow the image markdown.

![](https://gitlab.com/logo.png) {width="100" height="100"}
<p><img src="https://gitlab.com/logo.png"> {width="100" height="100"}</p>

Footnotes

See the footnotes section of the user-facing documentation for GitLab Flavored Markdown.

footnote reference tag [^fortytwo]

[^fortytwo]: footnote text
<p>
footnote reference tag
<sup>
<a href="#fn-fortytwo-42" id="fnref-fortytwo-42" data-footnote-ref>
1
</a>
</sup>
</p>
<section data-footnotes>
<ol>
<li id="fn-fortytwo-42">
<p>
footnote text
<a href="#fnref-fortytwo-42" data-footnote-backref>
</a>
</p>
</li>
</ol>
</section>
X-Content-Type-Options: nosniff Content-Security-Policy: default-src 'none' Content-Type: text/plain; charset=UTF-8 Content-Length: 221596 Content-Disposition: inline; filename="snapshot_spec.md" Last-Modified: Tue, 02 Jul 2024 14:21:09 GMT Expires: Tue, 02 Jul 2024 14:26:09 GMT ETag: "3b3628032bf7d5ca3508faea5643baafe0249997" --- title: GitLab Flavored Markdown Internal Extensions version: alpha ... # Preliminaries ## Characters and lines Any sequence of [characters] is a valid CommonMark document. A [character](@) is a Unicode code point. Although some code points (for example, combining accents) do not correspond to characters in an intuitive sense, all code points count as characters for purposes of this spec. This spec does not specify an encoding; it thinks of lines as composed of [characters] rather than bytes. A conforming parser may be limited to a certain encoding. A [line](@) is a sequence of zero or more [characters] other than newline (`U+000A`) or carriage return (`U+000D`), followed by a [line ending] or by the end of file. A [line ending](@) is a newline (`U+000A`), a carriage return (`U+000D`) not followed by a newline, or a carriage return and a following newline. A line containing no characters, or a line containing only spaces (`U+0020`) or tabs (`U+0009`), is called a [blank line](@). The following definitions of character classes will be used in this spec: A [whitespace character](@) is a space (`U+0020`), tab (`U+0009`), newline (`U+000A`), line tabulation (`U+000B`), form feed (`U+000C`), or carriage return (`U+000D`). [Whitespace](@) is a sequence of one or more [whitespace characters]. A [Unicode whitespace character](@) is any code point in the Unicode `Zs` general category, or a tab (`U+0009`), carriage return (`U+000D`), newline (`U+000A`), or form feed (`U+000C`). [Unicode whitespace](@) is a sequence of one or more [Unicode whitespace characters]. A [space](@) is `U+0020`. A [non-whitespace character](@) is any character that is not a [whitespace character]. An [ASCII punctuation character](@) is `!`, `"`, `#`, `$`, `%`, `&`, `'`, `(`, `)`, `*`, `+`, `,`, `-`, `.`, `/` (U+0021–2F), `:`, `;`, `<`, `=`, `>`, `?`, `@` (U+003A–0040), `[`, `\`, `]`, `^`, `_`, `` ` `` (U+005B–0060), `{`, `|`, `}`, or `~` (U+007B–007E). A [punctuation character](@) is an [ASCII punctuation character] or anything in the general Unicode categories `Pc`, `Pd`, `Pe`, `Pf`, `Pi`, `Po`, or `Ps`. ## Tabs Tabs in lines are not expanded to [spaces]. However, in contexts where whitespace helps to define block structure, tabs behave as if they were replaced by spaces with a tab stop of 4 characters. Thus, for example, a tab can be used instead of four spaces in an indented code block. (Note, however, that internal tabs are passed through as literal tabs, not expanded to spaces.) ```````````````````````````````` example →foo→baz→→bim .
foo→baz→→bim
```````````````````````````````` ```````````````````````````````` example →foo→baz→→bim .
foo→baz→→bim
```````````````````````````````` ```````````````````````````````` example a→a ὐ→a .
a→a
ὐ→a
```````````````````````````````` In the following example, a continuation paragraph of a list item is indented with a tab; this has exactly the same effect as indentation with four spaces would: ```````````````````````````````` example - foo →bar .
  • foo

    bar

```````````````````````````````` ```````````````````````````````` example - foo →→bar .
  • foo

      bar
    
```````````````````````````````` Normally the `>` that begins a block quote may be followed optionally by a space, which is not considered part of the content. In the following case `>` is followed by a tab, which is treated as if it were expanded into three spaces. Since one of these spaces is considered part of the delimiter, `foo` is considered to be indented six spaces inside the block quote context, so we get an indented code block starting with two spaces. ```````````````````````````````` example >→→foo .
  foo
```````````````````````````````` ```````````````````````````````` example -→→foo .
  •   foo
    
```````````````````````````````` ```````````````````````````````` example foo →bar .
foo
bar
```````````````````````````````` ```````````````````````````````` example - foo - bar → - baz .
  • foo
    • bar
      • baz
```````````````````````````````` ```````````````````````````````` example #→Foo .

Foo

```````````````````````````````` ```````````````````````````````` example *→*→*→ .
```````````````````````````````` ## Insecure characters For security reasons, the Unicode character `U+0000` must be replaced with the REPLACEMENT CHARACTER (`U+FFFD`). # Blocks and inlines We can think of a document as a sequence of [blocks](@)---structural elements like paragraphs, block quotations, lists, headings, rules, and code blocks. Some blocks (like block quotes and list items) contain other blocks; others (like headings and paragraphs) contain [inline](@) content---text, links, emphasized text, images, code spans, and so on. ## Precedence Indicators of block structure always take precedence over indicators of inline structure. So, for example, the following is a list with two items, not a list with one item containing a code span: ```````````````````````````````` example - `one - two` .
  • `one
  • two`
```````````````````````````````` This means that parsing can proceed in two steps: first, the block structure of the document can be discerned; second, text lines inside paragraphs, headings, and other block constructs can be parsed for inline structure. The second step requires information about link reference definitions that will be available only at the end of the first step. Note that the first step requires processing lines in sequence, but the second can be parallelized, since the inline parsing of one block element does not affect the inline parsing of any other. ## Container blocks and leaf blocks We can divide blocks into two types: [container blocks](@), which can contain other blocks, and [leaf blocks](@), which cannot. # Leaf blocks This section describes the different kinds of leaf block that make up a Markdown document. ## Thematic breaks A line consisting of 0-3 spaces of indentation, followed by a sequence of three or more matching `-`, `_`, or `*` characters, each followed optionally by any number of spaces or tabs, forms a [thematic break](@). ```````````````````````````````` example *** --- ___ .


```````````````````````````````` Wrong characters: ```````````````````````````````` example +++ .

+++

```````````````````````````````` ```````````````````````````````` example === .

===

```````````````````````````````` Not enough characters: ```````````````````````````````` example -- ** __ .

-- ** __

```````````````````````````````` One to three spaces indent are allowed: ```````````````````````````````` example *** *** *** .


```````````````````````````````` Four spaces is too many: ```````````````````````````````` example *** .
***
```````````````````````````````` ```````````````````````````````` example Foo *** .

Foo ***

```````````````````````````````` More than three characters may be used: ```````````````````````````````` example _____________________________________ .
```````````````````````````````` Spaces are allowed between the characters: ```````````````````````````````` example - - - .
```````````````````````````````` ```````````````````````````````` example ** * ** * ** * ** .
```````````````````````````````` ```````````````````````````````` example - - - - .
```````````````````````````````` Spaces are allowed at the end: ```````````````````````````````` example - - - - .
```````````````````````````````` However, no other characters may occur in the line: ```````````````````````````````` example _ _ _ _ a a------ ---a--- .

_ _ _ _ a

a------

---a---

```````````````````````````````` It is required that all of the [non-whitespace characters] be the same. So, this is not a thematic break: ```````````````````````````````` example *-* .

-

```````````````````````````````` Thematic breaks do not need blank lines before or after: ```````````````````````````````` example - foo *** - bar .
  • foo

  • bar
```````````````````````````````` Thematic breaks can interrupt a paragraph: ```````````````````````````````` example Foo *** bar .

Foo


bar

```````````````````````````````` If a line of dashes that meets the above conditions for being a thematic break could also be interpreted as the underline of a [setext heading], the interpretation as a [setext heading] takes precedence. Thus, for example, this is a setext heading, not a paragraph followed by a thematic break: ```````````````````````````````` example Foo --- bar .

Foo

bar

```````````````````````````````` When both a thematic break and a list item are possible interpretations of a line, the thematic break takes precedence: ```````````````````````````````` example * Foo * * * * Bar .
  • Foo

  • Bar
```````````````````````````````` If you want a thematic break in a list item, use a different bullet: ```````````````````````````````` example - Foo - * * * .
  • Foo

```````````````````````````````` ## ATX headings An [ATX heading](@) consists of a string of characters, parsed as inline content, between an opening sequence of 1--6 unescaped `#` characters and an optional closing sequence of any number of unescaped `#` characters. The opening sequence of `#` characters must be followed by a [space] or by the end of line. The optional closing sequence of `#`s must be preceded by a [space] and may be followed by spaces only. The opening `#` character may be indented 0-3 spaces. The raw contents of the heading are stripped of leading and trailing spaces before being parsed as inline content. The heading level is equal to the number of `#` characters in the opening sequence. Simple headings: ```````````````````````````````` example # foo ## foo ### foo #### foo ##### foo ###### foo .

foo

foo

foo

foo

foo
foo
```````````````````````````````` More than six `#` characters is not a heading: ```````````````````````````````` example ####### foo .

####### foo

```````````````````````````````` At least one space is required between the `#` characters and the heading's contents, unless the heading is empty. Note that many implementations currently do not require the space. However, the space was required by the [original ATX implementation](http://www.aaronsw.com/2002/atx/atx.py), and it helps prevent things like the following from being parsed as headings: ```````````````````````````````` example #5 bolt #hashtag .

#5 bolt

#hashtag

```````````````````````````````` This is not a heading, because the first `#` is escaped: ```````````````````````````````` example \## foo .

## foo

```````````````````````````````` Contents are parsed as inlines: ```````````````````````````````` example # foo *bar* \*baz\* .

foo bar *baz*

```````````````````````````````` Leading and trailing [whitespace] is ignored in parsing inline content: ```````````````````````````````` example # foo .

foo

```````````````````````````````` One to three spaces indentation are allowed: ```````````````````````````````` example ### foo ## foo # foo .

foo

foo

foo

```````````````````````````````` Four spaces are too much: ```````````````````````````````` example # foo .
# foo
```````````````````````````````` ```````````````````````````````` example foo # bar .

foo # bar

```````````````````````````````` A closing sequence of `#` characters is optional: ```````````````````````````````` example ## foo ## ### bar ### .

foo

bar

```````````````````````````````` It need not be the same length as the opening sequence: ```````````````````````````````` example # foo ################################## ##### foo ## .

foo

foo
```````````````````````````````` Spaces are allowed after the closing sequence: ```````````````````````````````` example ### foo ### .

foo

```````````````````````````````` A sequence of `#` characters with anything but [spaces] following it is not a closing sequence, but counts as part of the contents of the heading: ```````````````````````````````` example ### foo ### b .

foo ### b

```````````````````````````````` The closing sequence must be preceded by a space: ```````````````````````````````` example # foo# .

foo#

```````````````````````````````` Backslash-escaped `#` characters do not count as part of the closing sequence: ```````````````````````````````` example ### foo \### ## foo #\## # foo \# .

foo ###

foo ###

foo #

```````````````````````````````` ATX headings need not be separated from surrounding content by blank lines, and they can interrupt paragraphs: ```````````````````````````````` example **** ## foo **** .

foo


```````````````````````````````` ```````````````````````````````` example Foo bar # baz Bar foo .

Foo bar

baz

Bar foo

```````````````````````````````` ATX headings can be empty: ```````````````````````````````` example ## # ### ### .

```````````````````````````````` ## Setext headings A [setext heading](@) consists of one or more lines of text, each containing at least one [non-whitespace character], with no more than 3 spaces indentation, followed by a [setext heading underline]. The lines of text must be such that, were they not followed by the setext heading underline, they would be interpreted as a paragraph: they cannot be interpretable as a [code fence], [ATX heading][ATX headings], [block quote][block quotes], [thematic break][thematic breaks], [list item][list items], or [HTML block][HTML blocks]. A [setext heading underline](@) is a sequence of `=` characters or a sequence of `-` characters, with no more than 3 spaces indentation and any number of trailing spaces. If a line containing a single `-` can be interpreted as an empty [list items], it should be interpreted this way and not as a [setext heading underline]. The heading is a level 1 heading if `=` characters are used in the [setext heading underline], and a level 2 heading if `-` characters are used. The contents of the heading are the result of parsing the preceding lines of text as CommonMark inline content. In general, a setext heading need not be preceded or followed by a blank line. However, it cannot interrupt a paragraph, so when a setext heading comes after a paragraph, a blank line is needed between them. Simple examples: ```````````````````````````````` example Foo *bar* ========= Foo *bar* --------- .

Foo bar

Foo bar

```````````````````````````````` The content of the header may span more than one line: ```````````````````````````````` example Foo *bar baz* ==== .

Foo bar baz

```````````````````````````````` The contents are the result of parsing the headings's raw content as inlines. The heading's raw content is formed by concatenating the lines and removing initial and final [whitespace]. ```````````````````````````````` example Foo *bar baz*→ ==== .

Foo bar baz

```````````````````````````````` The underlining can be any length: ```````````````````````````````` example Foo ------------------------- Foo = .

Foo

Foo

```````````````````````````````` The heading content can be indented up to three spaces, and need not line up with the underlining: ```````````````````````````````` example Foo --- Foo ----- Foo === .

Foo

Foo

Foo

```````````````````````````````` Four spaces indent is too much: ```````````````````````````````` example Foo --- Foo --- .
Foo
---

Foo

```````````````````````````````` The setext heading underline can be indented up to three spaces, and may have trailing spaces: ```````````````````````````````` example Foo ---- .

Foo

```````````````````````````````` Four spaces is too much: ```````````````````````````````` example Foo --- .

Foo ---

```````````````````````````````` The setext heading underline cannot contain internal spaces: ```````````````````````````````` example Foo = = Foo --- - .

Foo = =

Foo


```````````````````````````````` Trailing spaces in the content line do not cause a line break: ```````````````````````````````` example Foo ----- .

Foo

```````````````````````````````` Nor does a backslash at the end: ```````````````````````````````` example Foo\ ---- .

Foo\

```````````````````````````````` Since indicators of block structure take precedence over indicators of inline structure, the following are setext headings: ```````````````````````````````` example `Foo ---- ` .

`Foo

`

<a title="a lot

of dashes"/>

```````````````````````````````` The setext heading underline cannot be a [lazy continuation line] in a list item or block quote: ```````````````````````````````` example > Foo --- .

Foo


```````````````````````````````` ```````````````````````````````` example > foo bar === .

foo bar ===

```````````````````````````````` ```````````````````````````````` example - Foo --- .
  • Foo

```````````````````````````````` A blank line is needed between a paragraph and a following setext heading, since otherwise the paragraph becomes part of the heading's content: ```````````````````````````````` example Foo Bar --- .

Foo Bar

```````````````````````````````` But in general a blank line is not required before or after setext headings: ```````````````````````````````` example --- Foo --- Bar --- Baz .

Foo

Bar

Baz

```````````````````````````````` Setext headings cannot be empty: ```````````````````````````````` example ==== .

====

```````````````````````````````` Setext heading text lines must not be interpretable as block constructs other than paragraphs. So, the line of dashes in these examples gets interpreted as a thematic break: ```````````````````````````````` example --- --- .

```````````````````````````````` ```````````````````````````````` example - foo ----- .
  • foo

```````````````````````````````` ```````````````````````````````` example foo --- .
foo

```````````````````````````````` ```````````````````````````````` example > foo ----- .

foo


```````````````````````````````` If you want a heading with `> foo` as its literal text, you can use backslash escapes: ```````````````````````````````` example \> foo ------ .

> foo

```````````````````````````````` **Compatibility note:** Most existing Markdown implementations do not allow the text of setext headings to span multiple lines. But there is no consensus about how to interpret ``` markdown Foo bar --- baz ``` One can find four different interpretations: 1. paragraph "Foo", heading "bar", paragraph "baz" 2. paragraph "Foo bar", thematic break, paragraph "baz" 3. paragraph "Foo bar --- baz" 4. heading "Foo bar", paragraph "baz" We find interpretation 4 most natural, and interpretation 4 increases the expressive power of CommonMark, by allowing multiline headings. Authors who want interpretation 1 can put a blank line after the first paragraph: ```````````````````````````````` example Foo bar --- baz .

Foo

bar

baz

```````````````````````````````` Authors who want interpretation 2 can put blank lines around the thematic break, ```````````````````````````````` example Foo bar --- baz .

Foo bar


baz

```````````````````````````````` or use a thematic break that cannot count as a [setext heading underline], such as ```````````````````````````````` example Foo bar * * * baz .

Foo bar


baz

```````````````````````````````` Authors who want interpretation 3 can use backslash escapes: ```````````````````````````````` example Foo bar \--- baz .

Foo bar --- baz

```````````````````````````````` ## Indented code blocks An [indented code block](@) is composed of one or more [indented chunks] separated by blank lines. An [indented chunk](@) is a sequence of non-blank lines, each indented four or more spaces. The contents of the code block are the literal contents of the lines, including trailing [line endings], minus four spaces of indentation. An indented code block has no [info string]. An indented code block cannot interrupt a paragraph, so there must be a blank line between a paragraph and a following indented code block. (A blank line is not needed, however, between a code block and a following paragraph.) ```````````````````````````````` example a simple indented code block .
a simple
  indented code block
```````````````````````````````` If there is any ambiguity between an interpretation of indentation as a code block and as indicating that material belongs to a [list item][list items], the list item interpretation takes precedence: ```````````````````````````````` example - foo bar .
  • foo

    bar

```````````````````````````````` ```````````````````````````````` example 1. foo - bar .
  1. foo

    • bar
```````````````````````````````` The contents of a code block are literal text, and do not get parsed as Markdown: ```````````````````````````````` example
*hi* - one .
<a/>
*hi*

- one
```````````````````````````````` Here we have three chunks separated by blank lines: ```````````````````````````````` example chunk1 chunk2 chunk3 .
chunk1

chunk2



chunk3
```````````````````````````````` Any initial spaces beyond four will be included in the content, even in interior blank lines: ```````````````````````````````` example chunk1 chunk2 .
chunk1
  
  chunk2
```````````````````````````````` An indented code block cannot interrupt a paragraph. (This allows hanging indents and the like.) ```````````````````````````````` example Foo bar .

Foo bar

```````````````````````````````` However, any non-blank line with fewer than four leading spaces ends the code block immediately. So a paragraph may occur immediately after indented code: ```````````````````````````````` example foo bar .
foo

bar

```````````````````````````````` And indented code can occur immediately before and after other kinds of blocks: ```````````````````````````````` example # Heading foo Heading ------ foo ---- .

Heading

foo

Heading

foo

```````````````````````````````` The first line can be indented more than four spaces: ```````````````````````````````` example foo bar .
    foo
bar
```````````````````````````````` Blank lines preceding or following an indented code block are not included in it: ```````````````````````````````` example foo .
foo
```````````````````````````````` Trailing spaces are included in the code block's content: ```````````````````````````````` example foo .
foo  
```````````````````````````````` ## Fenced code blocks A [code fence](@) is a sequence of at least three consecutive backtick characters (`` ` ``) or tildes (`~`). (Tildes and backticks cannot be mixed.) A [fenced code block](@) begins with a code fence, indented no more than three spaces. The line with the opening code fence may optionally contain some text following the code fence; this is trimmed of leading and trailing whitespace and called the [info string](@). If the [info string] comes after a backtick fence, it may not contain any backtick characters. (The reason for this restriction is that otherwise some inline code would be incorrectly interpreted as the beginning of a fenced code block.) The content of the code block consists of all subsequent lines, until a closing [code fence] of the same type as the code block began with (backticks or tildes), and with at least as many backticks or tildes as the opening code fence. If the leading code fence is indented N spaces, then up to N spaces of indentation are removed from each line of the content (if present). (If a content line is not indented, it is preserved unchanged. If it is indented less than N spaces, all of the indentation is removed.) The closing code fence may be indented up to three spaces, and may be followed only by spaces, which are ignored. If the end of the containing block (or document) is reached and no closing code fence has been found, the code block contains all of the lines after the opening code fence until the end of the containing block (or document). (An alternative spec would require backtracking in the event that a closing code fence is not found. But this makes parsing much less efficient, and there seems to be no real down side to the behavior described here.) A fenced code block may interrupt a paragraph, and does not require a blank line either before or after. The content of a code fence is treated as literal text, not parsed as inlines. The first word of the [info string] is typically used to specify the language of the code sample, and rendered in the `class` attribute of the `code` tag. However, this spec does not mandate any particular treatment of the [info string]. Here is a simple example with backticks: ```````````````````````````````` example ``` < > ``` .
<
 >
```````````````````````````````` With tildes: ```````````````````````````````` example ~~~ < > ~~~ .
<
 >
```````````````````````````````` Fewer than three backticks is not enough: ```````````````````````````````` example `` foo `` .

foo

```````````````````````````````` The closing code fence must use the same character as the opening fence: ```````````````````````````````` example ``` aaa ~~~ ``` .
aaa
~~~
```````````````````````````````` ```````````````````````````````` example ~~~ aaa ``` ~~~ .
aaa
```
```````````````````````````````` The closing code fence must be at least as long as the opening fence: ```````````````````````````````` example ```` aaa ``` `````` .
aaa
```
```````````````````````````````` ```````````````````````````````` example ~~~~ aaa ~~~ ~~~~ .
aaa
~~~
```````````````````````````````` Unclosed code blocks are closed by the end of the document (or the enclosing [block quote][block quotes] or [list item][list items]): ```````````````````````````````` example ``` .
```````````````````````````````` ```````````````````````````````` example ````` ``` aaa .

```
aaa
```````````````````````````````` ```````````````````````````````` example > ``` > aaa bbb .
aaa

bbb

```````````````````````````````` A code block can have all empty lines as its content: ```````````````````````````````` example ``` ``` .

  
```````````````````````````````` A code block can be empty: ```````````````````````````````` example ``` ``` .
```````````````````````````````` Fences can be indented. If the opening fence is indented, content lines will have equivalent opening indentation removed, if present: ```````````````````````````````` example ``` aaa aaa ``` .
aaa
aaa
```````````````````````````````` ```````````````````````````````` example ``` aaa aaa aaa ``` .
aaa
aaa
aaa
```````````````````````````````` ```````````````````````````````` example ``` aaa aaa aaa ``` .
aaa
 aaa
aaa
```````````````````````````````` Four spaces indentation produces an indented code block: ```````````````````````````````` example ``` aaa ``` .
```
aaa
```
```````````````````````````````` Closing fences may be indented by 0-3 spaces, and their indentation need not match that of the opening fence: ```````````````````````````````` example ``` aaa ``` .
aaa
```````````````````````````````` ```````````````````````````````` example ``` aaa ``` .
aaa
```````````````````````````````` This is not a closing fence, because it is indented 4 spaces: ```````````````````````````````` example ``` aaa ``` .
aaa
    ```
```````````````````````````````` Code fences (opening and closing) cannot contain internal spaces: ```````````````````````````````` example ``` ``` aaa .

aaa

```````````````````````````````` ```````````````````````````````` example ~~~~~~ aaa ~~~ ~~ .
aaa
~~~ ~~
```````````````````````````````` Fenced code blocks can interrupt paragraphs, and can be followed directly by paragraphs, without a blank line between: ```````````````````````````````` example foo ``` bar ``` baz .

foo

bar

baz

```````````````````````````````` Other blocks can also occur before and after fenced code blocks without an intervening blank line: ```````````````````````````````` example foo --- ~~~ bar ~~~ # baz .

foo

bar

baz

```````````````````````````````` An [info string] can be provided after the opening code fence. Although this spec doesn't mandate any particular treatment of the info string, the first word is typically used to specify the language of the code block. In HTML output, the language is normally indicated by adding a class to the `code` element consisting of `language-` followed by the language name. ```````````````````````````````` example ```ruby def foo(x) return 3 end ``` .
def foo(x)
  return 3
end
```````````````````````````````` ```````````````````````````````` example ~~~~ ruby startline=3 $%@#$ def foo(x) return 3 end ~~~~~~~ .
def foo(x)
  return 3
end
```````````````````````````````` ```````````````````````````````` example ````; ```` .
```````````````````````````````` [Info strings] for backtick code blocks cannot contain backticks: ```````````````````````````````` example ``` aa ``` foo .

aa foo

```````````````````````````````` [Info strings] for tilde code blocks can contain backticks and tildes: ```````````````````````````````` example ~~~ aa ``` ~~~ foo ~~~ .
foo
```````````````````````````````` Closing code fences cannot have [info strings]: ```````````````````````````````` example ``` ``` aaa ``` .
``` aaa
```````````````````````````````` ## HTML blocks An [HTML block](@) is a group of lines that is treated as raw HTML (and will not be escaped in HTML output). There are seven kinds of [HTML block], which can be defined by their start and end conditions. The block begins with a line that meets a [start condition](@) (after up to three spaces optional indentation). It ends with the first subsequent line that meets a matching [end condition](@), or the last line of the document, or the last line of the [container block](#container-blocks) containing the current HTML block, if no line is encountered that meets the [end condition]. If the first line meets both the [start condition] and the [end condition], the block will contain just that line. 1. **Start condition:** line begins with the string ``, or the end of the line.\ **End condition:** line contains an end tag ``, ``, or `` (case-insensitive; it need not match the start tag). 2. **Start condition:** line begins with the string ``. 3. **Start condition:** line begins with the string ``. 4. **Start condition:** line begins with the string ``. 5. **Start condition:** line begins with the string ``. 6. **Start condition:** line begins the string `<` or ``, or the string `/>`.\ **End condition:** line is followed by a [blank line]. 7. **Start condition:** line begins with a complete [open tag] (with any [tag name] other than `script`, `style`, or `pre`) or a complete [closing tag], followed only by [whitespace] or the end of the line.\ **End condition:** line is followed by a [blank line]. HTML blocks continue until they are closed by their appropriate [end condition], or the last line of the document or other [container block](#container-blocks). This means any HTML **within an HTML block** that might otherwise be recognised as a start condition will be ignored by the parser and passed through as-is, without changing the parser's state. For instance, `
` within a HTML block started by `` will not affect
the parser state; as the HTML block was started in by start condition 6, it
will end at any blank line. This can be surprising:

```````````````````````````````` example
**Hello**,

_world_.
.
**Hello**,

world.

```````````````````````````````` In this case, the HTML block is terminated by the newline — the `**Hello**` text remains verbatim — and regular parsing resumes, with a paragraph, emphasised `world` and inline and block HTML following. All types of [HTML blocks] except type 7 may interrupt a paragraph. Blocks of type 7 may not interrupt a paragraph. (This restriction is intended to prevent unwanted interpretation of long tags inside a wrapped paragraph as starting HTML blocks.) Some simple examples follow. Here are some basic HTML blocks of type 6: ```````````````````````````````` example
hi
okay. .
hi

okay.

```````````````````````````````` ```````````````````````````````` example
*foo* ```````````````````````````````` Here we have two HTML blocks with a Markdown paragraph between them: ```````````````````````````````` example
*Markdown*
.

Markdown

```````````````````````````````` The tag on the first line can be partial, as long as it is split where there would be whitespace: ```````````````````````````````` example
.
```````````````````````````````` ```````````````````````````````` example
.
```````````````````````````````` An open tag need not be closed: ```````````````````````````````` example
*foo* *bar* .
*foo*

bar

```````````````````````````````` A partial tag need not even be completed (garbage in, garbage out): ```````````````````````````````` example
. ```````````````````````````````` ```````````````````````````````` example
foo
.
foo
```````````````````````````````` Everything until the next blank line or end of document gets included in the HTML block. So, in the following example, what looks like a Markdown code block is actually part of the HTML block, which continues until a blank line or the end of the document is reached: ```````````````````````````````` example
``` c int x = 33; ``` .
``` c int x = 33; ``` ```````````````````````````````` To start an [HTML block] with a tag that is *not* in the list of block-level tags in (6), you must put the tag by itself on the first line (and it must be complete): ```````````````````````````````` example *bar* . *bar* ```````````````````````````````` In type 7 blocks, the [tag name] can be anything: ```````````````````````````````` example *bar* . *bar* ```````````````````````````````` ```````````````````````````````` example *bar* . *bar* ```````````````````````````````` ```````````````````````````````` example *bar* . *bar* ```````````````````````````````` These rules are designed to allow us to work with tags that can function as either block-level or inline-level tags. The `` tag is a nice example. We can surround content with `` tags in three different ways. In this case, we get a raw HTML block, because the `` tag is on a line by itself: ```````````````````````````````` example *foo* . *foo* ```````````````````````````````` In this case, we get a raw HTML block that just includes the `` tag (because it ends with the following blank line). So the contents get interpreted as CommonMark: ```````````````````````````````` example *foo* .

foo

```````````````````````````````` Finally, in this case, the `` tags are interpreted as [raw HTML] *inside* the CommonMark paragraph. (Because the tag is not on a line by itself, we get inline HTML rather than an [HTML block].) ```````````````````````````````` example *foo* .

foo

```````````````````````````````` HTML tags designed to contain literal content (`script`, `style`, `pre`), comments, processing instructions, and declarations are treated somewhat differently. Instead of ending at the first blank line, these blocks end at the first line containing a corresponding end tag. As a result, these blocks can contain blank lines: A pre tag (type 1): ```````````````````````````````` example

import Text.HTML.TagSoup

main :: IO ()
main = print $ parseTags tags
okay .

import Text.HTML.TagSoup

main :: IO ()
main = print $ parseTags tags

okay

```````````````````````````````` A script tag (type 1): ```````````````````````````````` example okay .

okay

```````````````````````````````` A style tag (type 1): ```````````````````````````````` example okay .

okay

```````````````````````````````` If there is no matching end tag, the block will end at the end of the document (or the enclosing [block quote][block quotes] or [list item][list items]): ```````````````````````````````` example *foo* .

foo

```````````````````````````````` ```````````````````````````````` example *bar* *baz* . *bar*

baz

```````````````````````````````` Note that anything on the last line after the end tag will be included in the [HTML block]: ```````````````````````````````` example 1. *bar* . 1. *bar* ```````````````````````````````` A comment (type 2): ```````````````````````````````` example okay .

okay

```````````````````````````````` A processing instruction (type 3): ```````````````````````````````` example '; ?> okay . '; ?>

okay

```````````````````````````````` A declaration (type 4): ```````````````````````````````` example . ```````````````````````````````` CDATA (type 5): ```````````````````````````````` example okay .

okay

```````````````````````````````` The opening tag can be indented 1-3 spaces, but not 4: ```````````````````````````````` example .
<!-- foo -->
```````````````````````````````` ```````````````````````````````` example
.
<div>
```````````````````````````````` An HTML block of types 1--6 can interrupt a paragraph, and need not be preceded by a blank line. ```````````````````````````````` example Foo
bar
.

Foo

bar
```````````````````````````````` However, a following blank line is needed, except at the end of a document, and except for blocks of types 1--5, [above][HTML block]: ```````````````````````````````` example
bar
*foo* .
bar
*foo* ```````````````````````````````` HTML blocks of type 7 cannot interrupt a paragraph: ```````````````````````````````` example Foo baz .

Foo baz

```````````````````````````````` This rule differs from John Gruber's original Markdown syntax specification, which says: > The only restrictions are that block-level HTML elements — > e.g. `
`, ``, `
`, `

`, etc. — must be separated from > surrounding content by blank lines, and the start and end tags of the > block should not be indented with tabs or spaces. In some ways Gruber's rule is more restrictive than the one given here: - It requires that an HTML block be preceded by a blank line. - It does not allow the start tag to be indented. - It requires a matching end tag, which it also does not allow to be indented. Most Markdown implementations (including some of Gruber's own) do not respect all of these restrictions. There is one respect, however, in which Gruber's rule is more liberal than the one given here, since it allows blank lines to occur inside an HTML block. There are two reasons for disallowing them here. First, it removes the need to parse balanced tags, which is expensive and can require backtracking from the end of the document if no matching end tag is found. Second, it provides a very simple and flexible way of including Markdown content inside HTML tags: simply separate the Markdown from the HTML using blank lines: Compare: ```````````````````````````````` example

*Emphasized* text.
.

Emphasized text.

```````````````````````````````` ```````````````````````````````` example
*Emphasized* text.
.
*Emphasized* text.
```````````````````````````````` Some Markdown implementations have adopted a convention of interpreting content inside tags as text if the open tag has the attribute `markdown=1`. The rule given above seems a simpler and more elegant way of achieving the same expressive power, which is also much simpler to parse. The main potential drawback is that one can no longer paste HTML blocks into Markdown documents with 100% reliability. However, *in most cases* this will work fine, because the blank lines in HTML are usually followed by HTML block tags. For example: ```````````````````````````````` example
Hi
.
Hi
```````````````````````````````` There are problems, however, if the inner tags are indented *and* separated by spaces, as then they will be interpreted as an indented code block: ```````````````````````````````` example
Hi
.
<td>
  Hi
</td>
```````````````````````````````` Fortunately, blank lines are usually not necessary and can be deleted. The exception is inside `
` tags, but as described
[above][HTML blocks], raw HTML blocks starting with `
`
*can* contain blank lines.

## Link reference definitions

A [link reference definition](@)
consists of a [link label], indented up to three spaces, followed
by a colon (`:`), optional [whitespace] (including up to one
[line ending]), a [link destination],
optional [whitespace] (including up to one
[line ending]), and an optional [link
title], which if it is present must be separated
from the [link destination] by [whitespace].
No further [non-whitespace characters] may occur on the line.

A [link reference definition]
does not correspond to a structural element of a document.  Instead, it
defines a label which can be used in [reference links]
and reference-style [images] elsewhere in the document.  [Link
reference definitions] can come either before or after the links that use
them.

```````````````````````````````` example
[foo]: /url "title"

[foo]
.

foo

```````````````````````````````` ```````````````````````````````` example [foo]: /url 'the title' [foo] .

foo

```````````````````````````````` ```````````````````````````````` example [Foo*bar\]]:my_(url) 'title (with parens)' [Foo*bar\]] .

Foo*bar]

```````````````````````````````` ```````````````````````````````` example [Foo bar]: 'title' [Foo bar] .

Foo bar

```````````````````````````````` The title may extend over multiple lines: ```````````````````````````````` example [foo]: /url ' title line1 line2 ' [foo] .

foo

```````````````````````````````` However, it may not contain a [blank line]: ```````````````````````````````` example [foo]: /url 'title with blank line' [foo] .

[foo]: /url 'title

with blank line'

[foo]

```````````````````````````````` The title may be omitted: ```````````````````````````````` example [foo]: /url [foo] .

foo

```````````````````````````````` The link destination may not be omitted: ```````````````````````````````` example [foo]: [foo] .

[foo]:

[foo]

```````````````````````````````` However, an empty link destination may be specified using angle brackets: ```````````````````````````````` example [foo]: <> [foo] .

foo

```````````````````````````````` The title must be separated from the link destination by whitespace: ```````````````````````````````` example [foo]: (baz) [foo] .

[foo]: (baz)

[foo]

```````````````````````````````` Both title and destination can contain backslash escapes and literal backslashes: ```````````````````````````````` example [foo]: /url\bar\*baz "foo\"bar\baz" [foo] .

foo

```````````````````````````````` A link can come before its corresponding definition: ```````````````````````````````` example [foo] [foo]: url .

foo

```````````````````````````````` If there are several matching definitions, the first one takes precedence: ```````````````````````````````` example [foo] [foo]: first [foo]: second .

foo

```````````````````````````````` As noted in the section on [Links], matching of labels is case-insensitive (see [matches]). ```````````````````````````````` example [FOO]: /url [Foo] .

Foo

```````````````````````````````` ```````````````````````````````` example [ΑΓΩ]: /φου [αγω] .

αγω

```````````````````````````````` Here is a link reference definition with no corresponding link. It contributes nothing to the document. ```````````````````````````````` example [foo]: /url . ```````````````````````````````` Here is another one: ```````````````````````````````` example [ foo ]: /url bar .

bar

```````````````````````````````` This is not a link reference definition, because there are [non-whitespace characters] after the title: ```````````````````````````````` example [foo]: /url "title" ok .

[foo]: /url "title" ok

```````````````````````````````` This is a link reference definition, but it has no title: ```````````````````````````````` example [foo]: /url "title" ok .

"title" ok

```````````````````````````````` This is not a link reference definition, because it is indented four spaces: ```````````````````````````````` example [foo]: /url "title" [foo] .
[foo]: /url "title"

[foo]

```````````````````````````````` This is not a link reference definition, because it occurs inside a code block: ```````````````````````````````` example ``` [foo]: /url ``` [foo] .
[foo]: /url

[foo]

```````````````````````````````` A [link reference definition] cannot interrupt a paragraph. ```````````````````````````````` example Foo [bar]: /baz [bar] .

Foo [bar]: /baz

[bar]

```````````````````````````````` However, it can directly follow other block elements, such as headings and thematic breaks, and it need not be followed by a blank line. ```````````````````````````````` example # [Foo] [foo]: /url > bar .

Foo

bar

```````````````````````````````` ```````````````````````````````` example [foo]: /url bar === [foo] .

bar

foo

```````````````````````````````` ```````````````````````````````` example [foo]: /url === [foo] .

=== foo

```````````````````````````````` Several [link reference definitions] can occur one after another, without intervening blank lines. ```````````````````````````````` example [foo]: /foo-url "foo" [bar]: /bar-url "bar" [baz]: /baz-url [foo], [bar], [baz] .

foo, bar, baz

```````````````````````````````` [Link reference definitions] can occur inside block containers, like lists and block quotations. They affect the entire document, not just the container in which they are defined: ```````````````````````````````` example [foo] > [foo]: /url .

foo

```````````````````````````````` Whether something is a [link reference definition] is independent of whether the link reference it defines is used in the document. Thus, for example, the following document contains just a link reference definition, and no visible content: ```````````````````````````````` example [foo]: /url . ```````````````````````````````` ## Paragraphs A sequence of non-blank lines that cannot be interpreted as other kinds of blocks forms a [paragraph](@). The contents of the paragraph are the result of parsing the paragraph's raw content as inlines. The paragraph's raw content is formed by concatenating the lines and removing initial and final [whitespace]. A simple example with two paragraphs: ```````````````````````````````` example aaa bbb .

aaa

bbb

```````````````````````````````` Paragraphs can contain multiple lines, but no blank lines: ```````````````````````````````` example aaa bbb ccc ddd .

aaa bbb

ccc ddd

```````````````````````````````` Multiple blank lines between paragraph have no effect: ```````````````````````````````` example aaa bbb .

aaa

bbb

```````````````````````````````` Leading spaces are skipped: ```````````````````````````````` example aaa bbb .

aaa bbb

```````````````````````````````` Lines after the first may be indented any amount, since indented code blocks cannot interrupt paragraphs. ```````````````````````````````` example aaa bbb ccc .

aaa bbb ccc

```````````````````````````````` However, the first line may be indented at most three spaces, or an indented code block will be triggered: ```````````````````````````````` example aaa bbb .

aaa bbb

```````````````````````````````` ```````````````````````````````` example aaa bbb .
aaa

bbb

```````````````````````````````` Final spaces are stripped before inline parsing, so a paragraph that ends with two or more spaces will not end with a [hard line break]: ```````````````````````````````` example aaa bbb .

aaa
bbb

```````````````````````````````` ## Blank lines [Blank lines] between block-level elements are ignored, except for the role they play in determining whether a [list] is [tight] or [loose]. Blank lines at the beginning and end of the document are also ignored. ```````````````````````````````` example aaa # aaa .

aaa

aaa

````````````````````````````````
## Tables (extension) GFM enables the `table` extension, where an additional leaf block type is available. A [table](@) is an arrangement of data with rows and columns, consisting of a single header row, a [delimiter row] separating the header from the data, and zero or more data rows. Each row consists of cells containing arbitrary text, in which [inlines] are parsed, separated by pipes (`|`). A leading and trailing pipe is also recommended for clarity of reading, and if there's otherwise parsing ambiguity. Spaces between pipes and cell content are trimmed. Block-level elements cannot be inserted in a table. The [delimiter row](@) consists of cells whose only content are hyphens (`-`), and optionally, a leading or trailing colon (`:`), or both, to indicate left, right, or center alignment respectively. ```````````````````````````````` example table | foo | bar | | --- | --- | | baz | bim | .
foo bar
baz bim
```````````````````````````````` Cells in one column don't need to match length, though it's easier to read if they are. Likewise, use of leading and trailing pipes may be inconsistent: ```````````````````````````````` example table | abc | defghi | :-: | -----------: bar | baz .
abc defghi
bar baz
```````````````````````````````` Include a pipe in a cell's content by escaping it, including inside other inline spans: ```````````````````````````````` example table | f\|oo | | ------ | | b `\|` az | | b **\|** im | .
f|oo
b | az
b | im
```````````````````````````````` The table is broken at the first empty line, or beginning of another block-level structure: ```````````````````````````````` example table | abc | def | | --- | --- | | bar | baz | > bar .
abc def
bar baz

bar

```````````````````````````````` ```````````````````````````````` example table | abc | def | | --- | --- | | bar | baz | bar bar .
abc def
bar baz
bar

bar

```````````````````````````````` The header row must match the [delimiter row] in the number of cells. If not, a table will not be recognized: ```````````````````````````````` example table | abc | def | | --- | | bar | .

| abc | def | | --- | | bar |

```````````````````````````````` The remainder of the table's rows may vary in the number of cells. If there are a number of cells fewer than the number of cells in the header row, empty cells are inserted. If there are greater, the excess is ignored: ```````````````````````````````` example table | abc | def | | --- | --- | | bar | | bar | baz | boo | .
abc def
bar
bar baz
```````````````````````````````` If there are no rows in the body, no `` is generated in HTML output: ```````````````````````````````` example table | abc | def | | --- | --- | .
abc def
````````````````````````````````
# Container blocks A [container block](#container-blocks) is a block that has other blocks as its contents. There are two basic kinds of container blocks: [block quotes] and [list items]. [Lists] are meta-containers for [list items]. We define the syntax for container blocks recursively. The general form of the definition is: > If X is a sequence of blocks, then the result of > transforming X in such-and-such a way is a container of type Y > with these blocks as its content. So, we explain what counts as a block quote or list item by explaining how these can be *generated* from their contents. This should suffice to define the syntax, although it does not give a recipe for *parsing* these constructions. (A recipe is provided below in the section entitled [A parsing strategy](#appendix-a-parsing-strategy).) ## Block quotes A [block quote marker](@) consists of 0-3 spaces of initial indent, plus (a) the character `>` together with a following space, or (b) a single character `>` not followed by a space. The following rules define [block quotes]: 1. **Basic case.** If a string of lines *Ls* constitute a sequence of blocks *Bs*, then the result of prepending a [block quote marker] to the beginning of each line in *Ls* is a [block quote](#block-quotes) containing *Bs*. 2. **Laziness.** If a string of lines *Ls* constitute a [block quote](#block-quotes) with contents *Bs*, then the result of deleting the initial [block quote marker] from one or more lines in which the next [non-whitespace character] after the [block quote marker] is [paragraph continuation text] is a block quote with *Bs* as its content. [Paragraph continuation text](@) is text that will be parsed as part of the content of a paragraph, but does not occur at the beginning of the paragraph. 3. **Consecutiveness.** A document cannot contain two [block quotes] in a row unless there is a [blank line] between them. Nothing else counts as a [block quote](#block-quotes). Here is a simple example: ```````````````````````````````` example > # Foo > bar > baz .

Foo

bar baz

```````````````````````````````` The spaces after the `>` characters can be omitted: ```````````````````````````````` example ># Foo >bar > baz .

Foo

bar baz

```````````````````````````````` The `>` characters can be indented 1-3 spaces: ```````````````````````````````` example > # Foo > bar > baz .

Foo

bar baz

```````````````````````````````` Four spaces gives us a code block: ```````````````````````````````` example > # Foo > bar > baz .
> # Foo
> bar
> baz
```````````````````````````````` The Laziness clause allows us to omit the `>` before [paragraph continuation text]: ```````````````````````````````` example > # Foo > bar baz .

Foo

bar baz

```````````````````````````````` A block quote can contain some lazy and some non-lazy continuation lines: ```````````````````````````````` example > bar baz > foo .

bar baz foo

```````````````````````````````` Laziness only applies to lines that would have been continuations of paragraphs had they been prepended with [block quote markers]. For example, the `> ` cannot be omitted in the second line of ``` markdown > foo > --- ``` without changing the meaning: ```````````````````````````````` example > foo --- .

foo


```````````````````````````````` Similarly, if we omit the `> ` in the second line of ``` markdown > - foo > - bar ``` then the block quote ends after the first line: ```````````````````````````````` example > - foo - bar .
  • foo
  • bar
```````````````````````````````` For the same reason, we can't omit the `> ` in front of subsequent lines of an indented or fenced code block: ```````````````````````````````` example > foo bar .
foo
bar
```````````````````````````````` ```````````````````````````````` example > ``` foo ``` .

foo

```````````````````````````````` Note that in the following case, we have a [lazy continuation line]: ```````````````````````````````` example > foo - bar .

foo - bar

```````````````````````````````` To see why, note that in ```markdown > foo > - bar ``` the `- bar` is indented too far to start a list, and can't be an indented code block because indented code blocks cannot interrupt paragraphs, so it is [paragraph continuation text]. A block quote can be empty: ```````````````````````````````` example > .
```````````````````````````````` ```````````````````````````````` example > > > .
```````````````````````````````` A block quote can have initial or final blank lines: ```````````````````````````````` example > > foo > .

foo

```````````````````````````````` A blank line always separates block quotes: ```````````````````````````````` example > foo > bar .

foo

bar

```````````````````````````````` (Most current Markdown implementations, including John Gruber's original `Markdown.pl`, will parse this example as a single block quote with two paragraphs. But it seems better to allow the author to decide whether two block quotes or one are wanted.) Consecutiveness means that if we put these block quotes together, we get a single block quote: ```````````````````````````````` example > foo > bar .

foo bar

```````````````````````````````` To get a block quote with two paragraphs, use: ```````````````````````````````` example > foo > > bar .

foo

bar

```````````````````````````````` Block quotes can interrupt paragraphs: ```````````````````````````````` example foo > bar .

foo

bar

```````````````````````````````` In general, blank lines are not needed before or after block quotes: ```````````````````````````````` example > aaa *** > bbb .

aaa


bbb

```````````````````````````````` However, because of laziness, a blank line is needed between a block quote and a following paragraph: ```````````````````````````````` example > bar baz .

bar baz

```````````````````````````````` ```````````````````````````````` example > bar baz .

bar

baz

```````````````````````````````` ```````````````````````````````` example > bar > baz .

bar

baz

```````````````````````````````` It is a consequence of the Laziness rule that any number of initial `>`s may be omitted on a continuation line of a nested block quote: ```````````````````````````````` example > > > foo bar .

foo bar

```````````````````````````````` ```````````````````````````````` example >>> foo > bar >>baz .

foo bar baz

```````````````````````````````` When including an indented code block in a block quote, remember that the [block quote marker] includes both the `>` and a following space. So *five spaces* are needed after the `>`: ```````````````````````````````` example > code > not code .
code

not code

```````````````````````````````` ## List items A [list marker](@) is a [bullet list marker] or an [ordered list marker]. A [bullet list marker](@) is a `-`, `+`, or `*` character. An [ordered list marker](@) is a sequence of 1--9 arabic digits (`0-9`), followed by either a `.` character or a `)` character. (The reason for the length limit is that with 10 digits we start seeing integer overflows in some browsers.) The following rules define [list items]: 1. **Basic case.** If a sequence of lines *Ls* constitute a sequence of blocks *Bs* starting with a [non-whitespace character], and *M* is a list marker of width *W* followed by 1 ≤ *N* ≤ 4 spaces, then the result of prepending *M* and the following spaces to the first line of *Ls*, and indenting subsequent lines of *Ls* by *W + N* spaces, is a list item with *Bs* as its contents. The type of the list item (bullet or ordered) is determined by the type of its list marker. If the list item is ordered, then it is also assigned a start number, based on the ordered list marker. Exceptions: 1. When the first list item in a [list] interrupts a paragraph---that is, when it starts on a line that would otherwise count as [paragraph continuation text]---then (a) the lines *Ls* must not begin with a blank line, and (b) if the list item is ordered, the start number must be 1. 2. If any line is a [thematic break][thematic breaks] then that line is not a list item. For example, let *Ls* be the lines ```````````````````````````````` example A paragraph with two lines. indented code > A block quote. .

A paragraph with two lines.

indented code

A block quote.

```````````````````````````````` And let *M* be the marker `1.`, and *N* = 2. Then rule #1 says that the following is an ordered list item with start number 1, and the same contents as *Ls*: ```````````````````````````````` example 1. A paragraph with two lines. indented code > A block quote. .
  1. A paragraph with two lines.

    indented code
    

    A block quote.

```````````````````````````````` The most important thing to notice is that the position of the text after the list marker determines how much indentation is needed in subsequent blocks in the list item. If the list marker takes up two spaces, and there are three spaces between the list marker and the next [non-whitespace character], then blocks must be indented five spaces in order to fall under the list item. Here are some examples showing how far content must be indented to be put under the list item: ```````````````````````````````` example - one two .
  • one

two

```````````````````````````````` ```````````````````````````````` example - one two .
  • one

    two

```````````````````````````````` ```````````````````````````````` example - one two .
  • one
 two
```````````````````````````````` ```````````````````````````````` example - one two .
  • one

    two

```````````````````````````````` It is tempting to think of this in terms of columns: the continuation blocks must be indented at least to the column of the first [non-whitespace character] after the list marker. However, that is not quite right. The spaces after the list marker determine how much relative indentation is needed. Which column this indentation reaches will depend on how the list item is embedded in other constructions, as shown by this example: ```````````````````````````````` example > > 1. one >> >> two .
  1. one

    two

```````````````````````````````` Here `two` occurs in the same column as the list marker `1.`, but is actually contained in the list item, because there is sufficient indentation after the last containing blockquote marker. The converse is also possible. In the following example, the word `two` occurs far to the right of the initial text of the list item, `one`, but it is not considered part of the list item, because it is not indented far enough past the blockquote marker: ```````````````````````````````` example >>- one >> > > two .
  • one

two

```````````````````````````````` Note that at least one space is needed between the list marker and any following content, so these are not list items: ```````````````````````````````` example -one 2.two .

-one

2.two

```````````````````````````````` A list item may contain blocks that are separated by more than one blank line. ```````````````````````````````` example - foo bar .
  • foo

    bar

```````````````````````````````` A list item may contain any kind of block: ```````````````````````````````` example 1. foo ``` bar ``` baz > bam .
  1. foo

    bar
    

    baz

    bam

```````````````````````````````` A list item that contains an indented code block will preserve empty lines within the code block verbatim. ```````````````````````````````` example - Foo bar baz .
  • Foo

    bar
    
    
    baz
    
```````````````````````````````` Note that ordered list start numbers must be nine digits or less: ```````````````````````````````` example 123456789. ok .
  1. ok
```````````````````````````````` ```````````````````````````````` example 1234567890. not ok .

1234567890. not ok

```````````````````````````````` A start number may begin with 0s: ```````````````````````````````` example 0. ok .
  1. ok
```````````````````````````````` ```````````````````````````````` example 003. ok .
  1. ok
```````````````````````````````` A start number may not be negative: ```````````````````````````````` example -1. not ok .

-1. not ok

```````````````````````````````` 2. **Item starting with indented code.** If a sequence of lines *Ls* constitute a sequence of blocks *Bs* starting with an indented code block, and *M* is a list marker of width *W* followed by one space, then the result of prepending *M* and the following space to the first line of *Ls*, and indenting subsequent lines of *Ls* by *W + 1* spaces, is a list item with *Bs* as its contents. If a line is empty, then it need not be indented. The type of the list item (bullet or ordered) is determined by the type of its list marker. If the list item is ordered, then it is also assigned a start number, based on the ordered list marker. An indented code block will have to be indented four spaces beyond the edge of the region where text will be included in the list item. In the following case that is 6 spaces: ```````````````````````````````` example - foo bar .
  • foo

    bar
    
```````````````````````````````` And in this case it is 11 spaces: ```````````````````````````````` example 10. foo bar .
  1. foo

    bar
    
```````````````````````````````` If the *first* block in the list item is an indented code block, then by rule #2, the contents must be indented *one* space after the list marker: ```````````````````````````````` example indented code paragraph more code .
indented code

paragraph

more code
```````````````````````````````` ```````````````````````````````` example 1. indented code paragraph more code .
  1. indented code
    

    paragraph

    more code
    
```````````````````````````````` Note that an additional space indent is interpreted as space inside the code block: ```````````````````````````````` example 1. indented code paragraph more code .
  1.  indented code
    

    paragraph

    more code
    
```````````````````````````````` Note that rules #1 and #2 only apply to two cases: (a) cases in which the lines to be included in a list item begin with a [non-whitespace character], and (b) cases in which they begin with an indented code block. In a case like the following, where the first block begins with a three-space indent, the rules do not allow us to form a list item by indenting the whole thing and prepending a list marker: ```````````````````````````````` example foo bar .

foo

bar

```````````````````````````````` ```````````````````````````````` example - foo bar .
  • foo

bar

```````````````````````````````` This is not a significant restriction, because when a block begins with 1-3 spaces indent, the indentation can always be removed without a change in interpretation, allowing rule #1 to be applied. So, in the above case: ```````````````````````````````` example - foo bar .
  • foo

    bar

```````````````````````````````` 3. **Item starting with a blank line.** If a sequence of lines *Ls* starting with a single [blank line] constitute a (possibly empty) sequence of blocks *Bs*, not separated from each other by more than one blank line, and *M* is a list marker of width *W*, then the result of prepending *M* to the first line of *Ls*, and indenting subsequent lines of *Ls* by *W + 1* spaces, is a list item with *Bs* as its contents. If a line is empty, then it need not be indented. The type of the list item (bullet or ordered) is determined by the type of its list marker. If the list item is ordered, then it is also assigned a start number, based on the ordered list marker. Here are some list items that start with a blank line but are not empty: ```````````````````````````````` example - foo - ``` bar ``` - baz .
  • foo
  • bar
    
  • baz
    
```````````````````````````````` When the list item starts with a blank line, the number of spaces following the list marker doesn't change the required indentation: ```````````````````````````````` example - foo .
  • foo
```````````````````````````````` A list item can begin with at most one blank line. In the following example, `foo` is not part of the list item: ```````````````````````````````` example - foo .

foo

```````````````````````````````` Here is an empty bullet list item: ```````````````````````````````` example - foo - - bar .
  • foo
  • bar
```````````````````````````````` It does not matter whether there are spaces following the [list marker]: ```````````````````````````````` example - foo - - bar .
  • foo
  • bar
```````````````````````````````` Here is an empty ordered list item: ```````````````````````````````` example 1. foo 2. 3. bar .
  1. foo
  2. bar
```````````````````````````````` A list may start or end with an empty list item: ```````````````````````````````` example * .
```````````````````````````````` However, an empty list item cannot interrupt a paragraph: ```````````````````````````````` example foo * foo 1. .

foo *

foo 1.

```````````````````````````````` 4. **Indentation.** If a sequence of lines *Ls* constitutes a list item according to rule #1, #2, or #3, then the result of indenting each line of *Ls* by 1-3 spaces (the same for each line) also constitutes a list item with the same contents and attributes. If a line is empty, then it need not be indented. Indented one space: ```````````````````````````````` example 1. A paragraph with two lines. indented code > A block quote. .
  1. A paragraph with two lines.

    indented code
    

    A block quote.

```````````````````````````````` Indented two spaces: ```````````````````````````````` example 1. A paragraph with two lines. indented code > A block quote. .
  1. A paragraph with two lines.

    indented code
    

    A block quote.

```````````````````````````````` Indented three spaces: ```````````````````````````````` example 1. A paragraph with two lines. indented code > A block quote. .
  1. A paragraph with two lines.

    indented code
    

    A block quote.

```````````````````````````````` Four spaces indent gives a code block: ```````````````````````````````` example 1. A paragraph with two lines. indented code > A block quote. .
1.  A paragraph
    with two lines.

        indented code

    > A block quote.
```````````````````````````````` 5. **Laziness.** If a string of lines *Ls* constitute a [list item](#list-items) with contents *Bs*, then the result of deleting some or all of the indentation from one or more lines in which the next [non-whitespace character] after the indentation is [paragraph continuation text] is a list item with the same contents and attributes. The unindented lines are called [lazy continuation line](@)s. Here is an example with [lazy continuation lines]: ```````````````````````````````` example 1. A paragraph with two lines. indented code > A block quote. .
  1. A paragraph with two lines.

    indented code
    

    A block quote.

```````````````````````````````` Indentation can be partially deleted: ```````````````````````````````` example 1. A paragraph with two lines. .
  1. A paragraph with two lines.
```````````````````````````````` These examples show how laziness can work in nested structures: ```````````````````````````````` example > 1. > Blockquote continued here. .
  1. Blockquote continued here.

```````````````````````````````` ```````````````````````````````` example > 1. > Blockquote > continued here. .
  1. Blockquote continued here.

```````````````````````````````` 6. **That's all.** Nothing that is not counted as a list item by rules #1--5 counts as a [list item](#list-items). The rules for sublists follow from the general rules [above][List items]. A sublist must be indented the same number of spaces a paragraph would need to be in order to be included in the list item. So, in this case we need two spaces indent: ```````````````````````````````` example - foo - bar - baz - boo .
  • foo
    • bar
      • baz
        • boo
```````````````````````````````` One is not enough: ```````````````````````````````` example - foo - bar - baz - boo .
  • foo
  • bar
  • baz
  • boo
```````````````````````````````` Here we need four, because the list marker is wider: ```````````````````````````````` example 10) foo - bar .
  1. foo
    • bar
```````````````````````````````` Three is not enough: ```````````````````````````````` example 10) foo - bar .
  1. foo
  • bar
```````````````````````````````` A list may be the first block in a list item: ```````````````````````````````` example - - foo .
    • foo
```````````````````````````````` ```````````````````````````````` example 1. - 2. foo .
      1. foo
```````````````````````````````` A list item can contain a heading: ```````````````````````````````` example - # Foo - Bar --- baz .
  • Foo

  • Bar

    baz
```````````````````````````````` ### Motivation John Gruber's Markdown spec says the following about list items: 1. "List markers typically start at the left margin, but may be indented by up to three spaces. List markers must be followed by one or more spaces or a tab." 2. "To make lists look nice, you can wrap items with hanging indents.... But if you don't want to, you don't have to." 3. "List items may consist of multiple paragraphs. Each subsequent paragraph in a list item must be indented by either 4 spaces or one tab." 4. "It looks nice if you indent every line of the subsequent paragraphs, but here again, Markdown will allow you to be lazy." 5. "To put a blockquote within a list item, the blockquote's `>` delimiters need to be indented." 6. "To put a code block within a list item, the code block needs to be indented twice — 8 spaces or two tabs." These rules specify that a paragraph under a list item must be indented four spaces (presumably, from the left margin, rather than the start of the list marker, but this is not said), and that code under a list item must be indented eight spaces instead of the usual four. They also say that a block quote must be indented, but not by how much; however, the example given has four spaces indentation. Although nothing is said about other kinds of block-level content, it is certainly reasonable to infer that *all* block elements under a list item, including other lists, must be indented four spaces. This principle has been called the *four-space rule*. The four-space rule is clear and principled, and if the reference implementation `Markdown.pl` had followed it, it probably would have become the standard. However, `Markdown.pl` allowed paragraphs and sublists to start with only two spaces indentation, at least on the outer level. Worse, its behavior was inconsistent: a sublist of an outer-level list needed two spaces indentation, but a sublist of this sublist needed three spaces. It is not surprising, then, that different implementations of Markdown have developed very different rules for determining what comes under a list item. (Pandoc and python-Markdown, for example, stuck with Gruber's syntax description and the four-space rule, while discount, redcarpet, marked, PHP Markdown, and others followed `Markdown.pl`'s behavior more closely.) Unfortunately, given the divergences between implementations, there is no way to give a spec for list items that will be guaranteed not to break any existing documents. However, the spec given here should correctly handle lists formatted with either the four-space rule or the more forgiving `Markdown.pl` behavior, provided they are laid out in a way that is natural for a human to read. The strategy here is to let the width and indentation of the list marker determine the indentation necessary for blocks to fall under the list item, rather than having a fixed and arbitrary number. The writer can think of the body of the list item as a unit which gets indented to the right enough to fit the list marker (and any indentation on the list marker). (The laziness rule, #5, then allows continuation lines to be unindented if needed.) This rule is superior, we claim, to any rule requiring a fixed level of indentation from the margin. The four-space rule is clear but unnatural. It is quite unintuitive that ``` markdown - foo bar - baz ``` should be parsed as two lists with an intervening paragraph, ``` html
  • foo

bar

  • baz
``` as the four-space rule demands, rather than a single list, ``` html
  • foo

    bar

    • baz
``` The choice of four spaces is arbitrary. It can be learned, but it is not likely to be guessed, and it trips up beginners regularly. Would it help to adopt a two-space rule? The problem is that such a rule, together with the rule allowing 1--3 spaces indentation of the initial list marker, allows text that is indented *less than* the original list marker to be included in the list item. For example, `Markdown.pl` parses ``` markdown - one two ``` as a single list item, with `two` a continuation paragraph: ``` html
  • one

    two

``` and similarly ``` markdown > - one > > two ``` as ``` html
  • one

    two

``` This is extremely unintuitive. Rather than requiring a fixed indent from the margin, we could require a fixed indent (say, two spaces, or even one space) from the list marker (which may itself be indented). This proposal would remove the last anomaly discussed. Unlike the spec presented above, it would count the following as a list item with a subparagraph, even though the paragraph `bar` is not indented as far as the first paragraph `foo`: ``` markdown 10. foo bar ``` Arguably this text does read like a list item with `bar` as a subparagraph, which may count in favor of the proposal. However, on this proposal indented code would have to be indented six spaces after the list marker. And this would break a lot of existing Markdown, which has the pattern: ``` markdown 1. foo indented code ``` where the code is indented eight spaces. The spec above, by contrast, will parse this text as expected, since the code block's indentation is measured from the beginning of `foo`. The one case that needs special treatment is a list item that *starts* with indented code. How much indentation is required in that case, since we don't have a "first paragraph" to measure from? Rule #2 simply stipulates that in such cases, we require one space indentation from the list marker (and then the normal four spaces for the indented code). This will match the four-space rule in cases where the list marker plus its initial indentation takes four spaces (a common case), but diverge in other cases.
## Task list items (extension) GFM enables the `tasklist` extension, where an additional processing step is performed on [list items]. A [task list item](@) is a [list item][list items] where the first block in it is a paragraph which begins with a [task list item marker] and at least one whitespace character before any other content. A [task list item marker](@) consists of an optional number of spaces, a left bracket (`[`), either a whitespace character or the letter `x` in either lowercase or uppercase, and then a right bracket (`]`). When rendered, the [task list item marker] is replaced with a semantic checkbox element; in an HTML output, this would be an `` element. If the character between the brackets is a whitespace character, the checkbox is unchecked. Otherwise, the checkbox is checked. This spec does not define how the checkbox elements are interacted with: in practice, implementors are free to render the checkboxes as disabled or inmutable elements, or they may dynamically handle dynamic interactions (i.e. checking, unchecking) in the final rendered document. ```````````````````````````````` example disabled - [ ] foo - [x] bar .
  • foo
  • bar
```````````````````````````````` Task lists can be arbitrarily nested: ```````````````````````````````` example disabled - [x] foo - [ ] bar - [x] baz - [ ] bim .
  • foo
    • bar
    • baz
  • bim
````````````````````````````````
## Lists A [list](@) is a sequence of one or more list items [of the same type]. The list items may be separated by any number of blank lines. Two list items are [of the same type](@) if they begin with a [list marker] of the same type. Two list markers are of the same type if (a) they are bullet list markers using the same character (`-`, `+`, or `*`) or (b) they are ordered list numbers with the same delimiter (either `.` or `)`). A list is an [ordered list](@) if its constituent list items begin with [ordered list markers], and a [bullet list](@) if its constituent list items begin with [bullet list markers]. The [start number](@) of an [ordered list] is determined by the list number of its initial list item. The numbers of subsequent list items are disregarded. A list is [loose](@) if any of its constituent list items are separated by blank lines, or if any of its constituent list items directly contain two block-level elements with a blank line between them. Otherwise a list is [tight](@). (The difference in HTML output is that paragraphs in a loose list are wrapped in `

` tags, while paragraphs in a tight list are not.) Changing the bullet or ordered list delimiter starts a new list: ```````````````````````````````` example - foo - bar + baz .

  • foo
  • bar
  • baz
```````````````````````````````` ```````````````````````````````` example 1. foo 2. bar 3) baz .
  1. foo
  2. bar
  1. baz
```````````````````````````````` In CommonMark, a list can interrupt a paragraph. That is, no blank line is needed to separate a paragraph from a following list: ```````````````````````````````` example Foo - bar - baz .

Foo

  • bar
  • baz
```````````````````````````````` `Markdown.pl` does not allow this, through fear of triggering a list via a numeral in a hard-wrapped line: ``` markdown The number of windows in my house is 14. The number of doors is 6. ``` Oddly, though, `Markdown.pl` *does* allow a blockquote to interrupt a paragraph, even though the same considerations might apply. In CommonMark, we do allow lists to interrupt paragraphs, for two reasons. First, it is natural and not uncommon for people to start lists without blank lines: ``` markdown I need to buy - new shoes - a coat - a plane ticket ``` Second, we are attracted to a > [principle of uniformity](@): > if a chunk of text has a certain > meaning, it will continue to have the same meaning when put into a > container block (such as a list item or blockquote). (Indeed, the spec for [list items] and [block quotes] presupposes this principle.) This principle implies that if ``` markdown * I need to buy - new shoes - a coat - a plane ticket ``` is a list item containing a paragraph followed by a nested sublist, as all Markdown implementations agree it is (though the paragraph may be rendered without `

` tags, since the list is "tight"), then ``` markdown I need to buy - new shoes - a coat - a plane ticket ``` by itself should be a paragraph followed by a nested sublist. Since it is well established Markdown practice to allow lists to interrupt paragraphs inside list items, the [principle of uniformity] requires us to allow this outside list items as well. ([reStructuredText](http://docutils.sourceforge.net/rst.html) takes a different approach, requiring blank lines before lists even inside other list items.) In order to solve of unwanted lists in paragraphs with hard-wrapped numerals, we allow only lists starting with `1` to interrupt paragraphs. Thus, ```````````````````````````````` example The number of windows in my house is 14. The number of doors is 6. .

The number of windows in my house is 14. The number of doors is 6.

```````````````````````````````` We may still get an unintended result in cases like ```````````````````````````````` example The number of windows in my house is 1. The number of doors is 6. .

The number of windows in my house is

  1. The number of doors is 6.
```````````````````````````````` but this rule should prevent most spurious list captures. There can be any number of blank lines between items: ```````````````````````````````` example - foo - bar - baz .
  • foo

  • bar

  • baz

```````````````````````````````` ```````````````````````````````` example - foo - bar - baz bim .
  • foo
    • bar
      • baz

        bim

```````````````````````````````` To separate consecutive lists of the same type, or to separate a list from an indented code block that would otherwise be parsed as a subparagraph of the final list item, you can insert a blank HTML comment: ```````````````````````````````` example - foo - bar - baz - bim .
  • foo
  • bar
  • baz
  • bim
```````````````````````````````` ```````````````````````````````` example - foo notcode - foo code .
  • foo

    notcode

  • foo

code
```````````````````````````````` List items need not be indented to the same level. The following list items will be treated as items at the same list level, since none is indented enough to belong to the previous list item: ```````````````````````````````` example - a - b - c - d - e - f - g .
  • a
  • b
  • c
  • d
  • e
  • f
  • g
```````````````````````````````` ```````````````````````````````` example 1. a 2. b 3. c .
  1. a

  2. b

  3. c

```````````````````````````````` Note, however, that list items may not be indented more than three spaces. Here `- e` is treated as a paragraph continuation line, because it is indented more than three spaces: ```````````````````````````````` example - a - b - c - d - e .
  • a
  • b
  • c
  • d - e
```````````````````````````````` And here, `3. c` is treated as in indented code block, because it is indented four spaces and preceded by a blank line. ```````````````````````````````` example 1. a 2. b 3. c .
  1. a

  2. b

3. c
```````````````````````````````` This is a loose list, because there is a blank line between two of the list items: ```````````````````````````````` example - a - b - c .
  • a

  • b

  • c

```````````````````````````````` So is this, with a empty second item: ```````````````````````````````` example * a * * c .
  • a

  • c

```````````````````````````````` These are loose lists, even though there is no space between the items, because one of the items directly contains two block-level elements with a blank line between them: ```````````````````````````````` example - a - b c - d .
  • a

  • b

    c

  • d

```````````````````````````````` ```````````````````````````````` example - a - b [ref]: /url - d .
  • a

  • b

  • d

```````````````````````````````` This is a tight list, because the blank lines are in a code block: ```````````````````````````````` example - a - ``` b ``` - c .
  • a
  • b
    
    
    
  • c
```````````````````````````````` This is a tight list, because the blank line is between two paragraphs of a sublist. So the sublist is loose while the outer list is tight: ```````````````````````````````` example - a - b c - d .
  • a
    • b

      c

  • d
```````````````````````````````` This is a tight list, because the blank line is inside the block quote: ```````````````````````````````` example * a > b > * c .
  • a

    b

  • c
```````````````````````````````` This list is tight, because the consecutive block elements are not separated by blank lines: ```````````````````````````````` example - a > b ``` c ``` - d .
  • a

    b

    c
    
  • d
```````````````````````````````` A single-paragraph list is tight: ```````````````````````````````` example - a .
  • a
```````````````````````````````` ```````````````````````````````` example - a - b .
  • a
    • b
```````````````````````````````` This list is loose, because of the blank line between the two block elements in the list item: ```````````````````````````````` example 1. ``` foo ``` bar .
  1. foo
    

    bar

```````````````````````````````` Here the outer list is loose, the inner list tight: ```````````````````````````````` example * foo * bar baz .
  • foo

    • bar

    baz

```````````````````````````````` ```````````````````````````````` example - a - b - c - d - e - f .
  • a

    • b
    • c
  • d

    • e
    • f
```````````````````````````````` # Inlines Inlines are parsed sequentially from the beginning of the character stream to the end (left to right, in left-to-right languages). Thus, for example, in ```````````````````````````````` example `hi`lo` .

hilo`

```````````````````````````````` `hi` is parsed as code, leaving the backtick at the end as a literal backtick. ## Backslash escapes Any ASCII punctuation character may be backslash-escaped: ```````````````````````````````` example \!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~ .

!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

```````````````````````````````` Backslashes before other characters are treated as literal backslashes: ```````````````````````````````` example \→\A\a\ \3\φ\« .

\→\A\a\ \3\φ\«

```````````````````````````````` Escaped characters are treated as regular characters and do not have their usual Markdown meanings: ```````````````````````````````` example \*not emphasized* \
not a tag \[not a link](/foo) \`not code` 1\. not a list \* not a list \# not a heading \[foo]: /url "not a reference" \ö not a character entity .

*not emphasized* <br/> not a tag [not a link](/foo) `not code` 1. not a list * not a list # not a heading [foo]: /url "not a reference" &ouml; not a character entity

```````````````````````````````` If a backslash is itself escaped, the following character is not: ```````````````````````````````` example \\*emphasis* .

\emphasis

```````````````````````````````` A backslash at the end of the line is a [hard line break]: ```````````````````````````````` example foo\ bar .

foo
bar

```````````````````````````````` Backslash escapes do not work in code blocks, code spans, autolinks, or raw HTML: ```````````````````````````````` example `` \[\` `` .

\[\`

```````````````````````````````` ```````````````````````````````` example \[\] .
\[\]
```````````````````````````````` ```````````````````````````````` example ~~~ \[\] ~~~ .
\[\]
```````````````````````````````` ```````````````````````````````` example .

http://example.com?find=\*

```````````````````````````````` ```````````````````````````````` example . ```````````````````````````````` But they work in all other contexts, including URLs and link titles, link references, and [info strings] in [fenced code blocks]: ```````````````````````````````` example [foo](/bar\* "ti\*tle") .

foo

```````````````````````````````` ```````````````````````````````` example [foo] [foo]: /bar\* "ti\*tle" .

foo

```````````````````````````````` ```````````````````````````````` example ``` foo\+bar foo ``` .
foo
```````````````````````````````` ## Entity and numeric character references Valid HTML entity references and numeric character references can be used in place of the corresponding Unicode character, with the following exceptions: - Entity and character references are not recognized in code blocks and code spans. - Entity and character references cannot stand in place of special characters that define structural elements in CommonMark. For example, although `*` can be used in place of a literal `*` character, `*` cannot replace `*` in emphasis delimiters, bullet list markers, or thematic breaks. Conforming CommonMark parsers need not store information about whether a particular character was represented in the source using a Unicode character or an entity reference. [Entity references](@) consist of `&` + any of the valid HTML5 entity names + `;`. The document is used as an authoritative source for the valid entity references and their corresponding code points. ```````````````````````````````` example   & © Æ Ď ¾ ℋ ⅆ ∲ ≧̸ .

  & © Æ Ď ¾ ℋ ⅆ ∲ ≧̸

```````````````````````````````` [Decimal numeric character references](@) consist of `&#` + a string of 1--7 arabic digits + `;`. A numeric character reference is parsed as the corresponding Unicode character. Invalid Unicode code points will be replaced by the REPLACEMENT CHARACTER (`U+FFFD`). For security reasons, the code point `U+0000` will also be replaced by `U+FFFD`. ```````````````````````````````` example # Ӓ Ϡ � .

# Ӓ Ϡ �

```````````````````````````````` [Hexadecimal numeric character references](@) consist of `&#` + either `X` or `x` + a string of 1-6 hexadecimal digits + `;`. They too are parsed as the corresponding Unicode character (this time specified with a hexadecimal numeral instead of decimal). ```````````````````````````````` example " ആ ಫ .

" ആ ಫ

```````````````````````````````` Here are some nonentities: ```````````````````````````````` example   &x; &#; &#x; � &#abcdef0; &ThisIsNotDefined; &hi?; .

&nbsp &x; &#; &#x; &#987654321; &#abcdef0; &ThisIsNotDefined; &hi?;

```````````````````````````````` Although HTML5 does accept some entity references without a trailing semicolon (such as `©`), these are not recognized here, because it makes the grammar too ambiguous: ```````````````````````````````` example © .

&copy

```````````````````````````````` Strings that are not on the list of HTML5 named entities are not recognized as entity references either: ```````````````````````````````` example &MadeUpEntity; .

&MadeUpEntity;

```````````````````````````````` Entity and numeric character references are recognized in any context besides code spans or code blocks, including URLs, [link titles], and [fenced code block][] [info strings]: ```````````````````````````````` example . ```````````````````````````````` ```````````````````````````````` example [foo](/föö "föö") .

foo

```````````````````````````````` ```````````````````````````````` example [foo] [foo]: /föö "föö" .

foo

```````````````````````````````` ```````````````````````````````` example ``` föö foo ``` .
foo
```````````````````````````````` Entity and numeric character references are treated as literal text in code spans and code blocks: ```````````````````````````````` example `föö` .

f&ouml;&ouml;

```````````````````````````````` ```````````````````````````````` example föfö .
f&ouml;f&ouml;
```````````````````````````````` Entity and numeric character references cannot be used in place of symbols indicating structure in CommonMark documents. ```````````````````````````````` example *foo* *foo* .

*foo* foo

```````````````````````````````` ```````````````````````````````` example * foo * foo .

* foo

  • foo
```````````````````````````````` ```````````````````````````````` example foo bar .

foo bar

```````````````````````````````` ```````````````````````````````` example foo .

→foo

```````````````````````````````` ```````````````````````````````` example [a](url "tit") .

[a](url "tit")

```````````````````````````````` ## Code spans A [backtick string](@) is a string of one or more backtick characters (`` ` ``) that is neither preceded nor followed by a backtick. A [code span](@) begins with a backtick string and ends with a backtick string of equal length. The contents of the code span are the characters between the two backtick strings, normalized in the following ways: - First, [line endings] are converted to [spaces]. - If the resulting string both begins *and* ends with a [space] character, but does not consist entirely of [space] characters, a single [space] character is removed from the front and back. This allows you to include code that begins or ends with backtick characters, which must be separated by whitespace from the opening or closing backtick strings. This is a simple code span: ```````````````````````````````` example `foo` .

foo

```````````````````````````````` Here two backticks are used, because the code contains a backtick. This example also illustrates stripping of a single leading and trailing space: ```````````````````````````````` example `` foo ` bar `` .

foo ` bar

```````````````````````````````` This example shows the motivation for stripping leading and trailing spaces: ```````````````````````````````` example ` `` ` .

``

```````````````````````````````` Note that only *one* space is stripped: ```````````````````````````````` example ` `` ` .

``

```````````````````````````````` The stripping only happens if the space is on both sides of the string: ```````````````````````````````` example ` a` .

a

```````````````````````````````` Only [spaces], and not [unicode whitespace] in general, are stripped in this way: ```````````````````````````````` example ` b ` .

 b 

```````````````````````````````` No stripping occurs if the code span contains only spaces: ```````````````````````````````` example ` ` ` ` .

 

```````````````````````````````` [Line endings] are treated like spaces: ```````````````````````````````` example `` foo bar baz `` .

foo bar baz

```````````````````````````````` ```````````````````````````````` example `` foo `` .

foo

```````````````````````````````` Interior spaces are not collapsed: ```````````````````````````````` example `foo bar baz` .

foo bar baz

```````````````````````````````` Note that browsers will typically collapse consecutive spaces when rendering `` elements, so it is recommended that the following CSS be used: code{white-space: pre-wrap;} Note that backslash escapes do not work in code spans. All backslashes are treated literally: ```````````````````````````````` example `foo\`bar` .

foo\bar`

```````````````````````````````` Backslash escapes are never needed, because one can always choose a string of *n* backtick characters as delimiters, where the code does not contain any strings of exactly *n* backtick characters. ```````````````````````````````` example ``foo`bar`` .

foo`bar

```````````````````````````````` ```````````````````````````````` example ` foo `` bar ` .

foo `` bar

```````````````````````````````` Code span backticks have higher precedence than any other inline constructs except HTML tags and autolinks. Thus, for example, this is not parsed as emphasized text, since the second `*` is part of a code span: ```````````````````````````````` example *foo`*` .

*foo*

```````````````````````````````` And this is not parsed as a link: ```````````````````````````````` example [not a `link](/foo`) .

[not a link](/foo)

```````````````````````````````` Code spans, HTML tags, and autolinks have the same precedence. Thus, this is code: ```````````````````````````````` example `` .

<a href="">`

```````````````````````````````` But this is an HTML tag: ```````````````````````````````` example
` .

`

```````````````````````````````` And this is code: ```````````````````````````````` example `` .

<http://foo.bar.baz>`

```````````````````````````````` But this is an autolink: ```````````````````````````````` example ` .

http://foo.bar.`baz`

```````````````````````````````` When a backtick string is not closed by a matching backtick string, we just have literal backticks: ```````````````````````````````` example ```foo`` .

```foo``

```````````````````````````````` ```````````````````````````````` example `foo .

`foo

```````````````````````````````` The following case also illustrates the need for opening and closing backtick strings to be equal in length: ```````````````````````````````` example `foo``bar`` .

`foobar

```````````````````````````````` ## Emphasis and strong emphasis John Gruber's original [Markdown syntax description](http://daringfireball.net/projects/markdown/syntax#em) says: > Markdown treats asterisks (`*`) and underscores (`_`) as indicators of > emphasis. Text wrapped with one `*` or `_` will be wrapped with an HTML > `` tag; double `*`'s or `_`'s will be wrapped with an HTML `` > tag. This is enough for most users, but these rules leave much undecided, especially when it comes to nested emphasis. The original `Markdown.pl` test suite makes it clear that triple `***` and `___` delimiters can be used for strong emphasis, and most implementations have also allowed the following patterns: ``` markdown ***strong emph*** ***strong** in emph* ***emph* in strong** **in strong *emph*** *in emph **strong*** ``` The following patterns are less widely supported, but the intent is clear and they are useful (especially in contexts like bibliography entries): ``` markdown *emph *with emph* in it* **strong **with strong** in it** ``` Many implementations have also restricted intraword emphasis to the `*` forms, to avoid unwanted emphasis in words containing internal underscores. (It is best practice to put these in code spans, but users often do not.) ``` markdown internal emphasis: foo*bar*baz no emphasis: foo_bar_baz ``` The rules given below capture all of these patterns, while allowing for efficient parsing strategies that do not backtrack. First, some definitions. A [delimiter run](@) is either a sequence of one or more `*` characters that is not preceded or followed by a non-backslash-escaped `*` character, or a sequence of one or more `_` characters that is not preceded or followed by a non-backslash-escaped `_` character. A [left-flanking delimiter run](@) is a [delimiter run] that is (1) not followed by [Unicode whitespace], and either (2a) not followed by a [punctuation character], or (2b) followed by a [punctuation character] and preceded by [Unicode whitespace] or a [punctuation character]. For purposes of this definition, the beginning and the end of the line count as Unicode whitespace. A [right-flanking delimiter run](@) is a [delimiter run] that is (1) not preceded by [Unicode whitespace], and either (2a) not preceded by a [punctuation character], or (2b) preceded by a [punctuation character] and followed by [Unicode whitespace] or a [punctuation character]. For purposes of this definition, the beginning and the end of the line count as Unicode whitespace. Here are some examples of delimiter runs. - left-flanking but not right-flanking: ``` ***abc _abc **"abc" _"abc" ``` - right-flanking but not left-flanking: ``` abc*** abc_ "abc"** "abc"_ ``` - Both left and right-flanking: ``` abc***def "abc"_"def" ``` - Neither left nor right-flanking: ``` abc *** def a _ b ``` (The idea of distinguishing left-flanking and right-flanking delimiter runs based on the character before and the character after comes from Roopesh Chander's [vfmd](http://www.vfmd.org/vfmd-spec/specification/#procedure-for-identifying-emphasis-tags). vfmd uses the terminology "emphasis indicator string" instead of "delimiter run," and its rules for distinguishing left- and right-flanking runs are a bit more complex than the ones given here.) The following rules define emphasis and strong emphasis: 1. A single `*` character [can open emphasis](@) iff (if and only if) it is part of a [left-flanking delimiter run]. 2. A single `_` character [can open emphasis] iff it is part of a [left-flanking delimiter run] and either (a) not part of a [right-flanking delimiter run] or (b) part of a [right-flanking delimiter run] preceded by punctuation. 3. A single `*` character [can close emphasis](@) iff it is part of a [right-flanking delimiter run]. 4. A single `_` character [can close emphasis] iff it is part of a [right-flanking delimiter run] and either (a) not part of a [left-flanking delimiter run] or (b) part of a [left-flanking delimiter run] followed by punctuation. 5. A double `**` [can open strong emphasis](@) iff it is part of a [left-flanking delimiter run]. 6. A double `__` [can open strong emphasis] iff it is part of a [left-flanking delimiter run] and either (a) not part of a [right-flanking delimiter run] or (b) part of a [right-flanking delimiter run] preceded by punctuation. 7. A double `**` [can close strong emphasis](@) iff it is part of a [right-flanking delimiter run]. 8. A double `__` [can close strong emphasis] iff it is part of a [right-flanking delimiter run] and either (a) not part of a [left-flanking delimiter run] or (b) part of a [left-flanking delimiter run] followed by punctuation. 9. Emphasis begins with a delimiter that [can open emphasis] and ends with a delimiter that [can close emphasis], and that uses the same character (`_` or `*`) as the opening delimiter. The opening and closing delimiters must belong to separate [delimiter runs]. If one of the delimiters can both open and close emphasis, then the sum of the lengths of the delimiter runs containing the opening and closing delimiters must not be a multiple of 3 unless both lengths are multiples of 3. 10. Strong emphasis begins with a delimiter that [can open strong emphasis] and ends with a delimiter that [can close strong emphasis], and that uses the same character (`_` or `*`) as the opening delimiter. The opening and closing delimiters must belong to separate [delimiter runs]. If one of the delimiters can both open and close strong emphasis, then the sum of the lengths of the delimiter runs containing the opening and closing delimiters must not be a multiple of 3 unless both lengths are multiples of 3. 11. A literal `*` character cannot occur at the beginning or end of `*`-delimited emphasis or `**`-delimited strong emphasis, unless it is backslash-escaped. 12. A literal `_` character cannot occur at the beginning or end of `_`-delimited emphasis or `__`-delimited strong emphasis, unless it is backslash-escaped. Where rules 1--12 above are compatible with multiple parsings, the following principles resolve ambiguity: 13. The number of nestings should be minimized. Thus, for example, an interpretation `...` is always preferred to `...`. 14. An interpretation `...` is always preferred to `...`. 15. When two potential emphasis or strong emphasis spans overlap, so that the second begins before the first ends and ends after the first ends, the first takes precedence. Thus, for example, `*foo _bar* baz_` is parsed as `foo _bar baz_` rather than `*foo bar* baz`. 16. When there are two potential emphasis or strong emphasis spans with the same closing delimiter, the shorter one (the one that opens later) takes precedence. Thus, for example, `**foo **bar baz**` is parsed as `**foo bar baz` rather than `foo **bar baz`. 17. Inline code spans, links, images, and HTML tags group more tightly than emphasis. So, when there is a choice between an interpretation that contains one of these elements and one that does not, the former always wins. Thus, for example, `*[foo*](bar)` is parsed as `*foo*` rather than as `[foo](bar)`. These rules can be illustrated through a series of examples. Rule 1: ```````````````````````````````` example *foo bar* .

foo bar

```````````````````````````````` This is not emphasis, because the opening `*` is followed by whitespace, and hence not part of a [left-flanking delimiter run]: ```````````````````````````````` example a * foo bar* .

a * foo bar*

```````````````````````````````` This is not emphasis, because the opening `*` is preceded by an alphanumeric and followed by punctuation, and hence not part of a [left-flanking delimiter run]: ```````````````````````````````` example a*"foo"* .

a*"foo"*

```````````````````````````````` Unicode nonbreaking spaces count as whitespace, too: ```````````````````````````````` example * a * .

* a *

```````````````````````````````` Intraword emphasis with `*` is permitted: ```````````````````````````````` example foo*bar* .

foobar

```````````````````````````````` ```````````````````````````````` example 5*6*78 .

5678

```````````````````````````````` Rule 2: ```````````````````````````````` example _foo bar_ .

foo bar

```````````````````````````````` This is not emphasis, because the opening `_` is followed by whitespace: ```````````````````````````````` example _ foo bar_ .

_ foo bar_

```````````````````````````````` This is not emphasis, because the opening `_` is preceded by an alphanumeric and followed by punctuation: ```````````````````````````````` example a_"foo"_ .

a_"foo"_

```````````````````````````````` Emphasis with `_` is not allowed inside words: ```````````````````````````````` example foo_bar_ .

foo_bar_

```````````````````````````````` ```````````````````````````````` example 5_6_78 .

5_6_78

```````````````````````````````` ```````````````````````````````` example пристаням_стремятся_ .

пристаням_стремятся_

```````````````````````````````` Here `_` does not generate emphasis, because the first delimiter run is right-flanking and the second left-flanking: ```````````````````````````````` example aa_"bb"_cc .

aa_"bb"_cc

```````````````````````````````` This is emphasis, even though the opening delimiter is both left- and right-flanking, because it is preceded by punctuation: ```````````````````````````````` example foo-_(bar)_ .

foo-(bar)

```````````````````````````````` Rule 3: This is not emphasis, because the closing delimiter does not match the opening delimiter: ```````````````````````````````` example _foo* .

_foo*

```````````````````````````````` This is not emphasis, because the closing `*` is preceded by whitespace: ```````````````````````````````` example *foo bar * .

*foo bar *

```````````````````````````````` A newline also counts as whitespace: ```````````````````````````````` example *foo bar * .

*foo bar *

```````````````````````````````` This is not emphasis, because the second `*` is preceded by punctuation and followed by an alphanumeric (hence it is not part of a [right-flanking delimiter run]: ```````````````````````````````` example *(*foo) .

*(*foo)

```````````````````````````````` The point of this restriction is more easily appreciated with this example: ```````````````````````````````` example *(*foo*)* .

(foo)

```````````````````````````````` Intraword emphasis with `*` is allowed: ```````````````````````````````` example *foo*bar .

foobar

```````````````````````````````` Rule 4: This is not emphasis, because the closing `_` is preceded by whitespace: ```````````````````````````````` example _foo bar _ .

_foo bar _

```````````````````````````````` This is not emphasis, because the second `_` is preceded by punctuation and followed by an alphanumeric: ```````````````````````````````` example _(_foo) .

_(_foo)

```````````````````````````````` This is emphasis within emphasis: ```````````````````````````````` example _(_foo_)_ .

(foo)

```````````````````````````````` Intraword emphasis is disallowed for `_`: ```````````````````````````````` example _foo_bar .

_foo_bar

```````````````````````````````` ```````````````````````````````` example _пристаням_стремятся .

_пристаням_стремятся

```````````````````````````````` ```````````````````````````````` example _foo_bar_baz_ .

foo_bar_baz

```````````````````````````````` This is emphasis, even though the closing delimiter is both left- and right-flanking, because it is followed by punctuation: ```````````````````````````````` example _(bar)_. .

(bar).

```````````````````````````````` Rule 5: ```````````````````````````````` example **foo bar** .

foo bar

```````````````````````````````` This is not strong emphasis, because the opening delimiter is followed by whitespace: ```````````````````````````````` example ** foo bar** .

** foo bar**

```````````````````````````````` This is not strong emphasis, because the opening `**` is preceded by an alphanumeric and followed by punctuation, and hence not part of a [left-flanking delimiter run]: ```````````````````````````````` example a**"foo"** .

a**"foo"**

```````````````````````````````` Intraword strong emphasis with `**` is permitted: ```````````````````````````````` example foo**bar** .

foobar

```````````````````````````````` Rule 6: ```````````````````````````````` example __foo bar__ .

foo bar

```````````````````````````````` This is not strong emphasis, because the opening delimiter is followed by whitespace: ```````````````````````````````` example __ foo bar__ .

__ foo bar__

```````````````````````````````` A newline counts as whitespace: ```````````````````````````````` example __ foo bar__ .

__ foo bar__

```````````````````````````````` This is not strong emphasis, because the opening `__` is preceded by an alphanumeric and followed by punctuation: ```````````````````````````````` example a__"foo"__ .

a__"foo"__

```````````````````````````````` Intraword strong emphasis is forbidden with `__`: ```````````````````````````````` example foo__bar__ .

foo__bar__

```````````````````````````````` ```````````````````````````````` example 5__6__78 .

5__6__78

```````````````````````````````` ```````````````````````````````` example пристаням__стремятся__ .

пристаням__стремятся__

```````````````````````````````` ```````````````````````````````` example __foo, __bar__, baz__ .

foo, bar, baz

```````````````````````````````` This is strong emphasis, even though the opening delimiter is both left- and right-flanking, because it is preceded by punctuation: ```````````````````````````````` example foo-__(bar)__ .

foo-(bar)

```````````````````````````````` Rule 7: This is not strong emphasis, because the closing delimiter is preceded by whitespace: ```````````````````````````````` example **foo bar ** .

**foo bar **

```````````````````````````````` (Nor can it be interpreted as an emphasized `*foo bar *`, because of Rule 11.) This is not strong emphasis, because the second `**` is preceded by punctuation and followed by an alphanumeric: ```````````````````````````````` example **(**foo) .

**(**foo)

```````````````````````````````` The point of this restriction is more easily appreciated with these examples: ```````````````````````````````` example *(**foo**)* .

(foo)

```````````````````````````````` ```````````````````````````````` example **Gomphocarpus (*Gomphocarpus physocarpus*, syn. *Asclepias physocarpa*)** .

Gomphocarpus (Gomphocarpus physocarpus, syn. Asclepias physocarpa)

```````````````````````````````` ```````````````````````````````` example **foo "*bar*" foo** .

foo "bar" foo

```````````````````````````````` Intraword emphasis: ```````````````````````````````` example **foo**bar .

foobar

```````````````````````````````` Rule 8: This is not strong emphasis, because the closing delimiter is preceded by whitespace: ```````````````````````````````` example __foo bar __ .

__foo bar __

```````````````````````````````` This is not strong emphasis, because the second `__` is preceded by punctuation and followed by an alphanumeric: ```````````````````````````````` example __(__foo) .

__(__foo)

```````````````````````````````` The point of this restriction is more easily appreciated with this example: ```````````````````````````````` example _(__foo__)_ .

(foo)

```````````````````````````````` Intraword strong emphasis is forbidden with `__`: ```````````````````````````````` example __foo__bar .

__foo__bar

```````````````````````````````` ```````````````````````````````` example __пристаням__стремятся .

__пристаням__стремятся

```````````````````````````````` ```````````````````````````````` example __foo__bar__baz__ .

foo__bar__baz

```````````````````````````````` This is strong emphasis, even though the closing delimiter is both left- and right-flanking, because it is followed by punctuation: ```````````````````````````````` example __(bar)__. .

(bar).

```````````````````````````````` Rule 9: Any nonempty sequence of inline elements can be the contents of an emphasized span. ```````````````````````````````` example *foo [bar](/url)* .

foo bar

```````````````````````````````` ```````````````````````````````` example *foo bar* .

foo bar

```````````````````````````````` In particular, emphasis and strong emphasis can be nested inside emphasis: ```````````````````````````````` example _foo __bar__ baz_ .

foo bar baz

```````````````````````````````` ```````````````````````````````` example _foo _bar_ baz_ .

foo bar baz

```````````````````````````````` ```````````````````````````````` example __foo_ bar_ .

foo bar

```````````````````````````````` ```````````````````````````````` example *foo *bar** .

foo bar

```````````````````````````````` ```````````````````````````````` example *foo **bar** baz* .

foo bar baz

```````````````````````````````` ```````````````````````````````` example *foo**bar**baz* .

foobarbaz

```````````````````````````````` Note that in the preceding case, the interpretation ``` markdown

foobarbaz

``` is precluded by the condition that a delimiter that can both open and close (like the `*` after `foo`) cannot form emphasis if the sum of the lengths of the delimiter runs containing the opening and closing delimiters is a multiple of 3 unless both lengths are multiples of 3. For the same reason, we don't get two consecutive emphasis sections in this example: ```````````````````````````````` example *foo**bar* .

foo**bar

```````````````````````````````` The same condition ensures that the following cases are all strong emphasis nested inside emphasis, even when the interior spaces are omitted: ```````````````````````````````` example ***foo** bar* .

foo bar

```````````````````````````````` ```````````````````````````````` example *foo **bar*** .

foo bar

```````````````````````````````` ```````````````````````````````` example *foo**bar*** .

foobar

```````````````````````````````` When the lengths of the interior closing and opening delimiter runs are *both* multiples of 3, though, they can match to create emphasis: ```````````````````````````````` example foo***bar***baz .

foobarbaz

```````````````````````````````` ```````````````````````````````` example foo******bar*********baz .

foobar***baz

```````````````````````````````` Indefinite levels of nesting are possible: ```````````````````````````````` example *foo **bar *baz* bim** bop* .

foo bar baz bim bop

```````````````````````````````` ```````````````````````````````` example *foo [*bar*](/url)* .

foo bar

```````````````````````````````` There can be no empty emphasis or strong emphasis: ```````````````````````````````` example ** is not an empty emphasis .

** is not an empty emphasis

```````````````````````````````` ```````````````````````````````` example **** is not an empty strong emphasis .

**** is not an empty strong emphasis

```````````````````````````````` Rule 10: Any nonempty sequence of inline elements can be the contents of an strongly emphasized span. ```````````````````````````````` example **foo [bar](/url)** .

foo bar

```````````````````````````````` ```````````````````````````````` example **foo bar** .

foo bar

```````````````````````````````` In particular, emphasis and strong emphasis can be nested inside strong emphasis: ```````````````````````````````` example __foo _bar_ baz__ .

foo bar baz

```````````````````````````````` ```````````````````````````````` example __foo __bar__ baz__ .

foo bar baz

```````````````````````````````` ```````````````````````````````` example ____foo__ bar__ .

foo bar

```````````````````````````````` ```````````````````````````````` example **foo **bar**** .

foo bar

```````````````````````````````` ```````````````````````````````` example **foo *bar* baz** .

foo bar baz

```````````````````````````````` ```````````````````````````````` example **foo*bar*baz** .

foobarbaz

```````````````````````````````` ```````````````````````````````` example ***foo* bar** .

foo bar

```````````````````````````````` ```````````````````````````````` example **foo *bar*** .

foo bar

```````````````````````````````` Indefinite levels of nesting are possible: ```````````````````````````````` example **foo *bar **baz** bim* bop** .

foo bar baz bim bop

```````````````````````````````` ```````````````````````````````` example **foo [*bar*](/url)** .

foo bar

```````````````````````````````` There can be no empty emphasis or strong emphasis: ```````````````````````````````` example __ is not an empty emphasis .

__ is not an empty emphasis

```````````````````````````````` ```````````````````````````````` example ____ is not an empty strong emphasis .

____ is not an empty strong emphasis

```````````````````````````````` Rule 11: ```````````````````````````````` example foo *** .

foo ***

```````````````````````````````` ```````````````````````````````` example foo *\** .

foo *

```````````````````````````````` ```````````````````````````````` example foo *_* .

foo _

```````````````````````````````` ```````````````````````````````` example foo ***** .

foo *****

```````````````````````````````` ```````````````````````````````` example foo **\*** .

foo *

```````````````````````````````` ```````````````````````````````` example foo **_** .

foo _

```````````````````````````````` Note that when delimiters do not match evenly, Rule 11 determines that the excess literal `*` characters will appear outside of the emphasis, rather than inside it: ```````````````````````````````` example **foo* .

*foo

```````````````````````````````` ```````````````````````````````` example *foo** .

foo*

```````````````````````````````` ```````````````````````````````` example ***foo** .

*foo

```````````````````````````````` ```````````````````````````````` example ****foo* .

***foo

```````````````````````````````` ```````````````````````````````` example **foo*** .

foo*

```````````````````````````````` ```````````````````````````````` example *foo**** .

foo***

```````````````````````````````` Rule 12: ```````````````````````````````` example foo ___ .

foo ___

```````````````````````````````` ```````````````````````````````` example foo _\__ .

foo _

```````````````````````````````` ```````````````````````````````` example foo _*_ .

foo *

```````````````````````````````` ```````````````````````````````` example foo _____ .

foo _____

```````````````````````````````` ```````````````````````````````` example foo __\___ .

foo _

```````````````````````````````` ```````````````````````````````` example foo __*__ .

foo *

```````````````````````````````` ```````````````````````````````` example __foo_ .

_foo

```````````````````````````````` Note that when delimiters do not match evenly, Rule 12 determines that the excess literal `_` characters will appear outside of the emphasis, rather than inside it: ```````````````````````````````` example _foo__ .

foo_

```````````````````````````````` ```````````````````````````````` example ___foo__ .

_foo

```````````````````````````````` ```````````````````````````````` example ____foo_ .

___foo

```````````````````````````````` ```````````````````````````````` example __foo___ .

foo_

```````````````````````````````` ```````````````````````````````` example _foo____ .

foo___

```````````````````````````````` Rule 13 implies that if you want emphasis nested directly inside emphasis, you must use different delimiters: ```````````````````````````````` example **foo** .

foo

```````````````````````````````` ```````````````````````````````` example *_foo_* .

foo

```````````````````````````````` ```````````````````````````````` example __foo__ .

foo

```````````````````````````````` ```````````````````````````````` example _*foo*_ .

foo

```````````````````````````````` However, strong emphasis within strong emphasis is possible without switching delimiters: ```````````````````````````````` example ****foo**** .

foo

```````````````````````````````` ```````````````````````````````` example ____foo____ .

foo

```````````````````````````````` Rule 13 can be applied to arbitrarily long sequences of delimiters: ```````````````````````````````` example ******foo****** .

foo

```````````````````````````````` Rule 14: ```````````````````````````````` example ***foo*** .

foo

```````````````````````````````` ```````````````````````````````` example _____foo_____ .

foo

```````````````````````````````` Rule 15: ```````````````````````````````` example *foo _bar* baz_ .

foo _bar baz_

```````````````````````````````` ```````````````````````````````` example *foo __bar *baz bim__ bam* .

foo bar *baz bim bam

```````````````````````````````` Rule 16: ```````````````````````````````` example **foo **bar baz** .

**foo bar baz

```````````````````````````````` ```````````````````````````````` example *foo *bar baz* .

*foo bar baz

```````````````````````````````` Rule 17: ```````````````````````````````` example *[bar*](/url) .

*bar*

```````````````````````````````` ```````````````````````````````` example _foo [bar_](/url) .

_foo bar_

```````````````````````````````` ```````````````````````````````` example * .

*

```````````````````````````````` ```````````````````````````````` example ** .

**

```````````````````````````````` ```````````````````````````````` example __ .

__

```````````````````````````````` ```````````````````````````````` example *a `*`* .

a *

```````````````````````````````` ```````````````````````````````` example _a `_`_ .

a _

```````````````````````````````` ```````````````````````````````` example **a .

**ahttp://foo.bar/?q=**

```````````````````````````````` ```````````````````````````````` example __a .

__ahttp://foo.bar/?q=__

````````````````````````````````
## Strikethrough (extension) GFM enables the `strikethrough` extension, where an additional emphasis type is available. Strikethrough text is any text wrapped in two tildes (`~`). ```````````````````````````````` example strikethrough ~~Hi~~ Hello, world! .

Hi Hello, world!

```````````````````````````````` As with regular emphasis delimiters, a new paragraph will cause strikethrough parsing to cease: ```````````````````````````````` example strikethrough This ~~has a new paragraph~~. .

This ~~has a

new paragraph~~.

````````````````````````````````
## Links A link contains [link text] (the visible text), a [link destination] (the URI that is the link destination), and optionally a [link title]. There are two basic kinds of links in Markdown. In [inline links] the destination and title are given immediately after the link text. In [reference links] the destination and title are defined elsewhere in the document. A [link text](@) consists of a sequence of zero or more inline elements enclosed by square brackets (`[` and `]`). The following rules apply: - Links may not contain other links, at any level of nesting. If multiple otherwise valid link definitions appear nested inside each other, the inner-most definition is used. - Brackets are allowed in the [link text] only if (a) they are backslash-escaped or (b) they appear as a matched pair of brackets, with an open bracket `[`, a sequence of zero or more inlines, and a close bracket `]`. - Backtick [code spans], [autolinks], and raw [HTML tags] bind more tightly than the brackets in link text. Thus, for example, `` [foo`]` `` could not be a link text, since the second `]` is part of a code span. - The brackets in link text bind more tightly than markers for [emphasis and strong emphasis]. Thus, for example, `*[foo*](url)` is a link. A [link destination](@) consists of either - a sequence of zero or more characters between an opening `<` and a closing `>` that contains no line breaks or unescaped `<` or `>` characters, or - a nonempty sequence of characters that does not start with `<`, does not include ASCII space or control characters, and includes parentheses only if (a) they are backslash-escaped or (b) they are part of a balanced pair of unescaped parentheses. (Implementations may impose limits on parentheses nesting to avoid performance issues, but at least three levels of nesting should be supported.) A [link title](@) consists of either - a sequence of zero or more characters between straight double-quote characters (`"`), including a `"` character only if it is backslash-escaped, or - a sequence of zero or more characters between straight single-quote characters (`'`), including a `'` character only if it is backslash-escaped, or - a sequence of zero or more characters between matching parentheses (`(...)`), including a `(` or `)` character only if it is backslash-escaped. Although [link titles] may span multiple lines, they may not contain a [blank line]. An [inline link](@) consists of a [link text] followed immediately by a left parenthesis `(`, optional [whitespace], an optional [link destination], an optional [link title] separated from the link destination by [whitespace], optional [whitespace], and a right parenthesis `)`. The link's text consists of the inlines contained in the [link text] (excluding the enclosing square brackets). The link's URI consists of the link destination, excluding enclosing `<...>` if present, with backslash-escapes in effect as described above. The link's title consists of the link title, excluding its enclosing delimiters, with backslash-escapes in effect as described above. Here is a simple inline link: ```````````````````````````````` example [link](/uri "title") .

link

```````````````````````````````` The title may be omitted: ```````````````````````````````` example [link](/uri) .

link

```````````````````````````````` Both the title and the destination may be omitted: ```````````````````````````````` example [link]() .

link

```````````````````````````````` ```````````````````````````````` example [link](<>) .

link

```````````````````````````````` The destination can only contain spaces if it is enclosed in pointy brackets: ```````````````````````````````` example [link](/my uri) .

[link](/my uri)

```````````````````````````````` ```````````````````````````````` example [link](
) .

link

```````````````````````````````` The destination cannot contain line breaks, even if enclosed in pointy brackets: ```````````````````````````````` example [link](foo bar) .

[link](foo bar)

```````````````````````````````` ```````````````````````````````` example [link]() .

[link]()

```````````````````````````````` The destination can contain `)` if it is enclosed in pointy brackets: ```````````````````````````````` example [a]() .

a

```````````````````````````````` Pointy brackets that enclose links must be unescaped: ```````````````````````````````` example [link]() .

[link](<foo>)

```````````````````````````````` These are not links, because the opening pointy bracket is not matched properly: ```````````````````````````````` example [a]( [a](c) .

[a](<b)c [a](<b)c> [a](c)

```````````````````````````````` Parentheses inside the link destination may be escaped: ```````````````````````````````` example [link](\(foo\)) .

link

```````````````````````````````` Any number of parentheses are allowed without escaping, as long as they are balanced: ```````````````````````````````` example [link](foo(and(bar))) .

link

```````````````````````````````` However, if you have unbalanced parentheses, you need to escape or use the `<...>` form: ```````````````````````````````` example [link](foo\(and\(bar\)) .

link

```````````````````````````````` ```````````````````````````````` example [link]() .

link

```````````````````````````````` Parentheses and other symbols can also be escaped, as usual in Markdown: ```````````````````````````````` example [link](foo\)\:) .

link

```````````````````````````````` A link can contain fragment identifiers and queries: ```````````````````````````````` example [link](#fragment) [link](http://example.com#fragment) [link](http://example.com?foo=3#frag) .

link

link

link

```````````````````````````````` Note that a backslash before a non-escapable character is just a backslash: ```````````````````````````````` example [link](foo\bar) .

link

```````````````````````````````` URL-escaping should be left alone inside the destination, as all URL-escaped characters are also valid URL characters. Entity and numerical character references in the destination will be parsed into the corresponding Unicode code points, as usual. These may be optionally URL-escaped when written as HTML, but this spec does not enforce any particular policy for rendering URLs in HTML or other formats. Renderers may make different decisions about how to escape or normalize URLs in the output. ```````````````````````````````` example [link](foo%20bä) .

link

```````````````````````````````` Note that, because titles can often be parsed as destinations, if you try to omit the destination and keep the title, you'll get unexpected results: ```````````````````````````````` example [link]("title") .

link

```````````````````````````````` Titles may be in single quotes, double quotes, or parentheses: ```````````````````````````````` example [link](/url "title") [link](/url 'title') [link](/url (title)) .

link link link

```````````````````````````````` Backslash escapes and entity and numeric character references may be used in titles: ```````````````````````````````` example [link](/url "title \""") .

link

```````````````````````````````` Titles must be separated from the link using a [whitespace]. Other [Unicode whitespace] like non-breaking space doesn't work. ```````````````````````````````` example [link](/url "title") .

link

```````````````````````````````` Nested balanced quotes are not allowed without escaping: ```````````````````````````````` example [link](/url "title "and" title") .

[link](/url "title "and" title")

```````````````````````````````` But it is easy to work around this by using a different quote type: ```````````````````````````````` example [link](/url 'title "and" title') .

link

```````````````````````````````` (Note: `Markdown.pl` did allow double quotes inside a double-quoted title, and its test suite included a test demonstrating this. But it is hard to see a good rationale for the extra complexity this brings, since there are already many ways---backslash escaping, entity and numeric character references, or using a different quote type for the enclosing title---to write titles containing double quotes. `Markdown.pl`'s handling of titles has a number of other strange features. For example, it allows single-quoted titles in inline links, but not reference links. And, in reference links but not inline links, it allows a title to begin with `"` and end with `)`. `Markdown.pl` 1.0.1 even allows titles with no closing quotation mark, though 1.0.2b8 does not. It seems preferable to adopt a simple, rational rule that works the same way in inline links and link reference definitions.) [Whitespace] is allowed around the destination and title: ```````````````````````````````` example [link]( /uri "title" ) .

link

```````````````````````````````` But it is not allowed between the link text and the following parenthesis: ```````````````````````````````` example [link] (/uri) .

[link] (/uri)

```````````````````````````````` The link text may contain balanced brackets, but not unbalanced ones, unless they are escaped: ```````````````````````````````` example [link [foo [bar]]](/uri) .

link [foo [bar]]

```````````````````````````````` ```````````````````````````````` example [link] bar](/uri) .

[link] bar](/uri)

```````````````````````````````` ```````````````````````````````` example [link [bar](/uri) .

[link bar

```````````````````````````````` ```````````````````````````````` example [link \[bar](/uri) .

link [bar

```````````````````````````````` The link text may contain inline content: ```````````````````````````````` example [link *foo **bar** `#`*](/uri) .

link foo bar #

```````````````````````````````` ```````````````````````````````` example [![moon](moon.jpg)](/uri) .

moon

```````````````````````````````` However, links may not contain other links, at any level of nesting. ```````````````````````````````` example [foo [bar](/uri)](/uri) .

[foo bar](/uri)

```````````````````````````````` ```````````````````````````````` example [foo *[bar [baz](/uri)](/uri)*](/uri) .

[foo [bar baz](/uri)](/uri)

```````````````````````````````` ```````````````````````````````` example ![[[foo](uri1)](uri2)](uri3) .

[foo](uri2)

```````````````````````````````` These cases illustrate the precedence of link text grouping over emphasis grouping: ```````````````````````````````` example *[foo*](/uri) .

*foo*

```````````````````````````````` ```````````````````````````````` example [foo *bar](baz*) .

foo *bar

```````````````````````````````` Note that brackets that *aren't* part of links do not take precedence: ```````````````````````````````` example *foo [bar* baz] .

foo [bar baz]

```````````````````````````````` These cases illustrate the precedence of HTML tags, code spans, and autolinks over link grouping: ```````````````````````````````` example [foo .

[foo

```````````````````````````````` ```````````````````````````````` example [foo`](/uri)` .

[foo](/uri)

```````````````````````````````` ```````````````````````````````` example [foo .

[foohttp://example.com/?search=](uri)

```````````````````````````````` There are three kinds of [reference link](@)s: [full](#full-reference-link), [collapsed](#collapsed-reference-link), and [shortcut](#shortcut-reference-link). A [full reference link](@) consists of a [link text] immediately followed by a [link label] that [matches] a [link reference definition] elsewhere in the document. A [link label](@) begins with a left bracket (`[`) and ends with the first right bracket (`]`) that is not backslash-escaped. Between these brackets there must be at least one [non-whitespace character]. Unescaped square bracket characters are not allowed inside the opening and closing square brackets of [link labels]. A link label can have at most 999 characters inside the square brackets. One label [matches](@) another just in case their normalized forms are equal. To normalize a label, strip off the opening and closing brackets, perform the *Unicode case fold*, strip leading and trailing [whitespace] and collapse consecutive internal [whitespace] to a single space. If there are multiple matching reference link definitions, the one that comes first in the document is used. (It is desirable in such cases to emit a warning.) The contents of the first link label are parsed as inlines, which are used as the link's text. The link's URI and title are provided by the matching [link reference definition]. Here is a simple example: ```````````````````````````````` example [foo][bar] [bar]: /url "title" .

foo

```````````````````````````````` The rules for the [link text] are the same as with [inline links]. Thus: The link text may contain balanced brackets, but not unbalanced ones, unless they are escaped: ```````````````````````````````` example [link [foo [bar]]][ref] [ref]: /uri .

link [foo [bar]]

```````````````````````````````` ```````````````````````````````` example [link \[bar][ref] [ref]: /uri .

link [bar

```````````````````````````````` The link text may contain inline content: ```````````````````````````````` example [link *foo **bar** `#`*][ref] [ref]: /uri .

link foo bar #

```````````````````````````````` ```````````````````````````````` example [![moon](moon.jpg)][ref] [ref]: /uri .

moon

```````````````````````````````` However, links may not contain other links, at any level of nesting. ```````````````````````````````` example [foo [bar](/uri)][ref] [ref]: /uri .

[foo bar]ref

```````````````````````````````` ```````````````````````````````` example [foo *bar [baz][ref]*][ref] [ref]: /uri .

[foo bar baz]ref

```````````````````````````````` (In the examples above, we have two [shortcut reference links] instead of one [full reference link].) The following cases illustrate the precedence of link text grouping over emphasis grouping: ```````````````````````````````` example *[foo*][ref] [ref]: /uri .

*foo*

```````````````````````````````` ```````````````````````````````` example [foo *bar][ref] [ref]: /uri .

foo *bar

```````````````````````````````` These cases illustrate the precedence of HTML tags, code spans, and autolinks over link grouping: ```````````````````````````````` example [foo [ref]: /uri .

[foo

```````````````````````````````` ```````````````````````````````` example [foo`][ref]` [ref]: /uri .

[foo][ref]

```````````````````````````````` ```````````````````````````````` example [foo [ref]: /uri .

[foohttp://example.com/?search=][ref]

```````````````````````````````` Matching is case-insensitive: ```````````````````````````````` example [foo][BaR] [bar]: /url "title" .

foo

```````````````````````````````` Unicode case fold is used: ```````````````````````````````` example [Толпой][Толпой] is a Russian word. [ТОЛПОЙ]: /url .

Толпой is a Russian word.

```````````````````````````````` Consecutive internal [whitespace] is treated as one space for purposes of determining matching: ```````````````````````````````` example [Foo bar]: /url [Baz][Foo bar] .

Baz

```````````````````````````````` No [whitespace] is allowed between the [link text] and the [link label]: ```````````````````````````````` example [foo] [bar] [bar]: /url "title" .

[foo] bar

```````````````````````````````` ```````````````````````````````` example [foo] [bar] [bar]: /url "title" .

[foo] bar

```````````````````````````````` This is a departure from John Gruber's original Markdown syntax description, which explicitly allows whitespace between the link text and the link label. It brings reference links in line with [inline links], which (according to both original Markdown and this spec) cannot have whitespace after the link text. More importantly, it prevents inadvertent capture of consecutive [shortcut reference links]. If whitespace is allowed between the link text and the link label, then in the following we will have a single reference link, not two shortcut reference links, as intended: ``` markdown [foo] [bar] [foo]: /url1 [bar]: /url2 ``` (Note that [shortcut reference links] were introduced by Gruber himself in a beta version of `Markdown.pl`, but never included in the official syntax description. Without shortcut reference links, it is harmless to allow space between the link text and link label; but once shortcut references are introduced, it is too dangerous to allow this, as it frequently leads to unintended results.) When there are multiple matching [link reference definitions], the first is used: ```````````````````````````````` example [foo]: /url1 [foo]: /url2 [bar][foo] .

bar

```````````````````````````````` Note that matching is performed on normalized strings, not parsed inline content. So the following does not match, even though the labels define equivalent inline content: ```````````````````````````````` example [bar][foo\!] [foo!]: /url .

[bar][foo!]

```````````````````````````````` [Link labels] cannot contain brackets, unless they are backslash-escaped: ```````````````````````````````` example [foo][ref[] [ref[]: /uri .

[foo][ref[]

[ref[]: /uri

```````````````````````````````` ```````````````````````````````` example [foo][ref[bar]] [ref[bar]]: /uri .

[foo][ref[bar]]

[ref[bar]]: /uri

```````````````````````````````` ```````````````````````````````` example [[[foo]]] [[[foo]]]: /url .

[[[foo]]]

[[[foo]]]: /url

```````````````````````````````` ```````````````````````````````` example [foo][ref\[] [ref\[]: /uri .

foo

```````````````````````````````` Note that in this example `]` is not backslash-escaped: ```````````````````````````````` example [bar\\]: /uri [bar\\] .

bar\

```````````````````````````````` A [link label] must contain at least one [non-whitespace character]: ```````````````````````````````` example [] []: /uri .

[]

[]: /uri

```````````````````````````````` ```````````````````````````````` example [ ] [ ]: /uri .

[ ]

[ ]: /uri

```````````````````````````````` A [collapsed reference link](@) consists of a [link label] that [matches] a [link reference definition] elsewhere in the document, followed by the string `[]`. The contents of the first link label are parsed as inlines, which are used as the link's text. The link's URI and title are provided by the matching reference link definition. Thus, `[foo][]` is equivalent to `[foo][foo]`. ```````````````````````````````` example [foo][] [foo]: /url "title" .

foo

```````````````````````````````` ```````````````````````````````` example [*foo* bar][] [*foo* bar]: /url "title" .

foo bar

```````````````````````````````` The link labels are case-insensitive: ```````````````````````````````` example [Foo][] [foo]: /url "title" .

Foo

```````````````````````````````` As with full reference links, [whitespace] is not allowed between the two sets of brackets: ```````````````````````````````` example [foo] [] [foo]: /url "title" .

foo []

```````````````````````````````` A [shortcut reference link](@) consists of a [link label] that [matches] a [link reference definition] elsewhere in the document and is not followed by `[]` or a link label. The contents of the first link label are parsed as inlines, which are used as the link's text. The link's URI and title are provided by the matching link reference definition. Thus, `[foo]` is equivalent to `[foo][]`. ```````````````````````````````` example [foo] [foo]: /url "title" .

foo

```````````````````````````````` ```````````````````````````````` example [*foo* bar] [*foo* bar]: /url "title" .

foo bar

```````````````````````````````` ```````````````````````````````` example [[*foo* bar]] [*foo* bar]: /url "title" .

[foo bar]

```````````````````````````````` ```````````````````````````````` example [[bar [foo] [foo]: /url .

[[bar foo

```````````````````````````````` The link labels are case-insensitive: ```````````````````````````````` example [Foo] [foo]: /url "title" .

Foo

```````````````````````````````` A space after the link text should be preserved: ```````````````````````````````` example [foo] bar [foo]: /url .

foo bar

```````````````````````````````` If you just want bracketed text, you can backslash-escape the opening bracket to avoid links: ```````````````````````````````` example \[foo] [foo]: /url "title" .

[foo]

```````````````````````````````` Note that this is a link, because a link label ends with the first following closing bracket: ```````````````````````````````` example [foo*]: /url *[foo*] .

*foo*

```````````````````````````````` Full and compact references take precedence over shortcut references: ```````````````````````````````` example [foo][bar] [foo]: /url1 [bar]: /url2 .

foo

```````````````````````````````` ```````````````````````````````` example [foo][] [foo]: /url1 .

foo

```````````````````````````````` Inline links also take precedence: ```````````````````````````````` example [foo]() [foo]: /url1 .

foo

```````````````````````````````` ```````````````````````````````` example [foo](not a link) [foo]: /url1 .

foo(not a link)

```````````````````````````````` In the following case `[bar][baz]` is parsed as a reference, `[foo]` as normal text: ```````````````````````````````` example [foo][bar][baz] [baz]: /url .

[foo]bar

```````````````````````````````` Here, though, `[foo][bar]` is parsed as a reference, since `[bar]` is defined: ```````````````````````````````` example [foo][bar][baz] [baz]: /url1 [bar]: /url2 .

foobaz

```````````````````````````````` Here `[foo]` is not parsed as a shortcut reference, because it is followed by a link label (even though `[bar]` is not defined): ```````````````````````````````` example [foo][bar][baz] [baz]: /url1 [foo]: /url2 .

[foo]bar

```````````````````````````````` ## Images Syntax for images is like the syntax for links, with one difference. Instead of [link text], we have an [image description](@). The rules for this are the same as for [link text], except that (a) an image description starts with `![` rather than `[`, and (b) an image description may contain links. An image description has inline elements as its contents. When an image is rendered to HTML, this is standardly used as the image's `alt` attribute. ```````````````````````````````` example ![foo](/url "title") .

foo

```````````````````````````````` ```````````````````````````````` example ![foo *bar*] [foo *bar*]: train.jpg "train & tracks" .

foo bar

```````````````````````````````` ```````````````````````````````` example ![foo ![bar](/url)](/url2) .

foo bar

```````````````````````````````` ```````````````````````````````` example ![foo [bar](/url)](/url2) .

foo bar

```````````````````````````````` Though this spec is concerned with parsing, not rendering, it is recommended that in rendering to HTML, only the plain string content of the [image description] be used. Note that in the above example, the alt attribute's value is `foo bar`, not `foo [bar](/url)` or `foo bar`. Only the plain string content is rendered, without formatting. ```````````````````````````````` example ![foo *bar*][] [foo *bar*]: train.jpg "train & tracks" .

foo bar

```````````````````````````````` ```````````````````````````````` example ![foo *bar*][foobar] [FOOBAR]: train.jpg "train & tracks" .

foo bar

```````````````````````````````` ```````````````````````````````` example ![foo](train.jpg) .

foo

```````````````````````````````` ```````````````````````````````` example My ![foo bar](/path/to/train.jpg "title" ) .

My foo bar

```````````````````````````````` ```````````````````````````````` example ![foo]() .

foo

```````````````````````````````` ```````````````````````````````` example ![](/url) .

```````````````````````````````` Reference-style: ```````````````````````````````` example ![foo][bar] [bar]: /url .

foo

```````````````````````````````` ```````````````````````````````` example ![foo][bar] [BAR]: /url .

foo

```````````````````````````````` Collapsed: ```````````````````````````````` example ![foo][] [foo]: /url "title" .

foo

```````````````````````````````` ```````````````````````````````` example ![*foo* bar][] [*foo* bar]: /url "title" .

foo bar

```````````````````````````````` The labels are case-insensitive: ```````````````````````````````` example ![Foo][] [foo]: /url "title" .

Foo

```````````````````````````````` As with reference links, [whitespace] is not allowed between the two sets of brackets: ```````````````````````````````` example ![foo] [] [foo]: /url "title" .

foo []

```````````````````````````````` Shortcut: ```````````````````````````````` example ![foo] [foo]: /url "title" .

foo

```````````````````````````````` ```````````````````````````````` example ![*foo* bar] [*foo* bar]: /url "title" .

foo bar

```````````````````````````````` Note that link labels cannot contain unescaped brackets: ```````````````````````````````` example ![[foo]] [[foo]]: /url "title" .

![[foo]]

[[foo]]: /url "title"

```````````````````````````````` The link labels are case-insensitive: ```````````````````````````````` example ![Foo] [foo]: /url "title" .

Foo

```````````````````````````````` If you just want a literal `!` followed by bracketed text, you can backslash-escape the opening `[`: ```````````````````````````````` example !\[foo] [foo]: /url "title" .

![foo]

```````````````````````````````` If you want a link after a literal `!`, backslash-escape the `!`: ```````````````````````````````` example \![foo] [foo]: /url "title" .

!foo

```````````````````````````````` ## Autolinks [Autolink](@)s are absolute URIs and email addresses inside `<` and `>`. They are parsed as links, with the URL or email address as the link label. A [URI autolink](@) consists of `<`, followed by an [absolute URI] followed by `>`. It is parsed as a link to the URI, with the URI as the link's label. An [absolute URI](@), for these purposes, consists of a [scheme] followed by a colon (`:`) followed by zero or more characters other than ASCII [whitespace] and control characters, `<`, and `>`. If the URI includes these characters, they must be percent-encoded (e.g. `%20` for a space). For purposes of this spec, a [scheme](@) is any sequence of 2--32 characters beginning with an ASCII letter and followed by any combination of ASCII letters, digits, or the symbols plus ("+"), period ("."), or hyphen ("-"). Here are some valid autolinks: ```````````````````````````````` example .

http://foo.bar.baz

```````````````````````````````` ```````````````````````````````` example .

http://foo.bar.baz/test?q=hello&id=22&boolean

```````````````````````````````` ```````````````````````````````` example .

irc://foo.bar:2233/baz

```````````````````````````````` Uppercase is also fine: ```````````````````````````````` example .

MAILTO:FOO@BAR.BAZ

```````````````````````````````` Note that many strings that count as [absolute URIs] for purposes of this spec are not valid URIs, because their schemes are not registered or because of other problems with their syntax: ```````````````````````````````` example .

a+b+c:d

```````````````````````````````` ```````````````````````````````` example .

made-up-scheme://foo,bar

```````````````````````````````` ```````````````````````````````` example .

http://../

```````````````````````````````` ```````````````````````````````` example .

localhost:5001/foo

```````````````````````````````` Spaces are not allowed in autolinks: ```````````````````````````````` example .

<http://foo.bar/baz bim>

```````````````````````````````` Backslash-escapes do not work inside autolinks: ```````````````````````````````` example .

http://example.com/\[\

```````````````````````````````` An [email autolink](@) consists of `<`, followed by an [email address], followed by `>`. The link's label is the email address, and the URL is `mailto:` followed by the email address. An [email address](@), for these purposes, is anything that matches the [non-normative regex from the HTML5 spec](https://html.spec.whatwg.org/multipage/forms.html#e-mail-state-(type=email)): /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])? (?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/ Examples of email autolinks: ```````````````````````````````` example .

foo@bar.example.com

```````````````````````````````` ```````````````````````````````` example .

foo+special@Bar.baz-bar0.com

```````````````````````````````` Backslash-escapes do not work inside email autolinks: ```````````````````````````````` example .

<foo+@bar.example.com>

```````````````````````````````` These are not autolinks: ```````````````````````````````` example <> .

<>

```````````````````````````````` ```````````````````````````````` example < http://foo.bar > .

< http://foo.bar >

```````````````````````````````` ```````````````````````````````` example .

<m:abc>

```````````````````````````````` ```````````````````````````````` example .

<foo.bar.baz>

```````````````````````````````` ```````````````````````````````` example http://example.com .

http://example.com

```````````````````````````````` ```````````````````````````````` example foo@bar.example.com .

foo@bar.example.com

````````````````````````````````
## Autolinks (extension) GFM enables the `autolink` extension, where autolinks will be recognised in a greater number of conditions. [Autolink]s can also be constructed without requiring the use of `<` and to `>` to delimit them, although they will be recognized under a smaller set of circumstances. All such recognized autolinks can only come at the beginning of a line, after whitespace, or any of the delimiting characters `*`, `_`, `~`, and `(`. An [extended www autolink](@) will be recognized when the text `www.` is found followed by a [valid domain]. A [valid domain](@) consists of segments of alphanumeric characters, underscores (`_`) and hyphens (`-`) separated by periods (`.`). There must be at least one period, and no underscores may be present in the last two segments of the domain. The scheme `http` will be inserted automatically: ```````````````````````````````` example autolink www.commonmark.org .

www.commonmark.org

```````````````````````````````` After a [valid domain], zero or more non-space non-`<` characters may follow: ```````````````````````````````` example autolink Visit www.commonmark.org/help for more information. .

Visit www.commonmark.org/help for more information.

```````````````````````````````` We then apply [extended autolink path validation](@) as follows: Trailing punctuation (specifically, `?`, `!`, `.`, `,`, `:`, `*`, `_`, and `~`) will not be considered part of the autolink, though they may be included in the interior of the link: ```````````````````````````````` example autolink Visit www.commonmark.org. Visit www.commonmark.org/a.b. .

Visit www.commonmark.org.

Visit www.commonmark.org/a.b.

```````````````````````````````` When an autolink ends in `)`, we scan the entire autolink for the total number of parentheses. If there is a greater number of closing parentheses than opening ones, we don't consider the unmatched trailing parentheses part of the autolink, in order to facilitate including an autolink inside a parenthesis: ```````````````````````````````` example autolink www.google.com/search?q=Markup+(business) www.google.com/search?q=Markup+(business))) (www.google.com/search?q=Markup+(business)) (www.google.com/search?q=Markup+(business) .

www.google.com/search?q=Markup+(business)

www.google.com/search?q=Markup+(business)))

(www.google.com/search?q=Markup+(business))

(www.google.com/search?q=Markup+(business)

```````````````````````````````` This check is only done when the link ends in a closing parentheses `)`, so if the only parentheses are in the interior of the autolink, no special rules are applied: ```````````````````````````````` example autolink www.google.com/search?q=(business))+ok .

www.google.com/search?q=(business))+ok

```````````````````````````````` If an autolink ends in a semicolon (`;`), we check to see if it appears to resemble an [entity reference][entity references]; if the preceding text is `&` followed by one or more alphanumeric characters. If so, it is excluded from the autolink: ```````````````````````````````` example autolink www.google.com/search?q=commonmark&hl=en www.google.com/search?q=commonmark&hl; .

www.google.com/search?q=commonmark&hl=en

www.google.com/search?q=commonmark&hl;

```````````````````````````````` `<` immediately ends an autolink. ```````````````````````````````` example autolink www.commonmark.org/hewww.commonmark.org/he<lp

```````````````````````````````` An [extended url autolink](@) will be recognised when one of the schemes `http://`, `https://`, or `ftp://`, followed by a [valid domain], then zero or more non-space non-`<` characters according to [extended autolink path validation]: ```````````````````````````````` example autolink http://commonmark.org (Visit https://encrypted.google.com/search?q=Markup+(business)) Anonymous FTP is available at ftp://foo.bar.baz. .

http://commonmark.org

(Visit https://encrypted.google.com/search?q=Markup+(business))

Anonymous FTP is available at ftp://foo.bar.baz.

```````````````````````````````` An [extended email autolink](@) will be recognised when an email address is recognised within any text node. Email addresses are recognised according to the following rules: * One ore more characters which are alphanumeric, or `.`, `-`, `_`, or `+`. * An `@` symbol. * One or more characters which are alphanumeric, or `-` or `_`, separated by periods (`.`). There must be at least one period. The last character must not be one of `-` or `_`. The scheme `mailto:` will automatically be added to the generated link: ```````````````````````````````` example autolink foo@bar.baz .

foo@bar.baz

```````````````````````````````` `+` can occur before the `@`, but not after. ```````````````````````````````` example autolink hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is. .

hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.

```````````````````````````````` `.`, `-`, and `_` can occur on both sides of the `@`, but only `.` may occur at the end of the email address, in which case it will not be considered part of the address: ```````````````````````````````` example autolink a.b-c_d@a.b a.b-c_d@a.b. a.b-c_d@a.b- a.b-c_d@a.b_ .

a.b-c_d@a.b

a.b-c_d@a.b.

a.b-c_d@a.b-

a.b-c_d@a.b_

````````````````````````````````
## Raw HTML Text between `<` and `>` that looks like an HTML tag is parsed as a raw HTML tag and will be rendered in HTML without escaping. Tag and attribute names are not limited to current HTML tags, so custom tags (and even, say, DocBook tags) may be used. Here is the grammar for tags: A [tag name](@) consists of an ASCII letter followed by zero or more ASCII letters, digits, or hyphens (`-`). An [attribute](@) consists of [whitespace], an [attribute name], and an optional [attribute value specification]. An [attribute name](@) consists of an ASCII letter, `_`, or `:`, followed by zero or more ASCII letters, digits, `_`, `.`, `:`, or `-`. (Note: This is the XML specification restricted to ASCII. HTML5 is laxer.) An [attribute value specification](@) consists of optional [whitespace], a `=` character, optional [whitespace], and an [attribute value]. An [attribute value](@) consists of an [unquoted attribute value], a [single-quoted attribute value], or a [double-quoted attribute value]. An [unquoted attribute value](@) is a nonempty string of characters not including [whitespace], `"`, `'`, `=`, `<`, `>`, or `` ` ``. A [single-quoted attribute value](@) consists of `'`, zero or more characters not including `'`, and a final `'`. A [double-quoted attribute value](@) consists of `"`, zero or more characters not including `"`, and a final `"`. An [open tag](@) consists of a `<` character, a [tag name], zero or more [attributes], optional [whitespace], an optional `/` character, and a `>` character. A [closing tag](@) consists of the string ``. An [HTML comment](@) consists of ``, where *text* does not start with `>` or `->`, does not end with `-`, and does not contain `--`. (See the [HTML5 spec](http://www.w3.org/TR/html5/syntax.html#comments).) A [processing instruction](@) consists of the string ``, and the string `?>`. A [declaration](@) consists of the string ``, and the character `>`. A [CDATA section](@) consists of the string ``, and the string `]]>`. An [HTML tag](@) consists of an [open tag], a [closing tag], an [HTML comment], a [processing instruction], a [declaration], or a [CDATA section]. Here are some simple open tags: ```````````````````````````````` example .

```````````````````````````````` Empty elements: ```````````````````````````````` example .

```````````````````````````````` [Whitespace] is allowed: ```````````````````````````````` example .

```````````````````````````````` With attributes: ```````````````````````````````` example .

```````````````````````````````` Custom tag names can be used: ```````````````````````````````` example Foo .

Foo

```````````````````````````````` Illegal tag names, not parsed as HTML: ```````````````````````````````` example <33> <__> .

<33> <__>

```````````````````````````````` Illegal attribute names: ```````````````````````````````` example
.

<a h*#ref="hi">

```````````````````````````````` Illegal attribute values: ```````````````````````````````` example
.

</a href="foo">

```````````````````````````````` Comments: ```````````````````````````````` example foo .

foo

```````````````````````````````` ```````````````````````````````` example foo .

foo <!-- not a comment -- two hyphens -->

```````````````````````````````` Not comments: ```````````````````````````````` example foo foo --> foo .

foo <!--> foo -->

foo <!-- foo--->

```````````````````````````````` Processing instructions: ```````````````````````````````` example foo .

foo

```````````````````````````````` Declarations: ```````````````````````````````` example foo .

foo

```````````````````````````````` CDATA sections: ```````````````````````````````` example foo &<]]> .

foo &<]]>

```````````````````````````````` Entity and numeric character references are preserved in HTML attributes: ```````````````````````````````` example foo
.

foo

```````````````````````````````` Backslash escapes do not work in HTML attributes: ```````````````````````````````` example foo .

foo

```````````````````````````````` ```````````````````````````````` example .

<a href=""">

````````````````````````````````
## Disallowed Raw HTML (extension) GFM enables the `tagfilter` extension, where the following HTML tags will be filtered when rendering HTML output: * `` * `<textarea>` * `<style>` * `<xmp>` * `<iframe>` * `<noembed>` * `<noframes>` * `<script>` * `<plaintext>` Filtering is done by replacing the leading `<` with the entity `<`. These tags are chosen in particular as they change how HTML is interpreted in a way unique to them (i.e. nested HTML is interpreted differently), and this is usually undesireable in the context of other rendered Markdown content. All other HTML tags are left untouched. ```````````````````````````````` example tagfilter <strong> <title> <style> <em> <blockquote> <xmp> is disallowed. <XMP> is also disallowed. </blockquote> . <p><strong> <title> <style> <em></p> <blockquote> <xmp> is disallowed. <XMP> is also disallowed. </blockquote> ```````````````````````````````` </div> ## Hard line breaks A line break (not in a code span or HTML tag) that is preceded by two or more spaces and does not occur at the end of a block is parsed as a [hard line break](@) (rendered in HTML as a `<br />` tag): ```````````````````````````````` example foo baz . <p>foo<br /> baz</p> ```````````````````````````````` For a more visible alternative, a backslash before the [line ending] may be used instead of two spaces: ```````````````````````````````` example foo\ baz . <p>foo<br /> baz</p> ```````````````````````````````` More than two spaces can be used: ```````````````````````````````` example foo baz . <p>foo<br /> baz</p> ```````````````````````````````` Leading spaces at the beginning of the next line are ignored: ```````````````````````````````` example foo bar . <p>foo<br /> bar</p> ```````````````````````````````` ```````````````````````````````` example foo\ bar . <p>foo<br /> bar</p> ```````````````````````````````` Line breaks can occur inside emphasis, links, and other constructs that allow inline content: ```````````````````````````````` example *foo bar* . <p><em>foo<br /> bar</em></p> ```````````````````````````````` ```````````````````````````````` example *foo\ bar* . <p><em>foo<br /> bar</em></p> ```````````````````````````````` Line breaks do not occur inside code spans ```````````````````````````````` example `code span` . <p><code>code span</code></p> ```````````````````````````````` ```````````````````````````````` example `code\ span` . <p><code>code\ span</code></p> ```````````````````````````````` or HTML tags: ```````````````````````````````` example <a href="foo bar"> . <p><a href="foo bar"></p> ```````````````````````````````` ```````````````````````````````` example <a href="foo\ bar"> . <p><a href="foo\ bar"></p> ```````````````````````````````` Hard line breaks are for separating inline content within a block. Neither syntax for hard line breaks works at the end of a paragraph or other block element: ```````````````````````````````` example foo\ . <p>foo\</p> ```````````````````````````````` ```````````````````````````````` example foo . <p>foo</p> ```````````````````````````````` ```````````````````````````````` example ### foo\ . <h3>foo\</h3> ```````````````````````````````` ```````````````````````````````` example ### foo . <h3>foo</h3> ```````````````````````````````` ## Soft line breaks A regular line break (not in a code span or HTML tag) that is not preceded by two or more spaces or a backslash is parsed as a [softbreak](@). (A softbreak may be rendered in HTML either as a [line ending] or as a space. The result will be the same in browsers. In the examples here, a [line ending] will be used.) ```````````````````````````````` example foo baz . <p>foo baz</p> ```````````````````````````````` Spaces at the end of the line and beginning of the next line are removed: ```````````````````````````````` example foo baz . <p>foo baz</p> ```````````````````````````````` A conforming parser may render a soft line break in HTML either as a line break or as a space. A renderer may also provide an option to render soft line breaks as hard line breaks. ## Textual content Any characters not given an interpretation by the above rules will be parsed as plain textual content. ```````````````````````````````` example hello $.;'there . <p>hello $.;'there</p> ```````````````````````````````` ```````````````````````````````` example Foo χρῆν . <p>Foo χρῆν</p> ```````````````````````````````` Internal spaces are preserved verbatim: ```````````````````````````````` example Multiple spaces . <p>Multiple spaces</p> ```````````````````````````````` # GitLab Official Specification Markdown Note: This specification is a work in progress. Only some of the official GLFM extensions are defined. We will continue to add any additional ones found in the [user-facing documentation for GitLab Flavored Markdown](https://docs.gitlab.com/ee/user/markdown.html). There is currently only this single top-level heading, but the examples may be split into multiple top-level headings in the future. ## Task list items See [Task lists](https://docs.gitlab.com/ee/user/markdown.html#task-lists) in the GitLab Flavored Markdown documentation. Task list items (checkboxes) are defined as a GitHub Flavored Markdown extension in a section above. GitLab extends the behavior of task list items to support additional features. Some of these features are in-progress, and should not yet be considered part of the official GitLab Flavored Markdown specification. Some of the behavior of task list items is implemented as client-side JavaScript/CSS. The following are some basic examples; more examples may be added in the future. Incomplete task: ```````````````````````````````` example gitlab - [ ] incomplete . <ul> <li> <task-button/> <input type="checkbox" disabled/> incomplete </li> </ul> ```````````````````````````````` Completed task: ```````````````````````````````` example gitlab - [x] completed . <ul> <li> <task-button/> <input type="checkbox" checked disabled/> completed </li> </ul> ```````````````````````````````` Inapplicable task: ```````````````````````````````` example gitlab - [~] inapplicable . <ul> <li> <task-button/> <input type="checkbox" data-inapplicable disabled> <s> inapplicable </s> </li> </ul> ```````````````````````````````` Inapplicable task in a "loose" list. Note that the `<del>` tag is not applied to the loose text; it has strikethrough applied with CSS. ```````````````````````````````` example gitlab - [~] inapplicable text in loose list . <ul> <li> <p> <task-button/> <input type="checkbox" data-inapplicable disabled> <s> inapplicable </s> </p> <p> text in loose list </p> </li> </ul> ```````````````````````````````` ## Front matter See [Front matter](https://docs.gitlab.com/ee/user/markdown.html#front-matter) in the GitLab Flavored Markdown documentation. Front matter is metadata included at the beginning of a Markdown document, preceding the content. This data can be used by static site generators like Jekyll, Hugo, and many other applications. YAML front matter: ```````````````````````````````` example gitlab --- title: YAML front matter --- . <pre> <code> title: YAML front matter </code> </pre> ```````````````````````````````` TOML front matter: ```````````````````````````````` example gitlab +++ title: TOML front matter +++ . <pre> <code> title: TOML front matter </code> </pre> ```````````````````````````````` JSON front matter: ```````````````````````````````` example gitlab ;;; { "title": "JSON front matter" } ;;; . <pre> <code> { "title": "JSON front matter" } </code> </pre> ```````````````````````````````` Front matter blocks should be inserted at the top of the document: ```````````````````````````````` example gitlab text --- title: YAML front matter --- . <p>text</p> <hr> <h2>title: YAML front matter</h2> ```````````````````````````````` Front matter block delimiters shouldn’t be preceded by space characters: ```````````````````````````````` example gitlab --- title: YAML front matter --- . <hr> <h2>title: YAML front matter</h2> ```````````````````````````````` ## Table of contents See [table of contents](https://docs.gitlab.com/ee/user/markdown.html#table-of-contents) in the GitLab Flavored Markdown documentation. NOTE: Because of this bug (https://gitlab.com/gitlab-org/gitlab/-/issues/359077), we cannot actually include the `TOC` tag with single brackets in backticks in this Markdown document, otherwise it would render a table of contents inline right here. So, it's been switched to `[` + `TOC` + `]` instead. This can be reverted once that bug is fixed. A table of contents is an unordered list that links to subheadings in the document. Add either the `[[_TOC_]]` tag or the `[` + `TOC` + `]` tag on its own line. ```````````````````````````````` example gitlab [TOC] # Heading 1 ## Heading 2 . <nav> <ul> <li><a href="#heading-1">Heading 1</a></li> <ul> <li><a href="#heading-2">Heading 2</a></li> </ul> </ul> </nav> <h1>Heading 1</h1> <h2>Heading 2</h2> ```````````````````````````````` ```````````````````````````````` example gitlab [[_TOC_]] # Heading 1 ## Heading 2 . <nav> <ul> <li><a href="#heading-1">Heading 1</a></li> <ul> <li><a href="#heading-2">Heading 2</a></li> </ul> </ul> </nav> <h1>Heading 1</h1> <h2>Heading 2</h2> ```````````````````````````````` A table of contents is a block element. It should preceded and followed by a blank line. ```````````````````````````````` example gitlab [[_TOC_]] text text [TOC] . <p>[[<em>TOC</em>]]text</p> <p>text[TOC]</p> ```````````````````````````````` A table of contents can be indented with up to three spaces. ```````````````````````````````` example gitlab [[_TOC_]] # Heading 1 . <nav> <ul> <li><a href="#heading-1">Heading 1</a></li> </ul> </nav> <h1>Heading 1</h1> ```````````````````````````````` # GitLab Internal Extension Markdown ## Audio See [audio](https://docs.gitlab.com/ee/user/markdown.html#audio) in the GitLab Flavored Markdown documentation. GLFM renders image elements as an audio player as long as the resource’s file extension is one of the following supported audio extensions `.mp3`, `.oga`, `.ogg`, `.spx`, and `.wav`. Audio ignore the alternative text part of an image declaration. ```````````````````````````````` example gitlab ![audio](audio.oga "audio title") . <p><audio src="audio.oga" title="audio title"></audio></p> ```````````````````````````````` Reference definitions work audio as well: ```````````````````````````````` example gitlab [audio]: audio.oga "audio title" ![audio][audio] . <p><audio src="audio.oga" title="audio title"></audio></p> ```````````````````````````````` ## Video See [videos](https://docs.gitlab.com/ee/user/markdown.html#videos) in the GitLab Flavored Markdown documentation. GLFM renders image elements as a video player as long as the resource’s file extension is one of the following supported video extensions `.mp4`, `.m4v`, `.mov`, `.webm`, and `.ogv`. Videos ignore the alternative text part of an image declaration. ```````````````````````````````` example gitlab ![video](video.m4v "video title") . <p><video src="video.m4v" title="video title"></video></p> ```````````````````````````````` Reference definitions work video as well: ```````````````````````````````` example gitlab [video]: video.mov "video title" ![video][video] . <p><video src="video.mov" title="video title"></video></p> ```````````````````````````````` ## Markdown Preview API Request Overrides This section contains examples of all controllers which use `PreviewMarkdown` module and use different `markdown_context_params`. They exercise the various `preview_markdown` endpoints via `glfm_example_metadata.yml`. `preview_markdown` exercising `groups` API endpoint and `UploadLinkFilter`: ```````````````````````````````` example gitlab [groups-test-file](/uploads/groups-test-file) . <p><a href="groups-test-file">groups-test-file</a></p> ```````````````````````````````` `preview_markdown` exercising `projects` API endpoint and `RepositoryLinkFilter`: ```````````````````````````````` example gitlab [projects-test-file](projects-test-file) . <p><a href="projects-test-file">projects-test-file</a></p> ```````````````````````````````` `preview_markdown` exercising `projects` API endpoint and `SnippetReferenceFilter`: ```````````````````````````````` example gitlab This project snippet ID reference IS filtered: $88888 . <p>This project snippet ID reference IS filtered: $88888</p> ```````````````````````````````` `preview_markdown` exercising personal (non-project) `snippets` API endpoint. This is only used by the comment field on personal snippets. It has no unique custom markdown extension behavior, and specifically does not render snippet references via `SnippetReferenceFilter`, even if the ID is valid. ```````````````````````````````` example gitlab This personal snippet ID reference is not filtered: $99999 . <p>This personal snippet ID reference is not filtered: $99999</p> ```````````````````````````````` `preview_markdown` exercising project `wikis` API endpoint and `WikiLinkFilter`: ```````````````````````````````` example gitlab [project-wikis-test-file](project-wikis-test-file) . <p><a href="project-wikis-test-file">project-wikis-test-file</a></p> ```````````````````````````````` `preview_markdown` exercising group `wikis` API endpoint and `WikiLinkFilter`. This example also requires an EE license enabling the `group_wikis` feature: ```````````````````````````````` example gitlab [group-wikis-test-file](group-wikis-test-file) . <p><a href="group-wikis-test-file">group-wikis-test-file</a></p> ```````````````````````````````` ## Migrated golden master examples ### attachment_image_for_group ```````````````````````````````` example gitlab ![test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png) . TODO: Write canonical HTML for this example ```````````````````````````````` ### attachment_image_for_project ```````````````````````````````` example gitlab ![test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.png) . TODO: Write canonical HTML for this example ```````````````````````````````` ### attachment_image_for_project_wiki ```````````````````````````````` example gitlab ![test-file](test-file.png) . TODO: Write canonical HTML for this example ```````````````````````````````` ### attachment_link_for_group ```````````````````````````````` example gitlab [test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip) . TODO: Write canonical HTML for this example ```````````````````````````````` ### attachment_link_for_project ```````````````````````````````` example gitlab [test-file](/uploads/aa45a38ec2cfe97433281b10bbff042c/test-file.zip) . TODO: Write canonical HTML for this example ```````````````````````````````` ### attachment_link_for_project_wiki ```````````````````````````````` example gitlab [test-file](test-file.zip) . TODO: Write canonical HTML for this example ```````````````````````````````` ### attachment_link_for_group_wiki ```````````````````````````````` example gitlab [test-file](test-file.zip) . TODO: Write canonical HTML for this example ```````````````````````````````` ### audio ```````````````````````````````` example gitlab ![Sample Audio](https://gitlab.com/gitlab.mp3) . TODO: Write canonical HTML for this example ```````````````````````````````` ### audio_and_video_in_lists ```````````````````````````````` example gitlab * ![Sample Audio](https://gitlab.com/1.mp3) * ![Sample Video](https://gitlab.com/2.mp4) 1. ![Sample Video](https://gitlab.com/1.mp4) 2. ![Sample Audio](https://gitlab.com/2.mp3) * [x] ![Sample Audio](https://gitlab.com/1.mp3) * [x] ![Sample Audio](https://gitlab.com/2.mp3) * [x] ![Sample Video](https://gitlab.com/3.mp4) . TODO: Write canonical HTML for this example ```````````````````````````````` ### blockquote ```````````````````````````````` example gitlab > This is a blockquote > > This is another one . TODO: Write canonical HTML for this example ```````````````````````````````` ### bold ```````````````````````````````` example gitlab **bold** . TODO: Write canonical HTML for this example ```````````````````````````````` ### bullet_list_style_1 ```````````````````````````````` example gitlab * list item 1 * list item 2 * embedded list item 3 . TODO: Write canonical HTML for this example ```````````````````````````````` ### bullet_list_style_2 ```````````````````````````````` example gitlab - list item 1 - list item 2 * embedded list item 3 . TODO: Write canonical HTML for this example ```````````````````````````````` ### bullet_list_style_3 ```````````````````````````````` example gitlab + list item 1 + list item 2 - embedded list item 3 . TODO: Write canonical HTML for this example ```````````````````````````````` ### code_block_javascript ```````````````````````````````` example gitlab ```javascript console.log('hello world') ``` . TODO: Write canonical HTML for this example ```````````````````````````````` ### code_block_plaintext ```````````````````````````````` example gitlab ``` plaintext ``` . TODO: Write canonical HTML for this example ```````````````````````````````` ### code_block_unknown ```````````````````````````````` example gitlab ```foobar custom_language = >> this << ``` . TODO: Write canonical HTML for this example ```````````````````````````````` ### color_chips ```````````````````````````````` example gitlab - `#F00` - `#F00A` - `#FF0000` - `#FF0000AA` - `RGB(0,255,0)` - `RGB(0%,100%,0%)` - `RGBA(0,255,0,0.3)` - `HSL(540,70%,50%)` - `HSLA(540,70%,50%,0.3)` . TODO: Write canonical HTML for this example ```````````````````````````````` ### description_list ```````````````````````````````` example gitlab <dl> <dt>Frog</dt> <dd>Wet green thing</dd> <dt>Rabbit</dt> <dd>Warm fluffy thing</dd> <dt>Punt</dt> <dd>Kick a ball</dd> <dd>Take a bet</dd> <dt>Color</dt> <dt>Colour</dt> <dd> Any hue except _white_ or **black** </dd> </dl> . TODO: Write canonical HTML for this example ```````````````````````````````` ### details ```````````````````````````````` example gitlab <details> <summary>This is the visible summary of the collapsible section</summary> 1. collapsed markdown 2. more collapsed markdown </details> . TODO: Write canonical HTML for this example ```````````````````````````````` ### diagram_kroki_nomnoml ```````````````````````````````` example gitlab ```nomnoml #stroke: #a86128 [<frame>Decorator pattern| [<abstract>Component||+ operation()] [Client] depends --> [Component] [Decorator|- next: Component] [Decorator] decorates -- [ConcreteComponent] [Component] <:- [Decorator] [Component] <:- [ConcreteComponent] ] ``` . TODO: Write canonical HTML for this example ```````````````````````````````` ### diagram_plantuml ```````````````````````````````` example gitlab ```plantuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: Another authentication Response ``` . TODO: Write canonical HTML for this example ```````````````````````````````` ### diagram_plantuml_unicode ```````````````````````````````` example gitlab ```plantuml A -> B : Text with norwegian characters: æøå ``` . TODO: Write canonical HTML for this example ```````````````````````````````` ### div ```````````````````````````````` example gitlab <div>plain text</div> <div> just a plain ol' div, not much to _expect_! </div> . TODO: Write canonical HTML for this example ```````````````````````````````` ### emoji ```````````````````````````````` example gitlab :sparkles: :heart: :100: . TODO: Write canonical HTML for this example ```````````````````````````````` ### emphasis ```````````````````````````````` example gitlab _emphasized text_ . TODO: Write canonical HTML for this example ```````````````````````````````` ### figure ```````````````````````````````` example gitlab <figure> ![Elephant at sunset](elephant-sunset.jpg) <figcaption>An elephant at sunset</figcaption> </figure> <figure> ![A crocodile wearing crocs](croc-crocs.jpg) <figcaption> A crocodile wearing _crocs_! </figcaption> </figure> . TODO: Write canonical HTML for this example ```````````````````````````````` ### footnotes ```````````````````````````````` example gitlab A footnote reference tag looks like this: [^1] This reference tag is a mix of letters and numbers. [^footnote] [^1]: This is the text inside a footnote. [^footnote]: This is another footnote. . TODO: Write canonical HTML for this example ```````````````````````````````` ### frontmatter_json ```````````````````````````````` example gitlab ;;; { "title": "Page title" } ;;; . TODO: Write canonical HTML for this example ```````````````````````````````` ### frontmatter_toml ```````````````````````````````` example gitlab +++ title = "Page title" +++ . TODO: Write canonical HTML for this example ```````````````````````````````` ### frontmatter_yaml ```````````````````````````````` example gitlab --- title: Page title --- . TODO: Write canonical HTML for this example ```````````````````````````````` ### hard_break ```````````````````````````````` example gitlab This is a line after a\ hard break . TODO: Write canonical HTML for this example ```````````````````````````````` ### headings ```````````````````````````````` example gitlab # Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6 . TODO: Write canonical HTML for this example ```````````````````````````````` ### horizontal_rule ```````````````````````````````` example gitlab --- . TODO: Write canonical HTML for this example ```````````````````````````````` ### html_marks ```````````````````````````````` example gitlab * Content editor is ~~great~~<ins>amazing</ins>. * If the changes <abbr title="Looks good to merge">LGTM</abbr>, please <abbr title="Merge when pipeline succeeds">MWPS</abbr>. * The English song <q>Oh I do like to be beside the seaside</q> looks like this in Hebrew: <span dir="rtl">אה, אני אוהב להיות ליד חוף הים</span>. In the computer's memory, this is stored as <bdo dir="ltr">אה, אני אוהב להיות ליד חוף הים</bdo>. * <cite>The Scream</cite> by Edvard Munch. Painted in 1893. * <dfn>HTML</dfn> is the standard markup language for creating web pages. * Do not forget to buy <mark>milk</mark> today. * This is a paragraph and <small>smaller text goes here</small>. * The concert starts at <time datetime="20:00">20:00</time> and you'll be able to enjoy the band for at least <time datetime="PT2H30M">2h 30m</time>. * Press <kbd>Ctrl</kbd> + <kbd>C</kbd> to copy text (Windows). * WWF's goal is to: <q>Build a future where people live in harmony with nature.</q> We hope they succeed. * The error occurred was: <samp>Keyboard not found. Press F1 to continue.</samp> * The area of a triangle is: 1/2 x <var>b</var> x <var>h</var>, where <var>b</var> is the base, and <var>h</var> is the vertical height. * <ruby>漢<rt>ㄏㄢˋ</rt></ruby> * C<sub>7</sub>H<sub>16</sub> + O<sub>2</sub> → CO<sub>2</sub> + H<sub>2</sub>O * The **Pythagorean theorem** is often expressed as <var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> = <var>c<sup>2</sup></var> . TODO: Write canonical HTML for this example ```````````````````````````````` ### image ```````````````````````````````` example gitlab ![alt text](https://gitlab.com/logo.png) . TODO: Write canonical HTML for this example ```````````````````````````````` ### inline_code ```````````````````````````````` example gitlab `code` . TODO: Write canonical HTML for this example ```````````````````````````````` ### inline_diff ```````````````````````````````` example gitlab * {-deleted-} * {+added+} . TODO: Write canonical HTML for this example ```````````````````````````````` ### label ```````````````````````````````` example gitlab ~bug . TODO: Write canonical HTML for this example ```````````````````````````````` ### link ```````````````````````````````` example gitlab [GitLab](https://gitlab.com) . TODO: Write canonical HTML for this example ```````````````````````````````` ### math ```````````````````````````````` example gitlab This math is inline $`a^2+b^2=c^2`$. This is on a separate line: ```math a^2+b^2=c^2 ``` . TODO: Write canonical HTML for this example ```````````````````````````````` ### ordered_list ```````````````````````````````` example gitlab 1. list item 1 2. list item 2 3. list item 3 . TODO: Write canonical HTML for this example ```````````````````````````````` ### ordered_list_with_start_order ```````````````````````````````` example gitlab 134. list item 1 135. list item 2 136. list item 3 . TODO: Write canonical HTML for this example ```````````````````````````````` ### ordered_task_list ```````````````````````````````` example gitlab 1. [x] hello 2. [x] world 3. [ ] example 1. [ ] of nested 1. [x] task list 2. [ ] items . TODO: Write canonical HTML for this example ```````````````````````````````` ### ordered_task_list_with_order ```````````````````````````````` example gitlab 4893. [x] hello 4894. [x] world 4895. [ ] example . TODO: Write canonical HTML for this example ```````````````````````````````` ### reference_for_project_wiki ```````````````````````````````` example gitlab Hi @gfm_user - thank you for reporting this ~"UX bug" (#1) we hope to fix it in %1.1 as part of !1 . TODO: Write canonical HTML for this example ```````````````````````````````` ### strike ```````````````````````````````` example gitlab ~~del~~ . TODO: Write canonical HTML for this example ```````````````````````````````` ### table ```````````````````````````````` example gitlab | header | header | |--------|--------| | `code` | cell with **bold** | | ~~strike~~ | cell with _italic_ | # content after table . TODO: Write canonical HTML for this example ```````````````````````````````` ### table_of_contents ```````````````````````````````` example gitlab [[_TOC_]] # Lorem Well, that's just like... your opinion.. man. ## Ipsum ### Dolar # Sit amit ### I don't know . TODO: Write canonical HTML for this example ```````````````````````````````` ### task_list ```````````````````````````````` example gitlab * [x] hello * [x] world * [ ] example * [ ] of nested * [x] task list * [ ] items . TODO: Write canonical HTML for this example ```````````````````````````````` ### video ```````````````````````````````` example gitlab ![Sample Video](https://gitlab.com/gitlab.mp4) . TODO: Write canonical HTML for this example ```````````````````````````````` ### word_break ```````````````````````````````` example gitlab Fernstraßen<wbr>bau<wbr>privat<wbr>finanzierungs<wbr>gesetz . TODO: Write canonical HTML for this example ```````````````````````````````` ## Image Attributes See [Change the image dimensions](https://docs.gitlab.com/ee/user/markdown.html#change-the-image-dimensions) in the GitLab Flavored Markdown documentation. The `width` and `height` attributes for an image can be specified directly after the image markdown. General syntax conforms to the [commonmark-hs attribute syntax](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/attributes.md) where it makes sense. ```````````````````````````````` example gitlab ![](https://gitlab.com/logo.png){width="100" height="100"} . <p><img src="https://gitlab.com/logo.png" width="100" height="100"></p> ```````````````````````````````` `%` and `px` units may also be specified. ```````````````````````````````` example gitlab ![](https://gitlab.com/logo.png){width="100%"} . <p><img src="https://gitlab.com/logo.png" width="100%"></p> ```````````````````````````````` ```````````````````````````````` example gitlab ![](https://gitlab.com/logo.png){height="100px"} . <p><img src="https://gitlab.com/logo.png" height="100px"></p> ```````````````````````````````` Whitespace is tolerated around the delimiters: ```````````````````````````````` example gitlab ![](https://gitlab.com/logo.png){ width="100" height="100" } . <p><img src="https://gitlab.com/logo.png" width="100" height="100"></p> ```````````````````````````````` Attributes must immediately follow the image markdown. ```````````````````````````````` example gitlab ![](https://gitlab.com/logo.png) {width="100" height="100"} . <p><img src="https://gitlab.com/logo.png"> {width="100" height="100"}</p> ```````````````````````````````` ## Footnotes See [the footnotes section of the user-facing documentation for GitLab Flavored Markdown](https://docs.gitlab.com/ee/user/markdown.html#footnotes). ```````````````````````````````` example gitlab footnote reference tag [^fortytwo] [^fortytwo]: footnote text . <p> footnote reference tag <sup> <a href="#fn-fortytwo-42" id="fnref-fortytwo-42" data-footnote-ref> 1 </a> </sup> </p> <section data-footnotes> <ol> <li id="fn-fortytwo-42"> <p> footnote text <a href="#fnref-fortytwo-42" data-footnote-backref> </a> </p> </li> </ol> </section> ````````````````````````````````