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

How to create a list #916

Closed
glisicivan opened this issue Apr 25, 2020 · 3 comments · Fixed by #917
Closed

How to create a list #916

glisicivan opened this issue Apr 25, 2020 · 3 comments · Fixed by #917

Comments

@glisicivan
Copy link

glisicivan commented Apr 25, 2020

I am trying to create BlockMacroProcessor (using Java) that will return block that contains a list of items. However, I am not sure how to create a list. There is a createListItem method that takes List object as parameter, but there is not a method to create list itself.
Is it possible to create list from scratch?

Note: I can see that in Ruby it is possible to instantiate List object and then add list items to it.
Note #2: I apologize for creating an issue, but wasn't sure where to ask for help.

@robertpanzer
Copy link
Member

Good catch. This seems to be missing indeed.

@robertpanzer
Copy link
Member

I'll try to create a fix for this as soon as possible.

And please don't apologise for creating an issue, that's the best way to get my attention ;)

robertpanzer added a commit to robertpanzer/asciidoctorj that referenced this issue Apr 27, 2020
robertpanzer added a commit that referenced this issue May 2, 2020
Fixes #916. Add factory methods to create lists
@robertpanzer
Copy link
Member

Fixed with 2.3.0

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

Successfully merging a pull request may close this issue.

2 participants