Opened this issue 2 months ago · 1 comments
djot.lua/djot-writer.lua
Line 17 in a0583ef
It is probably more efficient to use "\\%0" as the replacement rather than a function. In a replacement string %0 gets replaced with the whole match, %1 with the first capture group and so on up to %9.
"\\%0"
%0
%1
%9
True. Feel free to submit a PR.