Live data from Hacker News

Quarkdown: A modern Markdown-based typesetting system

github.com

81–90 of 285 posts

Re: Quarkdown: A modern Markdown-based typesetting system

#81

Markdown, Quardown, Typst, this and that. This looks to LaTeX. All of this became so confusing and un-standardized - I went back to HTML+CSS.

Same. Replacing elements in with DOM in webdev is surprisingly fun with websockets too.

Having to know and learn 300 clunky frameworks, 97 different syntaxes it gets old.

HTML. CSS. Javascript.

Ask the AI to give me a markdown to html converter, good2go

Re: Quarkdown: A modern Markdown-based typesetting system

#82
post #60

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.

Last I checked Typst can't emit HTML.

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

Re: Quarkdown: A modern Markdown-based typesetting system

#83

Markdown, Quardown, Typst, this and that. This looks to LaTeX. All of this became so confusing and un-standardized - I went back to HTML+CSS.

Well basic markdown is super useful to do stuff quickly.

Problem is when people started to build systems upon systems upon something that should not be used for more complicated cases.

Maybe not a problem because I don't care but I just see how loads of things that someone created to be "just that" someone takes without understanding and builds on top instead of understanding limitations and scope of the initial idea or system.

It is "oh it is missing a feature" - where it is "no it wasn't built to do that".

I have seen notepad in windows shipping some formatting features, I don't see that as an improvement. Notepad was notepad for purpose.

Re: Quarkdown: A modern Markdown-based typesetting system

#84
post #48
post #25

This, Typst, etc etc are primarily typesetting systems for papers . I would love alternatives to HTML or whatever, but I tried Typst too and it's very clear that the authors only really care about typesetting for papers and other long form prose. Stuff like forms, invoices, flyers, handouts, leaflets, business cards -- an afterthought, at best. Edit: Actually I was thinking of Sile not Typst, but I think the same app…

Is there any reason why you can't use Typst for any of the stuff you mentioned? I can't see why you couldn't (except for interactive forms, which is already being worked on [1]. The pdf-writer low-level backend seems to have already implemented support for form fields, so it seems like a matter of time until it is implemented in Typst). [1] https://github.com/typst/typst/issues/1765

You definitely can, I designed a 206x85cm standing banner for my last trade show as one of the first "production" things I built in Typst:

https://typst.app/project/r1YNDcKpoF1sVXHf5n4VKB

Plus you can share the rendered and preview form of the project with a single link, which is pretty neat.

Re: Quarkdown: A modern Markdown-based typesetting system

#85

Earlier quoted context omitted.

> I tried typst, but it felt messy to me. What exactly is messy about Typst?

The syntax feels complicated. Maybe I just don't have enough patience for learning a typesetting syntax (I never worked with Latex before). On top of that, there is no easy way to create a template. For example, I want an invoice template which I can reuse with different data. Theoretically, I can create a typ file for the template, and define the invoice as a function which I then call from a string with, say, json…

> On top of that, there is no easy way to create a template

Templates are just functions [0].

I think much of the frustration comes from typesetting being a harder problem than it seems at first. In general a typesetting system tries to abstract away how layout is recomputed depending on content.

Supporting contextual content -- cases where the content depend on other content, e.g. numbered lists, numbered figures, references, etc -- involves iterative rendering. This is evidentidly a complexity sinkhole and having a turing complete script language will bite you back when dealing with it. I recommend reding their documentation about it [1] where they explain how they propose solving this problem.

[0]: https://typst.app/docs/tutorial/making-a-template/

[1]: https://typst.app/docs/reference/context/#compiler-iteration...

Re: Quarkdown: A modern Markdown-based typesetting system

#86
post #52
post #48

Earlier quoted context omitted.

Is there any reason why you can't use Typst for any of the stuff you mentioned? I can't see why you couldn't (except for interactive forms, which is already being worked on [1]. The pdf-writer low-level backend seems to have already implemented support for form fields, so it seems like a matter of time until it is implemented in Typst). [1] https://github.com/typst/typst/issues/1765

I believe you can do those sorts of layouts in Typst (and Latex, and Sile!), but it's about how far out of the way you have to go and how much you fight the system in the process. I don't see any examples of Typst doing anything other than papers, I believe for good reason. To be clear, I mean from a design perspective. Like take a print copy of Wired... how hard would it be to replicate any of those pages? Without u…

I found it much easier to use Typst to create any of these documents than any other software I used before. Just loading data from a JSON and incrementally regenerating the document on each change is game-changing for me.

Re: Quarkdown: A modern Markdown-based typesetting system

#87
post #63

.function {greet} .greet {world} from:{iamgio} I strongly suggest that the greet call uses a slightly different syntax (e.g. two dots) as the system otherwise can't introduce new keywords without risking conflict with function names in existing documents.

A backward compatible design would be resolve to user-defined functions first, built-in keywords afterwards. That way any new keywords won't be a backward incompatible change.

if you have a UDF called .until and then this becomes a keyword, does the new 3rd party library you start using that uses the keyword .until still work, and what does the LLM vibe-coded start doing in the future when it makes use of the .until keyword?

Re: Quarkdown: A modern Markdown-based typesetting system

#88

Markdown, Quardown, Typst, this and that. This looks to LaTeX. All of this became so confusing and un-standardized - I went back to HTML+CSS.

Ah yes, writing my notes down in css and html. My favorite! Seriously though, every time some new hotness comes along, you don’t really have to use it or even waste your time looking at it. Markdown will likely be here after all of its derivatives are long gone.

Gruber and Schwarz knew that in simplicity is a beauty.

Basic markdown format is good enough.

For specific cases, it depends what is the outcome - html, pdf…

But hell are binary formats that are used for page layout - vendor lock for centuries. Backward compatibility? Forget about it.

From this point of view people should stick to text based formats. Markdown, LaTex, Typst… you name it. Just use it :)

Re: Quarkdown: A modern Markdown-based typesetting system

#89
post #63

.function {greet} .greet {world} from:{iamgio} I strongly suggest that the greet call uses a slightly different syntax (e.g. two dots) as the system otherwise can't introduce new keywords without risking conflict with function names in existing documents.

A backward compatible design would be resolve to user-defined functions first, built-in keywords afterwards. That way any new keywords won't be a backward incompatible change.

That's a pretty bad design. You don't want users to be able to create functions named as keywords because it will break other code.

Re: Quarkdown: A modern Markdown-based typesetting system

#90
post #80

Markdown, Quardown, Typst, this and that. This looks to LaTeX. All of this became so confusing and un-standardized - I went back to HTML+CSS.

There’s also the mature and reliable Org-mode, if you don’t mind Emacs as an editor.

Does org-mode have a spec? From what I've seen, org-mode is defined as whatever Emacs does. Without a spec I can't see how it's a viable format for widespread usage.
Post reply on HN