Add comment parser to highlight comment tags (#893)

Closes #236
This commit is contained in:
Santos Gallegos 2021-03-12 11:21:46 -05:00 committed by GitHub
parent 3b8c2ea492
commit e4083fc8e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 126 additions and 3 deletions

View file

@ -514,7 +514,7 @@ TODO: docs
`TSNumber`
*hl-TSNumber*
For all numbers
For all numbers
`TSOperator`
*hl-TSOperator*
@ -576,6 +576,11 @@ Tag delimiter like `<` `>` `/`
*hl-TSText*
For strings considered text in a markup language.
`TSStrong`
*hl-TSSTrong*
For text to be represented in bold.
`TSEmphasis`
*hl-TSEmphasis*
For text to be represented with emphasis.
@ -600,6 +605,18 @@ Literal text.
*hl-TSURI*
Any URI like a link or email.
`TSNote`
*hl-TSNote*
Text representation of an informational note.
`TSWarning`
*TSWarning*
Text representation of a warning note.
`TSDanger`
*TSDanger*
Text representation of a danger note.
`TSType`
*hl-TSType*
For types.