LegNeato / mdbook-typst

An mdBook backend to output Typst markup, pdf, png, or svg
54 stars 4 forks source link

Generated typst doesn't compile #17

Open jscarrott opened 5 days ago

jscarrott commented 5 days ago

Just tried this project out and when I try to compile the typst I get: error: unknown variable: row ┌─ book/typst/book.typst:310:1 │ 310 │ #row[ │ ^^^

In generated tables? I'm not super familiar with typst but can't find any reference to #row.

LegNeato commented 4 days ago

Yeah, not sure where that came from...looks like tables are currently busted. It will take a bit more work as the column number is required for typst but markdown doesn't give us that by default.

(note to self, docs on table: https://typst.app/docs/guides/table-guide/ )