LeanInk icon indicating copy to clipboard operation
LeanInk copied to clipboard

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

Open lovettchris opened this issue 3 years ago • 0 comments

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"]

lovettchris avatar Oct 08 '22 05:10 lovettchris