You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which scope/s are relevant/related to the feature request?
create-analog
Information
Currently there is no way to get the file contents in your pages directory for .md files. This is particularly useful when you want to display a list of md files for a pages subdirectory on another page. I would think I could use injectContentFiles or injectContent to do this, but it only covers the content directory.
My suggestion would be to depreciate both of them, and rename then to injectMarkdownFiles and injectMarkdown respectively (or some other directory inclusive name), as that is what they are for.
Which scope/s are relevant/related to the feature request?
create-analog
Information
Currently there is no way to get the file contents in your pages directory for
.md
files. This is particularly useful when you want to display a list of md files for a pages subdirectory on another page. I would think I could useinjectContentFiles
orinjectContent
to do this, but it only covers thecontent
directory.My suggestion would be to depreciate both of them, and rename then to
injectMarkdownFiles
andinjectMarkdown
respectively (or some other directory inclusive name), as that is what they are for.Here is discord link for reference - https://discord.com/channels/994618831987290112/1226646912422383707
Describe any alternatives/workarounds you're currently using
I created a custom resolver, but I shouldn't have to do this manually.
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: