Is it possible to generate a listing of all files in a specific folder? #3472
-
In a Quarto document, I'm trying to create a page containing a table of all files in a specific folder. I'm using the following frontmatter to generate the listing.
The folder The snippet above generates the page, but no entries in the table. Can anyone shed any light on what I might be doing wrong and how to fix this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The Take a look at my projects or publications listings: https://github.com/mcanouil/mickael.canouil.fr. |
Beta Was this translation helpful? Give feedback.
The
*
is not needed.Quarto doesn't detect what it can't render.
So you have to actually list the content that you want to appear in the listing for example using a pre-render script (https://quarto.org/docs/projects/scripts.html#pre-and-post-render) and follow https://quarto.org/docs/websites/website-listings-custom.html#metadata-listings.
Take a look at my projects or publications listings: https://github.com/mcanouil/mickael.canouil.fr.