Jack

Results 68 comments of Jack

This should be tracked in a separate issue but seems good to mention it here. What about adding support for the lyon crate(https://github.com/nical/lyon)? It has a great looking path module...

Would it make more sense to have a `canvas` element? Johannes has created a poc implementation in pure typst, theres a demo here: https://typst.app/project/wEVFkcvIVnJeQyFDlAhfHC. and a thread here: https://discord.com/channels/1054443721975922748/1097035369641410621

As the readme says (https://github.com/fenjalien/obsidian-latex-render#usage) the document class is set to `standalone` for you by prepending `\documentclass{standalone}` to the source. Maybe try ``` \begin{document} Hello, $x^2 + y^2 = r^2$...

Hi, yes this plugin hasn't been released as a community plugin and I probably won't as this was more of an experiment. As @thelastindian has said you can try install...

It'll probably be because I used a back slash instead of a forward slash for a folder here: https://github.com/fenjalien/obsidian-latex-render/blob/a6f05735e41e2ba97a81971d602899865d85c2fb/main.ts#L49 I don't have easy access to a linux system to test...

As this plugin is intended to only render code blocks and math blocks, it only makes sense to render the first page. Once a custom editor has been added multiple...

An implementation is planned but its waiting on HTML export from typst as that would remove a lot of the headache. I think @SekoiaTree started looking into the impl. then...

@aczw I think your problem is closer to #29 than this one. > when I export to PDF, my content is longer than 1 page, and so only the math...

That would be because cetz and quill don't use wasm plugins, but diagraph does. This is a pretty big issue but I don't have the time right now to debug...

Recently SVG export has been merged into Typst's master branch, the next release will include SVG export. I know its not HTML but its better than using a canvas.