X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/bd4047c6f823edf0c5f0f6febfaaf08e86c7aa45..b7db2ca37f400e09a663b01800e3bc5477a304df:/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files.mdwn diff --git a/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files.mdwn b/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files.mdwn index e17114ac9..71b4b88f0 100644 --- a/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files.mdwn +++ b/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files.mdwn @@ -1,3 +1,17 @@ -Wishlist: optionally use the [[plugins/contrib/syntax]] plugin automatically on source code files in the repository with recognized extensions or shebangs, and render them as though they consisted of an [[.mdwn|markdown]] page containing nothing but a single call to the syntax plugin with the file contents as the text argument and the recognized type as the type argument. +[[Wishlist]]: optionally use the [[plugins/contrib/syntax]] plugin +automatically on source code files in the repository with recognized +extensions or shebangs, and render them as though they consisted of an +[[.mdwn|ikiwiki/markdown]] page containing nothing but a single call to the syntax +plugin with the file contents as the text argument and the recognized type +as the type argument. -Together with the ability to have [[wiki-formatted_comments|wiki-formatted_comments_with_syntax_plugin]], this would allow the use of ikiwiki for [[wikipedia literate programming]]. \ No newline at end of file +Together with the ability to have +[[wiki-formatted_comments|wiki-formatted_comments_with_syntax_plugin]], +this would allow the use of ikiwiki for [[!wikipedia literate programming]]. + +* I have started something along these lines see [[plugins/contrib/sourcehighlight]]. For some reason I started with source-highlight [[DavidBremner]] + +* I wonder if this is similar to what you want: + +> The new [[plugins/highlight]] plugin is in ikiwiki core and supports +> source code files natively. [[done]] --[[Joey]]