X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/7558a6d8aa56f38908c613882db44a009d33ae37..3cc260c775f1fd69c4d23b5a8a153553384db1a2:/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 869d479c1..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]]. +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]]