Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for start-after and end-before options #31

Open
embray opened this issue Jul 9, 2021 · 1 comment
Open

Adding support for start-after and end-before options #31

embray opened this issue Jul 9, 2021 · 1 comment

Comments

@embray
Copy link

embray commented Jul 9, 2021

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.

@MaGering
Copy link

MaGering commented Mar 6, 2023

That would be very useful indeed! Is there any news on this? @embray, @dmaljovec, @UncleGoogle
I think you've already proposed a solution in miyakogi#42 @dmaljovec?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants