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
It would be really cool if the extension would utilize a template file to generate the timeline with its entry, granted that this is doable for an extension to begin with and not just limited to themes and plugins for MkDocs...
The reason would be much easier customization.
Instead of having to fork this entire project, make the adjustments you want and then use your fork (Which could cause conflicts for projects that use the original project and not the fork and both use the same name) could you just enable theme extension and override the HTML file used by the extension in the right folder.
Again, this depends on if extensions can provide and use own template files AND also insert their own variables to use... Or there being an alternative for this.
Assuming extensions can do the above, is here a possible example file to use. In this example would timeline be the ::timeline:: object with options being the config options (class, alignment, headings, etc) and items being the different entries.
It would be really cool if the extension would utilize a template file to generate the timeline with its entry, granted that this is doable for an extension to begin with and not just limited to themes and plugins for MkDocs...
The reason would be much easier customization.
Instead of having to fork this entire project, make the adjustments you want and then use your fork (Which could cause conflicts for projects that use the original project and not the fork and both use the same name) could you just enable theme extension and override the HTML file used by the extension in the right folder.
Again, this depends on if extensions can provide and use own template files AND also insert their own variables to use... Or there being an alternative for this.
Assuming extensions can do the above, is here a possible example file to use. In this example would
timeline
be the::timeline::
object withoptions
being the config options (class, alignment, headings, etc) anditems
being the different entries.timeline.html
The text was updated successfully, but these errors were encountered: