Hulya Karakaya • 5 months ago
How to show code changes
Hi, I am using Docusaurus version 2 for writing the tutorial; the missing point is when I add code, I want to show which part of the code has changed, similar to Github. +++ or ---- symbols and highlighted with different colors like green or red, but I couldn't do it with markdown. How can I show the changed code from the previous code?
Log in or sign up for Devpost to join the conversation.
1 comment
Michelle Desrochers Manager • 5 months ago
Hi Hulya,
That is a great question. This might be up to your writing style, but you can also reference the below example tutorial which shows a way to do this.
https://github.com/wit-ai/android-voice-demo