Skip to content

Conversation

jacobmischka
Copy link

Basic text formatting sequences (_, *, __, **) are now required to not
be entirely within a word; that is, they must have a non-word character
on either side to be replaced.

This prevents words that include those characters (snake_case words, or
some proper nouns that may include an Embedded*Asterisk__Or**Two for
some reason) from being captured.

Fixes #21

Basic text formatting sequences (_, *, __, **) are now required to not
be entirely within a word; that is, they must have a non-word character
on either side to be replaced.

This prevents words that include those characters (snake_case words, or
some proper nouns that may include an Embedded*Asterisk__Or**Two for
some reason) from being captured.

Fixes developit#21
@yanndinendal
Copy link

yanndinendal commented Feb 6, 2023

Yes it's expected in most markdown formatters that one single underscore inside a word should not be interpreted as the start of an italic sentence with no end.

Could this PR be taken into consideration?

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

Successfully merging this pull request may close these issues.

Snake_case underscores create italics
2 participants