carbone
carbone copied to clipboard
[Feature Request]: Ability to insert rich text into template
Problem to solve It would be nice to be able to (or is it already possible somehow?) insert blocks of rich text into a template.
Proposed solution A function, maybe named "convRichText()", to render the passed-in chunk of rich text into the document.
Describe alternatives you've considered It might be possible to somehow achieve this outside of Carbone by injecting the rich text into the DOCX template before passing it to Carbone for rendering.
Additional context N/A
Hello @exzizt, the rich text is mainly HTML content?
Hello @exzizt, the rich text is mainly HTML content?
Yes, I think the rich text form input we plan on using returns the rich text as HTML markup. We will likely be using this library.
The Carbone Enterprise Edition already provides an HTML conversion for DOCX and ODT reports. We don't plan to open source it. We didn't update the website documentation yet but reach us if you are interested.
The Carbone Enterprise Edition already provides an HTML conversion for DOCX and ODT reports. We don't plan to open source it. We didn't update the website documentation yet but reach us if you are interested.
To clarify, we would like to render richtext from HTML inside of a DOCX template. Is this not possible? Or only possible if using the Enterprise edition?
We may end up rolling our own, similar to what we had to do to achieve dynamic image insertion/replacement.
It is only possible with the Carbone Enterprise Edition.
What if rich text means "markdown"? This means, the JSON have a text in Markdown, and Carbone renders it inside the ODT file. Thanks.
We're also interested. Where can we find some documentation on it? Can we test it before with the free account and/or on the carbone studio?
That is also interesting for me. It would be important to test it in advance. Are there any possibilities?