progsource / maddy

C++ Markdown to HTML header-only parser library
MIT License
194 stars 39 forks source link

make Parser::Parse accept istreams instead of stringstream #30

Closed eklitzke closed 3 years ago

eklitzke commented 4 years ago

This allows you to pass e.g. a std::ifstream directly to Parser::Parse(). The existing tests all pass with this change.

progsource commented 3 years ago

Thank you for your contribution!