PrismJS / PrismJS/prism

Support for Syntax Mcfunction!

Open
#3,995 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

language-definitions new language
Dominant language
JavaScript
Stars
13k
Forks
1.4k
Avg merge
15h 36m
Merged PRs (30d)
3

Description

Language
It would be incredibly useful and exciting to have a support for the Minecraft datapack language! This is a built-in-language in the game Minecraft, that allows you to edit aspects of the game. Since PrismJS is used with Obsidian (note taking app), there would be syntax highlighting, which makes writing notes very helpful.

Additional resources
.mcfunction
McFunction Syntax Highlighter for VS-Code: syntax-mcfunction

Some Example Code:

# This is a comment
say Hello, world!
give @p minecraft:diamond 1
execute as @a run summon minecraft:creeper ~ ~4 ~

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked VS Code syntax-mcfunction resource and the .mcfunction examples to identify the language constructs PrismJS should support. Add syntax highlighting for Minecraft datapack language and verify that the shown comments, commands, selectors, namespaced identifiers, and coordinates are recognized correctly.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.