Handling embedded syntax in source files
Introduction
An embedded syntax occurs when your source file contains a syntax from a different file format, nested/embedded inside the source file’s native syntax.
Embedded HTML syntax
By default, XTM Cloud is able to process embedded HTML syntax in most supported source file formats.
Embedded JSON syntax
Processing embedded JSON syntax does not have native support in XTM Cloud. However, the XTM Support team can prepare a workaround configuration that attempts to protect the embedded JSON syntax elements, while exposing translatable content, but the success of this workaround mainly depends on the source file itself, as well as the complexity of the overall embedded JSON syntax.
The same goes for embedded Markdown syntax.
The REGEX patterns are used by the XTM Support team to make use of, to handle basic embedded JSON syntax in other file formats effectively.