I’m round tripping some markdown that that has multi level bullets. The translations are stripping off some of the indentation so that the bullets are not recognized as bullets. You can see the effect here where left side is the translation:
The behavior you’re seeing with indentation in code blocks is expected due to how Markdown formatting works. Markdown does not always retain indentation precisely, especially within lists and nested structures. This is inherent to the format itself and not something controlled by our system. The file you received on the export should be 100% valid and ready to use.
However, it may be possible to adjust the formatting using a Custom Post-Export Processor in Crowdin. This could help ensure the required indentation is preserved upon export.
@Dima Respectfully, if I pass markdown through crowdin without any translation added, and the output indentation is different, this is a flaw in crowdin.
The indentation is not just different for code blocks, but in the bullets themselves. Markdown requires consistent indentation, so by stripping the space vitepress infers the new bullet just has an accidental preceding space.
I can of course try this post export processor (than you for this advice) but this is definitely a crowdin bug.
I understand that consistent indentation is crucial for Markdown, and the issues you’re experiencing are not ideal.
Please note that we rebuild the file according to our parsers on the export, so technically, the file you received may not be identical to the one you uploaded.
I’d be glad to double-check with our development team if we can change this particular Markdown logic.