frostming / marko

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

Add parsing a file #192

Closed eric-nieuwland closed 4 months ago

eric-nieuwland commented 5 months ago

Convenience method for parsing text obtained from file.

frostming commented 4 months ago

Not accepting this, it's trivial to read from a file and feed it to parse()/convert()(yes, there are more methods that you don't cover)

eric-nieuwland commented 4 months ago

Very well. And yes, it is quite trivial, hence 'convenience method'. Quite trivial to add a file based version for convert(), too.