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

Add support for parsing child blocks #326

Closed
robertpanzer opened this issue Jun 3, 2015 · 1 comment
Closed

Add support for parsing child blocks #326

robertpanzer opened this issue Jun 3, 2015 · 1 comment
Assignees
Milestone

Comments

@robertpanzer
Copy link
Member

From http://discuss.asciidoctor.org/AsciidoctorJ-Block-Processor-Problems-tp3150p3297.html

Second, we need to provide a way to parse child blocks. We talked about adding this feature to the createBlock method. I also think it's reasonable to add a method to AbstractBlock named either parseChildren() or parse(List<String>). In the first case, it would parse child blocks from the source lines passed to the block constructor. In the second case, it would parse blocks from an arbitrary set of lines and append them to the block as child nodes. I'm leaning more towards the second option.

robertpanzer added a commit to robertpanzer/asciidoctorj that referenced this issue Jun 14, 2015
… to append raw asciidoctor content to a block
robertpanzer added a commit to robertpanzer/asciidoctorj that referenced this issue Jul 29, 2015
… to append raw asciidoctor content to a block
robertpanzer added a commit to robertpanzer/asciidoctorj that referenced this issue Aug 1, 2015
… to append raw asciidoctor content to a block
@robertpanzer
Copy link
Member Author

Fixed with #337

@robertpanzer robertpanzer added this to the v1.6.0 milestone Aug 19, 2015
@robertpanzer robertpanzer self-assigned this Aug 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant