2021-11-08 13:36:57 +01:00
|
|
|
The [[plugins/mdwn]] plugin can use one of several markdown implementations depending on some settings and what's available in the (Perl) environment.
|
|
|
|
|
|
|
|
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
|
|
|
|
by setting a variable that could be echoed into content by another command. *— [[Jon]], 2021-11-08*.
|
2021-11-08 14:51:14 +01:00
|
|
|
|
|
|
|
Patch: <https://github.com/jmtd/ikiwiki/commit/79297a0879e4f05f421b560bbbc74c2278dddc61>
|
2021-11-08 19:54:36 +01:00
|
|
|
|
|
|
|
> +1 && LGTM, but i'm not sure that needs gettext since it's debugging? -- [[anarcat]]
|
|
|
|
|
2021-11-10 10:21:51 +01:00
|
|
|
>> Thank you. RE gettext, I think there's value in localizing even debug messages. But
|
|
|
|
>> I might have not approached it ideally, I did wonder whether instead of `gettext("mdwn: using Text::Markdown::markdown")`
|
|
|
|
>> I should have done something like `"mdwn: ".gettext("using ")."Text::Markdown::markdown"`.
|
|
|
|
>> I bow to the superior gettext knowledge of just about anyone. *— [[Jon]], 2021-11-10*
|
|
|
|
|
2021-11-08 14:51:14 +01:00
|
|
|
[[!tag patch]]
|
|
|
|
[[!template id=gitbranch branch=jon/mdwn-debug-log-chosen-impl author="[[Jon]]"]]
|
2021-11-10 10:21:51 +01:00
|
|
|
|