I am generating a diff file using Markdown in Dash:
return dcc.Markdown('''
` ` `diff
public class Hello1
{
public static void Main()
{
- System.Console.WriteLine("Hello, World!");
+ System.Console.WriteLine("Rock all night long!");
}
}
` ` `
''')
(added spaces in between the ` marks so formating doesn’t mess up)
Ideally the output should resemble something like
When in reality the result looks like this (no formatting):
Shouldn’t markdown be able to handle diff formating? If not, has anyone tried to display a diff of content with Dash?