This release changes how code blocks are treated: we now only extract literal strings and comments. Other parts of the code block is ignored. This vastly improves the experience when translating books with many code samples. We will add more controls (#76) for this in the future.
This is a breaking change: if you translate strings and comments in your code blocks, then you should run mdbook-i18n-normalize to migrate them automatically!
Version 0.3.0 (2023-11-09)
This release changes how code blocks are treated: we now only extract literal strings and comments. Other parts of the code block is ignored. This vastly improves the experience when translating books with many code samples. We will add more controls (#76) for this in the future.
111
109
100
93