vim-pandoc-syntax
vim-pandoc-syntax copied to clipboard
[](){target="_blank"} triggers emphasis.
A link anchor with a target attribute as in [](){target="_blank"} triggers emphasis.
By consequence, the remainder of the document gets printed in italics without any colour.
According to the W3C, any of the following target values may cause this undesired effect. This includes frame names containing an underscore.
| Value | Description |
|---|---|
| _blank | Opens the linked document in a new window or tab |
| _self | Opens the linked document in the same frame as it was clicked (this is default) |
| _parent | Opens the linked document in the parent frame |
| _top | Opens the linked document in the full body of the window |
| framename | Opens the linked document in a named frame |
Any URL that has underscores at the beginning or end of "words" (i.e. next to a non-[a-z] character) also causes this behavior. Quite annoying. Workaround for now: insert something like <!--,_--> anywhere to close the italics.