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
It'll be because the Typst content is too tall for the page size (which is set to the line height). I'll look into allowing the page height for inline math to be auto.
Unfortuntaly this doesn't look like it can be fixed until #5 as a known length is required to size the image correctly. For a block its the width of the page and for inline elements its the line height. So by removing the line height you can't really size its width, you also won't be able to align the baseline.
The best workaround I can think of is to just change the line height but you can't really do that on a line-by-line basis. One idea I have though is to create a typst html element whose body is some Typst source and gets rendered as such. It would allow the passing of a custom height to the element. (fyi you can write pure html in Obsidian files)
$|e^(i(arrow(k) dot arrow(r)))|^2_7$
incorrectly renders the superscript and subscript numbers like so:The text was updated successfully, but these errors were encountered: