Skip to content

Conversation

@jkrumbiegel
Copy link
Collaborator

The escaping mechanism still had some bugs and it's generally not super straightforward to escape all necessary characters in typst markup so you don't get special behavior. For example, normally a . does not need to be escaped but 1. XYZ would start a numbered list.

I noticed that one can also just interpolate a string literal with #"...", this has the advantage that it's not treated like typst markup in the first place, so only " and \ needs to be escaped, so it seems like we can just use Julia's own string escaping which already does that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants