-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Feature request: Plugin hook for embedded files to handle new types #615
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
Comments
You meant something like PS we need an additional method which will basically run on These can be configured like this ...
process_files : [
{'csv-to-table' : csvToHTMLTable(source)} // should need to return html
]
... This is just an rough idea I am thinking. Lets discuss this. And I am adding this for |
cc @docsifyjs/core @trusktr |
This seems like it could get out of hand fast and increase the scope of this project significantly. As a test, what are some other expected or previously requested source types? |
I was thinking like if we can move the logic of rendering to these. Like to render the sidebar, we can hve a _sidebar.md and that will be rendered using this.. Just a rough idea |
That sounds reasonable enough to me 😄 |
Yeah, but we need PoC before to check that |
Any updates on this? I'd love to be able to store my tables as CSVs instead of ugly markdown tables. |
It would be great if plugins could add a hook to handle new embedded file types. Eg 'csv-to-table' could render a csv to a table.
The text was updated successfully, but these errors were encountered: