-
Notifications
You must be signed in to change notification settings - Fork 417
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
Custom directory listing #346
Comments
Or add support for some plugins, so it might be implemented with plugin |
@webpro please, take a look =) |
I understand your issue (there's only pre-rendered HTML for list of files itself). We could add a list of file paths and file names, so you can create a custom Mustache template. Would that work for you? |
I just went ahead and refactored the current template to do the same (what was I even thinking by pre-rendering HTML outside the template, lol). So now in v4.2.0 there's a |
actually, I was going to use frontmatter info from files (with title and description), so just filenames and paths is not enough for me Do you see it useful? |
Right.. yes I definitely see value in this. You (or someone else) up to work on a PR for this? |
I have it in the plan for the Christmas holidays =) |
Or not that far =) |
Thanks again, @vvscode, a present for reveal-md users well in advance before Christmas :) |
Is it also possible to reverse the order of the files listed? Having the files saved as |
@engeir not at the moment, but you can patch the package with |
@vvscode Thanks, never heard about that before. Worked perfectly! |
As soon as it's possible to use
front matter
for files, it's nice to have an option, how to createlisting
HTML.We can defined template (like default one ) but in fact it's not really customizable
Nice to have a chance to setup
getListing
module (file) to pass list of files inside and get HTML as a resultThe text was updated successfully, but these errors were encountered: