Support for Syntax Mcfunction!
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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