jgm/typst-hs

Parse error with nested equations

Closed this issue · 2 comments

jgm commented
$ #let g = $3$
#g $
(line 1, column 15):
unexpected "\n"
expecting digit, "\"", "\\", "&", "\8730", "none", "auto", "true", "false", "0b", "0x", "0o", ".", "(", "{", "[", "|", "#", "!=", ">=", "<=", "<-", "->", "=>", "<--", "-->", "<==", "==>", "...", "'" or "$"
jgm commented

This works fine:

$ #let g = 3

#g $
jgm commented