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
Open the file and change the name to pine instead of Pine Script
Put it on a folder inside your vault and reference it in shiki settings, for instance /MyScripts/Shiki/Languages/
Follow the readme about how to add custom language.
Restart Obsidian
You’ll need an enhanced theme to highlight some keywords. You can find one in the same repo as above. Or in my VS Code theme here. If importing those files doesn’t work directly, install the needed themes in VS Code then run this command from palette: Generate color theme from current settings. A new file is open in VS Code with the theme. Search for comments and delete them then save the file as .json and NOT .jsonc. It worked for me.
I wonder if this language can be integrated in the plugin so every user can has it by default.
The text was updated successfully, but these errors were encountered:
Hi,
Thanks a lot for this plugin. Now I can add missing languages.
Here is how I added PineScript support:
pine
instead ofPine Script
/MyScripts/Shiki/Languages/
You’ll need an enhanced theme to highlight some keywords. You can find one in the same repo as above. Or in my VS Code theme here. If importing those files doesn’t work directly, install the needed themes in VS Code then run this command from palette:
Generate color theme from current settings
. A new file is open in VS Code with the theme. Search for comments and delete them then save the file as.json
and NOT.jsonc
. It worked for me.I wonder if this language can be integrated in the plugin so every user can has it by default.
The text was updated successfully, but these errors were encountered: