You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm calling docxtpl from another programm (as described here https://docxtpl.readthedocs.io/en/latest/#command-line-execution) and try to pass some variables that contain newlines but defining the variable in the word template is not sufficient to turn it into rich text.
Provide a test case
Example JSON:
{
"text": "This is a text\n\n with newlines!"
}
Example code in the docx:
Is there a possibility to create rich text without creating a rich text object in python and passing it as context?
The text was updated successfully, but these errors were encountered:
Describe your problem
I'm calling docxtpl from another programm (as described here https://docxtpl.readthedocs.io/en/latest/#command-line-execution) and try to pass some variables that contain newlines but defining the variable in the word template is not sufficient to turn it into rich text.
Provide a test case
Example JSON:
Example code in the docx:
Is there a possibility to create rich text without creating a rich text object in python and passing it as context?
The text was updated successfully, but these errors were encountered: