Typst interpreter for Lemmy

PropaGandalf@lemmy.world to Lemmy@lemmy.ml – 16 points –

Hey all,

I am very happy with Lemmy and what the platform has to offer. I also think that it has an important place in the fediverse as it serves a special content niche. For me, this niche is the uncomplicated transfer of information through text together with the quick exchange of information with other users. It is a perfect kind of mixture between a long blog without much commentary and the user-based microblogging platforms.

I think it would be exciting to see how Lemmy could make use of this text in different ways. Typst is a markdown-like LaTeX alternative. It offers real-time compilation, a simple syntax and the formatting strengths of LaTeX. Imagine how cool it would be to be able to format your posts the way you really want including maths formulas, coloured boxes, fancy tables and much more. And you could simply save these configurations as templates and import or even store them directly for later, so you would have a consistent style for each new post.

The whole thing is also open source and written in Rust, which would certainly favour an implementation in the rust-written Lemmy. What do you think?

Mockup:

4

So ... yes ... like YES!!.

This whole internet thing is just exchanging text and links. I hope the fediverse opens up the possibilities of what that can entail so that us users don't feel trapped in whatever box the big social corps have forced us into. Instead, it'd be nice if we can use whatever formats are available and that we like without having to worry about it not working on the other end, because we're all using FOSS that can just be available to anyone who wants/needs it.

How is Typst's performance?

It's really great. I tried it out an dits the prefect mixture of LaTeX with markdown and functions. The only issue I see is that it wasn't developed for dynamic screens. I mean having multiple columns may look great on a large screen but on a mobile device? Typst was just came to my mind first because it offers such a powerful way of writing text. But HTML + CSS or anything more advanced than markdown would be great.