Skip to content

Highlight React code #2542

Open
Open

Description

@t0uxe

Hi,

I'm wondering if it's possible to highlight the ReactJS code. I'm trying with jsx or react, but it doesn't work.

Is this feature possible?

Thank you.

King regards.

Activity

  1. pbek commented on May 27, 2022

    @pbek
    Owner

    You could add that functionality in https://github.com/pbek/QOwnNotes/blob/develop/src/helpers/codetohtmlconverter.cpp if you fancy implementing it. Mostly it's about assigning keywords to different styles.

  2. pa-0 commented on Aug 7, 2024

    @pa-0

    Is that a manual implementation in codetohtmlconverter.cpp or did you use a template / library? If you did that manually, bless you. It looks like a tedious endeavor to say the least 😮‍💨

  3. pbek commented on Aug 7, 2024

    @pbek
    Owner

    Manual. 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions