I am trying to create documents inside a LotusNotes Database by using the COM API. So far everything is working, except for the rendering of the RichText.
The RichText is created by converting a MarkDown document to RichText using Pandoc. Afterwards, I create a new RichTextItem.
In PowerShell it looks like this:
# A LotusNotes document
$Document = $Database.CreateDocument()
# Add a Body field as type RichText
$RTI = $Document.CreateRichTextItem("Body")
# Append the RichText to the field
$RTI.AppendText("THE_CONVERTED_MARKDOWN_COMES_HERE")
$Document.Save($true, $true)
But when I view the document, I only see the raw unformatted RichText in the body field. How can I render the text?