We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey there, I'm currently trying to create output like so:
output.push({ h1: "Collection" }) categories.forEach(cat => { output.push({ h2: cat.name }) cat.files.forEach(file => { output.push({ ul: [ {link: { title: file.name, source: file.path }}]}) }) })
Now, that is obviously adding a ul around every link, how would I .push the opening of an ul separate from the ending so I can keep my loop?
The text was updated successfully, but these errors were encountered:
As far I remember, the lists are not interpreted deeply.
Sorry, something went wrong.
Sorry, actually they are.
I'm not sure what the problem is...
To explain my problem with that a bit more: It just adds a ton of new lines after every li this way.
Any workaround?
No branches or pull requests
Hey there, I'm currently trying to create output like so:
Now, that is obviously adding a ul around every link, how would I .push the opening of an ul separate from the ending so I can keep my loop?
The text was updated successfully, but these errors were encountered: