Skip to content

Italics being applied outside content #103

@kokkonisd

Description

@kokkonisd

Hi, thank you for this work!

I've noticed an issue where text seems to be italicized outside of content, i.e. in "code" contexts:
image

Here, I wouldn't expect _current-slide to start an italics section, as we are in a code context (inside curly braces).

Basically, this shouldn't be producing italics:

{
    let _my_weird_variable = 42 // This shouldn't be italicized, because it's not visible markup
}

But this should:

[
    _hey!_ // This is not code, this is actual markup
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions