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 dynamically-sized lists in markup #270

Open
rkyleg opened this issue Dec 3, 2020 · 2 comments
Open

Support dynamically-sized lists in markup #270

rkyleg opened this issue Dec 3, 2020 · 2 comments

Comments

@rkyleg
Copy link

rkyleg commented Dec 3, 2020

For example a list of partners that need to be added
support a new format parameter that specifies the number of elements in the list e.g [[List of Partners: array[5] ]]
maybe use text on left side of colon as key and reuse key like other keys

@rkyleg
Copy link
Author

rkyleg commented Dec 3, 2020

could also use nested double brackets for the input 2d array so that the input is pushed back to the user

@adridadou
Copy link
Member

So what you're proposing is a way to "force" a number of elements in a list is that correct?
Because you have already the type Collection that let's you have a dynamic number of elements.

https://docs.openlaw.io/markup-language/#collection

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