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

Support sub-parsing by "start in Pod" mode #173

Open
leonerd opened this issue Aug 13, 2024 · 1 comment
Open

Support sub-parsing by "start in Pod" mode #173

leonerd opened this issue Aug 13, 2024 · 1 comment

Comments

@leonerd
Copy link

leonerd commented Aug 13, 2024

I'm attempting to parse the contents of a =for ... block for my own formatter, partly by using an inner Pod::Simple instance. By default a newly-created instance does not start in pod mode, it presumes code mode. So when I want to perform an inner sub-parse of the captured contents of the block, I have to prepend "=pod\n\n" on that text to make it work. It's a bit of a hacky workaround; it'd be nice if there was some constructor argument or method I could poke to knock it into Pod mode immediately.

@khwilliamson
Copy link
Contributor

patches welcome

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