Plugins for Prism.js -> Code Highlighting

Obsidian uses prism.js for code highlighting. For this there are addons I would like to load: Prism
Does anyone have any ideas on how I can best do this?
I have tried to load the additional functions via the addon CustomJS, without success.


1 Like

No one have an idea?

I found a solution but it is not the best:

  1. Install the Javascript Init Plugin
  2. Add this Code: setTimeout(function(){ … code from prism plugin … }, 2000);

Now I have clickable links and other stuff in my code blocks :heart_eyes:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.