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

Option to use underscore bold and italic #39

Open
EvitanRelta opened this issue Dec 27, 2022 · 0 comments
Open

Option to use underscore bold and italic #39

EvitanRelta opened this issue Dec 27, 2022 · 0 comments
Labels
feature New feature

Comments

@EvitanRelta
Copy link
Owner

Underscore bold and italic are in the form:

__bold__, _italic_

The reason both bold and italics are currently asterisks * only, is cuz of this edge case:

PREFIX__bold__, PREFIX_italic_

PREFIX**bold**, PREFIX*italic*

which renders as:

PREFIX__bold__, PREFIX_italic_

PREFIXbold, PREFIXitalic


The question is (or i guess "are"):

  • How do we detect if a bold/italic is prefixed (without spaces inbetween)?
  • What should HTMLarkdown do if its set to use underscore, and those edge cases happen?
    Should it:
    • Use asterisks?
    • or use HTML-syntax (ie. <b>, <i>)
@EvitanRelta EvitanRelta added the feature New feature label Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant