wasi-master / rich-rst

A reStructuredText renderer for rich
https://rich-rst.readthedocs.io/en/latest/
MIT License
13 stars 3 forks source link

Add an __eq__ method to RestructuredText #13

Closed BrianPugh closed 4 months ago

BrianPugh commented 4 months ago

Adds an appropriate __eq__ method to RestructuredText class. The resulting objects are no longer hashable, but I don't think they should have been hashable in the first place.

Based on #11; the PR will be much smaller once it's merged :D

BrianPugh commented 4 months ago

hmmm, markdown actually doesn't have __eq__ defined either, so I'm fine with closing this as not merged.