vim-pandoc/vim-pandoc-syntax

intraword emphasis not working properly

BBBalls opened this issue · 0 comments

The '*' in an intraword emphasis do not properly conceal, and effects the proper functioning or display of other formatting syntax.

Pandoc Markdown intraword emphasis example:

This is and example text to demonstrate the current behavior of *intra*word emphasis.

**Strong emphasis text**

[Hightlighted text].{mark}

What is displayed:

This is and example text to demonstrate the current behavior of intra*word emphasis.

Strong emphasis text

[Hightlighted text].{mark}

The "intra" is being emphasized correctly, but the second "*" is not being concealed. All the subsequent text is being emphasized, and the highlighting ([]{.mark}) does not function.

The expected display behavior:

This is and example text to demonstrate the current behavior of intraword emphasis.

Strong emphasis text

<mark>[Hightlighted text]</mark>.{mark}

GitHub is not respecting the <mark> HTML tags.


The intraword strong emphasis seems to work as expected though:

This is and example text to demonstrate the current behavior of strong **intra**word emphasis.

*emphasis text*

[Hightlighted text].{mark}

Displays:

This is and example text to demonstrate the current behavior of strong intraword emphasis.

emphasis text

<mark>[Hightlighted text]</mark>.{mark}


NeoVim 9.1
lazy.nvim commit 2a9354c
POP!_OS 22.04


Installed NeoVim 0.6.1 from the POP!_OS 22.04 repo. The unexpected intraword emphasis display behavior is present in that version as well.