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

Add Ryton Programming Language Support #4207

Closed
wants to merge 4 commits into from

Conversation

Rejzi-dich
Copy link

Add Ryton Programming Language Support

Changes

  • Added syntax highlighting for Ryton programming language
  • Added src/languages/ryton.js with language definition
  • Includes support for:
    • MetaTable syntax
    • Zig code blocks
    • Special operators (::, =>, |>, <=>, >>)
    • Built-in keywords and types
    • String interpolation
    • Comments and documentation blocks

Checklist

  • Added markup tests in test/markup/ryton/
  • Updated CHANGES.md with:

@@ -0,0 +1,5 @@
8c84550f (HEAD -> add-ryton-language, origin/add-ryton-language) Add Ryton tests and update CHANGES.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like an accidentally committed file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, I forgot to delete the temporary file before the commit. But I've already fixed it

@joshgoebel
Copy link
Member

Please read/review https://github.com/highlightjs/highlight.js/blob/main/extra/3RD_PARTY_QUICK_START.md

We don't merge new grammars into the core repo, but you're welcome to publish as a 3rd party grammar and we can add a link to SUPPORTED_LANGUAGES.

@joshgoebel joshgoebel closed this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants