frostming / marko

A markdown parser with high extensibility.
https://marko-py.readthedocs.io/
MIT License
357 stars 38 forks source link

__str__, __repr__ for classes #177

Closed nschloe closed 11 months ago

nschloe commented 11 months ago

I'd like to inspect a Document. Is there a helper method to do that? Perhaps making all classes @documentclasses would help.

frostming commented 11 months ago

objprint works quite well for this purpose, while at the same time I am seeking for a lightweight package to enable this.