aidenlx / obsidian-icon-shortcodes

Obsidian Plugin: Insert emoji and custom icons with shortcodes
MIT License
143 stars 11 forks source link

Icons render on new line #19

Closed swehba closed 2 years ago

swehba commented 2 years ago

It might be the theme I'm using, but when I insert an icon and then preview the note, the icon appears by itself on a new line. I am using the Obsidian Nord theme.

aidenlx commented 2 years ago

does it still occur in default theme? if it doesn't, you should probably go to theme repo to report issue.

And posting a screenshot with source text and preview result can be helpful to debug

swehba commented 2 years ago

Using Obsidian Nord theme:

Using the default Obsidian theme:

Bottom line:

  1. The icons render just fine in editing mode with or without Live Preview.
  2. The icons render with extra lines in Obsidian Nord but not in the default Obsidian theme.

Unfortunately, Obsidian Nord is the most popular third-party theme. I will definitely contact the theme developer.

swehba commented 2 years ago

After updating the Obsidian Nord theme, all is well!