Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Documentation on how to add a new Language #1472

Open
thekief opened this issue Jun 15, 2023 · 0 comments
Open

Improve Documentation on how to add a new Language #1472

thekief opened this issue Jun 15, 2023 · 0 comments

Comments

@thekief
Copy link

thekief commented Jun 15, 2023

Is your feature request related to a problem? Please describe.
n/a

Describe the solution you'd like
I am fully aware that you will not add any further languages, so I looked into adding it locally but I could not get it running. To be more specific, I tried to add LLVM IR highlighting and while highlight.js seems to support it, codemirror does not.

As I am not too familiar with the carbon project itself nor its dependencies, it would be nice to have a small guide or hints on how to add languages such as LLVM IR. I really tried to understand it but I always get stuck with either codemirror not finding the language, or the highlighting not working.

Describe alternatives you've considered
Many, but none of them being more useful in providing the highlighting.

Additional context
n/a

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

No branches or pull requests

1 participant