JavaFX WebView and markdown rendering...
Davide Perini
perini.davide at dpsoftware.org
Fri Jan 5 17:45:34 UTC 2024
Hi all,
I have a simple javafx.scene.web.WebView
code is as simple as this:
WebViewwv =new WebView();
wv.getEngine().load(webUrl);
Alert alert = createAlert(title, header, alertType);
alert.getDialogPane().setContent(wv);
alert.showAndWait();
As you can see the webview loads a webUrl, that web url returns a markdown.
Mark down is correctly rendered, I can see correct headings, links are
interpreted correctly like links and are clickable, ecc.
The only things that seems to not work is the bold text.
Bold text **like this** or __like this__
is interpreted "like this", without the ** or __
but it's not bold, it is rendered like a normal text.
Any idea on how to fix it? :)
Thanks
Davide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-discuss/attachments/20240105/abb8d229/attachment-0001.htm>
More information about the openjfx-discuss
mailing list