]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/todo/report_on_specific_markdown_implementation_used.mdwn
thank you; gettext
[git.ikiwiki.info.git] / doc / todo / report_on_specific_markdown_implementation_used.mdwn
1 The [[plugins/mdwn]] plugin can use one of several markdown implementations depending on some settings and what's available in the (Perl) environment.
3 It would be good to have a way to report exactly which version ended up being chosen for a given invocation. Either as a verbose log message, or
4 by setting a variable that could be echoed into content by another command. *— [[Jon]], 2021-11-08*.
6 Patch: <https://github.com/jmtd/ikiwiki/commit/79297a0879e4f05f421b560bbbc74c2278dddc61>
8 > +1 && LGTM, but i'm not sure that needs gettext since it's debugging? -- [[anarcat]]
10 >> Thank you. RE gettext, I think there's value in localizing even debug messages. But
11 >> I might have not approached it ideally, I did wonder whether instead of `gettext("mdwn: using Text::Markdown::markdown")`
12 >> I should have done something like `"mdwn: ".gettext("using ")."Text::Markdown::markdown"`.
13 >> I bow to the superior gettext knowledge of just about anyone. *— [[Jon]], 2021-11-10* 
15 [[!tag patch]]
16 [[!template id=gitbranch branch=jon/mdwn-debug-log-chosen-impl author="[[Jon]]"]]