Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markup for comments conflicts with other uses of % like SBT and LaTeX code #350

Open
rbohrer opened this issue Jun 13, 2023 · 0 comments
Open
Assignees
Labels
defect Something isn't working as intended writing Related to book authoring.

Comments

@rbohrer
Copy link

rbohrer commented Jun 13, 2023

This issue is very similar to #346; I just wanted to open this for the sake of thoroughness. It is now quite low priority since you have fixed the escape characters and thus code typesetting works well now.

Repro: If I copy-paste the following line of code into the editor and refresh, the % get parsed as comments:
"com.lihaoyi" %% "fastparse" % "2.2.2" // SBT

The same applies to the use of % for LaTeX comments or as a modulus operator, which is probably much more common for the average author than SBT (the Scala build tool)

Workaround; just remember to mark it as code before refreshing and everything is very fine.

@amyjko amyjko self-assigned this Jun 17, 2023
@amyjko amyjko added defect Something isn't working as intended writing Related to book authoring. labels Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working as intended writing Related to book authoring.
Projects
Status: Next
Development

No branches or pull requests

2 participants