walk() method now accepts a walk_inlines=True argument. If set to False, panflute will only walk through the block elements and not through the deeper inline elements, so the filter runs much faster.
This change is also propagated to the run_filter() and run_filters()` functions.
Fixed typos in documentation and tweaked an error message.
walk()
method now accepts awalk_inlines=True
argument. If set to False, panflute will only walk through the block elements and not through the deeper inline elements, so the filter runs much faster.run_filter()
and run_filters()` functions.