<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div>
<div dir="ltr">
<div dir="ltr">What OS?</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Tom</div>
</div>
</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
Gesendet von <a href="https://aka.ms/o0ukef">Outlook für iOS</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> openjfx-discuss <openjfx-discuss-retn@openjdk.org> im Auftrag von Davide Perini <perini.davide@dpsoftware.org><br>
<b>Gesendet:</b> Friday, January 5, 2024 6:45:34 PM<br>
<b>An:</b> openjfx-discuss@openjdk.org <openjfx-discuss@openjdk.org><br>
<b>Betreff:</b> JavaFX WebView and markdown rendering...</font>
<div> </div>
</div>
<div>Hi all,<br>
I have a simple javafx.scene.web.WebView<br>
<br>
code is as simple as this:<br>
<br>
<div style="background-color:#1e1f22; color:#bcbec4">
<div style="background-color:#1e1f22; color:#bcbec4">
<div style="background-color:#1e1f22; color:#bcbec4">
<pre style="font-family:'JetBrains Mono',monospace; font-size:9,8pt">WebView <span style="color:#c77dbb">wv </span>= <span style="color:#cf8e6d">new </span>WebView();
<span style="color:#c77dbb">wv</span>.getEngine().load(webUrl);
</pre>
<div style="background-color:#1e1f22; color:#bcbec4">
<pre style="font-family:'JetBrains Mono',monospace; font-size:9,8pt">Alert alert = createAlert(title, header, alertType);
alert.getDialogPane().setContent(<span style="color:#c77dbb">wv</span>);
alert.showAndWait();
</pre>
</div>
</div>
</div>
</div>
<br>
As you can see the webview loads a webUrl, that web url returns a markdown.<br>
<br>
Mark down is correctly rendered, I can see correct headings, links are interpreted correctly like links and are clickable, ecc.<br>
The only things that seems to not work is the bold text.<br>
<br>
Bold text **like this** or __like this__<br>
is interpreted "like this", without the ** or __<br>
but it's not bold, it is rendered like a normal text.<br>
<br>
Any idea on how to fix it? :)<br>
<br>
Thanks<br>
Davide<br>
<br>
<br>
<br>
<br>
</div>
<br>
<hr>
<p>Tom Schindl - Geschäftsführer/CTO<br>
<b>BestSolution.at EDV Systemhaus GmbH</b><br>
Salurner Straße 15, 6020 Innsbruck, Austria<br>
Phone: ++43 (0)512 935834 - Web: https://www.BestSolution.at<br>
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck<br>
<img style="float: left; padding: 10px 0px;" src="http://static.bestsolution.at/images/email_sig.png" alt="BestSolution" width="140"><br>
</p>
</body>
</html>