The regular reST include directive has support for :start-after: and :end-before: options allowing specific to text to search for for setting the start/end points of the inclusion.
This is extremely useful since it allows including, say, only specific sections of a markdown file, without always having to chase the exact line numbers. Happy to make a PR since I see you're looking for help on this package.
That would be very useful indeed! Is there any news on this? @embray, @dmaljovec, @UncleGoogle
I think you've already proposed a solution in https://github.com/miyakogi/m2r/pull/42 @dmaljovec?
The regular reST
include
directive has support for:start-after:
and:end-before:
options allowing specific to text to search for for setting the start/end points of the inclusion.This is extremely useful since it allows including, say, only specific sections of a markdown file, without always having to chase the exact line numbers. Happy to make a PR since I see you're looking for help on this package.