Skip to content

DOCS: Incorrect Highlight in https://svelte.dev/tutorial/svelte/component-events #1722

@emerson-proenca

Description

@emerson-proenca

Small issue in https://svelte.dev/tutorial/svelte/component-events
Image

The docs highlight parts of HTML that do not change, >-1</ and >+1</ these don't need Highlight. I might be wrong here, but I'm pretty sure just changing it to, would solve this issue.:

/// file: Stepper.svelte
<button +++onclick={decrement}+++ >-1</button>
<button +++onclick={increment}+++ >+1</button>

Created a PR at #1723

Happy new year!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions