Closed KoiledLobster closed 3 weeks ago
Hi, @KoiledLobster , out of curiosity how would you pull in a LaTeX render into Silverbullet?
@zefhemel Is there any easy way to pull in a typst render into Silverbullet? As I write a lot of academic papers, it would be pretty much awesome to have the capabilities of Typst with the flexibility of Silverbullet.
@STSMHQ You are kind of hijacking the issue here lol, but he is probably using the KaTeX plug. A typst plug should definitely be possible, but that would not be something silverbullet directly supports.
@MrMugame Sorry for that. It was not my intention xD
Thank you for pointing me to the KaTeX plug. Regarding the typst support, do you see value in it? Do you consider building a plug that brings its functionality to Silverbullet in the future?
@STSMHQ Ok so I threw something together real quick, which was pretty easy thanks to a cool library called wypst, which is a drop-in replacement for KaTeX. It's far from finished and the way it works is a little weird (It more or less crosscompiles to latex and renders it with KaTeX), so don't expect to much, but the guy working on it said he'll put more time in starting today actually so, give the guy a star.
Hi, @MrMugame, first of all thank you very much for the silverbullet-typst plug, I'll give it a try.
but the guy working on it said he'll put more time in starting today actually so, give the guy a star.
Regarding this, I already gave it. However, I am curious to know the source of this information. Where did you hear/read it?
@STSMHQ It's in the readme
When displaying a number with an exponent, it would be nice to be able to superscript the exponent without needing to pull in a latex renderer.
Syntax could be along the lines of
^superscript text here^
for superscript, unsure how subscript is typically exposed in markdown extensions.