Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would be interesting to see a compare and contrast between this and Typst, which has gotten a lot of attention recently.

Kinda surprising that it isn't mentioned in their feature comparison matrix at all.



Looking at the "mock" document (https://github.com/iamgio/quarkdown/tree/main/mock) which is supposed to be a comprehensive and detailed guide for all visual elements, I don't see ways of getting anything other than basic markdown tables. How do you get merged cells? Cell formatting? Typst has some nice ways of implementing sophisticated grids and tables.

Also how do you implement things like different page numbering for front matter content and the main content? In general, the "simplicity" of markdown seems to be taking away a lot of granular control that people use LaTeX and Typst for.


Last I checked Typst can't emit HTML.


They do now, experimentally. The support is getting improved a lot currently.


It works really well, I've written three blog posts using typst.

Post: https://ezb.io/thoughts/interaction_nets/lambda_calculus/202...

Typst source: https://github.com/enricozb/enricozb.github.io/blob/master/t...


That Typst source looks really clean. I may go back to look into its HTML support.

Thanks for sharing!


Thanks! The main thing that I had difficulty with, which you can see from the typst source, is the rendering and spacing around inline math symbols. They are rendered as SVGs, which is fine but then copying them doesn't work. Their spacing is sometimes unpredictable so I'll add something like $thick x + y$ to pad on the left hand side. I'm not sure what parts of the math symbol contribute to the dimensions of the SVG and I'm sure it's rather complex, but other than that the experience has been solid.


Looks like typst has a "programming language" to do diagrams inline... that's a lot of effort to learn!


It's very much worth it, but absolutely not necessary. You can always generate images/figures beforehand and include them in Typst. There are also packages for various styles of diagrams, e.g. diagraph ships with a Graphviz renderer.

There is also CeTZ, which this article uses. It is highly inspired by TikZ and is just as powerful.


> There is also CeTZ, which this article uses. It is highly inspired by TikZ and is just as powerful.

It's definitely not "just as powerful", and will likely not be so for years. TikZ is an absolutely monumental work.


I've also heard that pandoc now supports typst, and will turn typst format files into html, independent of typst's own code. Have not confirmed.


That's really cool! Would love to create my website with that and also make it available as a pdf for easy archival.



It is mentioned now. Btw, it looks very similar to.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: