Replies: 1 comment 4 replies
-
Hi @milmazz, I believe you can send a pull request to add this to Monaco. I believe you simply need to change this line: Can you please give it a try and send a pull request? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Livebook Team,
First, thanks for all your effort. So far, the experience with Livebook has been excellent.
I'm writing a series of Elixir tutorials or step-by-step documents. Sometimes I need to show updates over previous module implementations, and it could be difficult for the reader to note where is the specific difference or improvement. So apart from adding text clarifying those differences in the surrounding Markdown cells, I was thinking of adding a
diff
code block to show specific changes that I want to highlight.While you can use the
diff
code block inside a Markdown cell, the result is not highlighted. It would be great if Livebook highlighted those portions as you do with GitHub or using a dependency like highlightjs.org.It's easier to see the differences with a highlighted output like the following:
Beta Was this translation helpful? Give feedback.
All reactions