Page 1 of 1

Markdown preview question

Posted: Tue Jun 13 2023 3:58 pm
by seasoned_geek
All,

The documentation makes no mention of this, but given there is also DoxyPress, does one of the QTextBrowser type classes have a Markdown preview that simply isn't documented. I see setHtml() and setPlainText() all over the place but no setMarkdown() and no enum/bit flag to indicate text is Markdown.

Does this Markdown preview capability exist? Documentation not much help here. Only Markdown comments I found in forum were from 2016.

Re: Markdown preview question

Posted: Sat Jun 17 2023 10:32 pm
by barbara
... QTextBrowser type classes have a Markdown preview
The QTextBrowser class does not support Markdown. As you mentioned, you can use plain text or rich text. Rich text supports the basic HTML tags. It is not documented in this class since Markdown is not supported.

DoxyPress is linked with several of the CopperSpice libraries. DoxyPressApp is linked with CsGui. Support for the Markdown syntax is implemented directly in DoxyPress.

Barbara