You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Syntax highlighting can be applied to codeblocks in Obsidian and Quartz by denoting a language after the first three backticks, e.g., ```lua
Syntax highlighting for MWScript (though not directly supported by the Construction Set or by CSSE yet) would improve readability of MWScript code content on the wiki.
Implementation
Obsidian and Quartz use two separate libraries for their syntax highlighting. Quartz uses Shiki whereas Obsidian uses Prism. Implementing MWScript syntax highlighting would require adding a custom language for at least Shiki so it renders on the wiki website, but ideally for Prism as well.
Examples of MWScript Syntax Highlighting for Other Platforms
About
Syntax highlighting can be applied to codeblocks in Obsidian and Quartz by denoting a language after the first three backticks, e.g., ```lua
Syntax highlighting for MWScript (though not directly supported by the Construction Set or by CSSE yet) would improve readability of MWScript code content on the wiki.
Implementation
Obsidian and Quartz use two separate libraries for their syntax highlighting. Quartz uses Shiki whereas Obsidian uses Prism. Implementing MWScript syntax highlighting would require adding a custom language for at least Shiki so it renders on the wiki website, but ideally for Prism as well.
Examples of MWScript Syntax Highlighting for Other Platforms
The text was updated successfully, but these errors were encountered: