X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/bb1da88b9d487b587d51207613dafe6aaf9f170d..62fc5d0c3cfdde0ae87c5364db6f6ebfa6794b14:/doc/todo/allow_wiki_syntax_in_commit_messages.mdwn?ds=inline diff --git a/doc/todo/allow_wiki_syntax_in_commit_messages.mdwn b/doc/todo/allow_wiki_syntax_in_commit_messages.mdwn index 073647dc1..97691bdc3 100644 --- a/doc/todo/allow_wiki_syntax_in_commit_messages.mdwn +++ b/doc/todo/allow_wiki_syntax_in_commit_messages.mdwn @@ -2,3 +2,20 @@ Commit messages should allow wiki syntax, and RecentChanges should format them accordingly. --[[JoshTriplett]] + +That's a neat idea! It would probably have to be only the simpler bits, +without preprocessor directives -- wouldn't want a commit message inlining +a whole page into RecentChanges. Of course, it could only use _one_ of the +available markups, ie the default markdown. --[[Joey]] + +To go along with this, the preview should show the formatted commit message. +--[[JoshTriplett]] + +This is really easy to do now, but it would have to be limited to applying +markdown formatting (or whatever formatter is default I suppose) to the +content, and *not* to expanding any WikiLinks or preprocessor directives. +Especially with the new static RecentChanges, expanding even wikilinks +would be pretty tricky to do. Applying markdown formatting seems like a +reasonable thing; it would make commit messages that have the form of a +bulletted list be marked up nicely, and would also handle _emphasised_ +words etc, and even http links. --[[Joey]]