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

We need to get back the "Copy to clipboard" button on Lean code snippets #35

Open
lovettchris opened this issue Oct 8, 2022 · 0 comments

Comments

@lovettchris
Copy link
Contributor

Description

Copy/paste the output of Alectryon on lean code snippets produces a big mess in your VS code text editor.

Detailed behaviour

Go to https://leanprover.github.io/lean4/doc/monads/functors.lean.html and select the first lean snippet for List.map and paste it into VS code and you will get this:

#eval
["1", "2", "3"]

List.map (λ
x =>
toString
x) [
1,
2,
3] -- ["1", "2", "3"]
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

No branches or pull requests

1 participant