-
By default, all .md files become .html files. How can I have other extensions converted? Say, I want to convert all .csv files to clean html pages (by given rules). I’ve searched through the docs. It looks like Dynamic Routes + loading data from files may work. Yet, I don’t know if this can work not only for a specific directory. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Dynamic routes docs worked perfectly. Apparently, path parameters may contain slashes. So I placed |
Beta Was this translation helpful? Give feedback.
Dynamic routes docs worked perfectly. Apparently, path parameters may contain slashes.
So I placed
[path].md
and[path].paths.js
in the project root. The js file recursively searches for project files with the given extension and returns their data.