-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I've installed this plugin recently in an attempt to push project documentation into our repositories instead of having them sprawled around in our confluence instance and have recently run into a minor inconvenience.
We currently use Jenkins and author some internal jenkins libraries, these are documented in markdown, however the file extension is ".txt". Unfortunately, according to the jenkins documentation at https://jenkins.io/doc/book/pipeline/shared-libraries/#directory-structure, the extension cannot be changed if we want it to be loaded by the jenkins system’s configured markup formatter, which will provide a custom help menu for the particular step once registered through the jenkins pipeline editor.
As the files are .txt files, they are not rendered as markdown, and thus we get plain text when we try to view the documentation on git4c. From what I could tell, there isn't a place to define how the git4c macro will render a specific file extension.
Is it possible to request a feature for specifying custom file type associations? Either globally, or on a macro level, or even both?
You might even be able to bundle it in with the predefined filters and make whatever is picked up by the filter automatically associated a specific renderer.