Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Add syntax highlighting #25

Description

@ghostbuster91

Hi, thanks for this great project.

One thing that would be very useful for me is the syntax highlighting for the generated code (could be also for smithy, but the former one is more important).

I wonder if you have already thought about it. I am willing to work on it, but didn't want to double any potential work that might have already been put into that.

Let me know if you have any ideas how to implement it or maybe you know of some limitations that such feature should obey.

There seem to be quite a few libraries to chose from: https://blog.logrocket.com/exploring-best-syntax-highlighting-libraries/ with highligth.js being the most popular.

Also, given that left-hand-side is actually an editor maybe it would be a good idea to just replace the current input-form with something more capable like Monaco or codemirror. Wdyt?

Activity

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

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