Skip to content

shurik204/better-highlighting

Repository files navigation

Better Highlighting

Improved syntax highlighting for Minecraft commands with theme support using TextMate.

Fabric API Modrinth Curseforge

Features

  • Better syntax highlighting for Minecraft commands.
  • Custom theme and grammar support with resource packs.
  • Bracket pair colorization.
  • API for other mods to use.

Switching themes

To switch themes, type /betterhighlighting theme <theme> in the chat. Command should suggest available themes.

Included themes

Using the API

To use the API, add the following repositories to your build.gradle:

maven { url "https://maven.shurik.me/releases" } // Better Highlighting
maven { url "https://repo.eclipse.org/content/repositories/tm4e-snapshots/" } // TM4E artifacts

Then add this mod as a dependency:

modImplementation "me.shurik:better-highlighting:<version>"

Replace <version> with the version you want to use. You can view the list of versions here.

Credits

This mod uses TextMate grammar library TM4E and a slightly modified version of syntax-mcfunction grammar.

About

Basically TextMate in Minecraft

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages