Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intraword emphasis not working properly #387

Open
BBBalls opened this issue Sep 17, 2023 · 0 comments
Open

intraword emphasis not working properly #387

BBBalls opened this issue Sep 17, 2023 · 0 comments

Comments

@BBBalls
Copy link

BBBalls commented Sep 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant