How to preview Pandoc figure and equation references in Obsidian
As of October 2026, use Pandoc Crossref Preview for simple note-local numbers in Obsidian Reading view, then check your exported document separately.
As of October 2026, Obsidian reads a size in an image embed as pixels only. A size of |300 after the file name is 300 pixels wide on every screen. A plugin can read percent, em, rem, vw and vh in the same place.
Relative Image Width has Pro, and $15 one time turns it on in all 129 plugins.
The forum request for relative image sizes opened on 20 April 2021. It asks for sizes such as |50% and |70em after the image name, and for Pandoc attributes. A pixel width that looks right on a laptop can be too wide on a phone.
Open Settings, then Community plugins, and turn off restricted mode.
Select Browse, search for Relative Image Width, then select Install and Enable. It needs Obsidian 1.13.4 or later.
Embed an image as usual, then add | and a size with a unit after the file name, such as photo.png|50%.
Read the note in Live Preview or Reading view. The image now takes half of the text column.
To read Pandoc blocks such as {width=50%} after a link, turn on Read Pandoc attributes in the plugin settings.
Relative Image Width reads percent, em, rem, vw and vh. A number without a unit stays pixels, and Obsidian sizes it as before. A percent height is a percent of the window height.
The size must be the last part of the link, with no space between the number and the unit. Write 50%, not 50 %. An image also cannot get wider than the text column.
Relative Image Width Pro adds a default size for images that have no size in the link. The note property image-width sets that default for one note. A size in the link wins over both.
You can now size images by percent.
You can now size images by percent.
This guide uses Relative Image Width. Pro adds "Default size for a note". One payment of $15 turns on Pro in 129 plugins.
This guide uses Relative Image Width. Pro adds "Default size for a note". One payment of $15 turns on Pro in 129 plugins.