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

Implemented additional styling options for markdown output #12

Closed aaAldinaaa closed 1 year ago

aaAldinaaa commented 1 year ago

Added logic for more styling options:

houfu commented 1 year ago

Hi, could we have more tests, for example, what is the expected_md for red_green at https://github.com/houfu/redlines/blob/102b396e9e46eca4257c3fffdfd32fb917d1ab67/tests/test_redline.py#L87?

How does the element attribute help by the way? (How do you see this implemented)?

Thanks for trying to contribute!

inteli5 commented 1 year ago

Hi, @houfu what is a good email to reach you? I may ask you some small questions from time to time, but it is not as big as an issue. So email would be convenient. My email is zhoubo97@gmail.com, you can directly send me an email.

cauemello commented 1 year ago

Hello! Looking forward to this PR.

houfu commented 1 year ago

Think I'll merge this first and fix anything necessary in another commit.