tests/snippets/wikitext/only-highlight-first-redirect.txt
raw| 1 | ---input--- |
| 2 | #REDIRECT [[Test]] |
| 3 | |
| 4 | #REDIRECT [[Test]] |
| 5 | |
| 6 | ---tokens--- |
| 7 | '#REDIRECT' Keyword |
| 8 | ' ' Text.Whitespace |
| 9 | '[[' Punctuation |
| 10 | 'Test' Name.Tag |
| 11 | ']]' Punctuation |
| 12 | '\n' Text.Whitespace |
| 13 | |
| 14 | '\n' Text |
| 15 | |
| 16 | '#' Keyword |
| 17 | 'REDIRECT' Text |
| 18 | ' ' Text |
| 19 | '[[' Punctuation |
| 20 | 'Test' Name.Tag |
| 21 | ']]' Punctuation |
| 22 | '\n' Text |