houfu / redlines

Show the differences between two strings/text as a compact text, in markdown/HTML, in the terminal and more.
https://houfu.github.io/redlines/
MIT License
110 stars 6 forks source link

Bug: `markdown_style=None` should be "none" #21

Closed houfu closed 1 year ago

houfu commented 1 year ago
          Yes,  this works for me on Google Colab. Why is `markdown_style` taking `"none"` (string) instead of `None`?

Originally posted by @bkowshik in https://github.com/houfu/redlines/issues/20#issuecomment-1700893185

"none" is a markdown_style and not a void value for markdown_style. Nevertheless, if None is passed to markdown_style, the style should be "none" and not the default value.