X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7960031135e74f6d36abc4294dbadb687117222c..193f1df0af1453164869f9cfe492430369566fff:/doc/todo/conditional_text_based_on_ikiwiki_features.mdwn diff --git a/doc/todo/conditional_text_based_on_ikiwiki_features.mdwn b/doc/todo/conditional_text_based_on_ikiwiki_features.mdwn index e5e23531e..c6f1fefe1 100644 --- a/doc/todo/conditional_text_based_on_ikiwiki_features.mdwn +++ b/doc/todo/conditional_text_based_on_ikiwiki_features.mdwn @@ -106,3 +106,23 @@ This is now completely [[todo/done]]! See [[plugins/conditional]]. --[[Joey]] > You rock mightily. --[[JoshTriplett]] + +Is there a way to test features other than plugins? For example, +to add to [[ikiwiki/Markdown]] something like + + \[[if test="enabled(multimarkdown)" then="You can also use..."]] + +(I tried it like that just to see if it would work, but I wasn't that lucky.) +--ChapmanFlack + +> No, not supported. I really think that trying to conditionalise text on a +> page for multimarkdown is a path to madness or unreadability though. +> Perhaps it would be better to have .mmdwn files that can only contain +> multimarkdown? --[[Joey]] + +>> Really, there was only one (or maybe two) pages I had in mind as appropriate +>> places for conditional text based on multimarkdown—the underlay pages +>> for 'markdown' and maybe also 'formatting', because those are the pages you +>> look at when you're trying to find out how to mark stuff up for the wiki, so +>> if MM is enabled, they need to at least mention it and have a link to the +>> MM syntax guide.--ChapmanFlack