Code injector Plugin: Inject JS, CSS classes in HTML elements

Writing custom CSS is painful sometimes, especially when you know JS better or just want to Inject class names or IDs in HTML elements ( hint: bootstrap framework ).

I wish there was a plugin with which:

  • I could create new html elements.
  • Inject JS and CSS classes, ID to existing elements.
  • Even delete elements?

This level of manipulation, will even help users to easily write plugins.
Who wants to learn typescript and do that hardcode programming like Obsidian developers, we are users not developers. Let that be easier for users.

Note: I am working on this post. I will update when I get time.

3 Likes

Not exactly what you wanted, but similar: