Skip to content

Option to use underscore bold and italic #39

@EvitanRelta

Description

@EvitanRelta

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>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions