Releases: JabRef/html-to-node
Releases · JabRef/html-to-node
Release list
html-to-node 0.1.0
First release of html-to-node — a JavaFX library that renders HTML as plain scene-graph nodes (TextFlow, Text, ImageView) with no dependency on javafx.web.
Available on Maven Central:
implementation("org.jabref:html-to-node:0.1.0")Added
- HTML-to-node rendering (
HtmlToNode.render): renders the HTML subset produced by JabRef's entry preview — user-defined layouts, CSL output from citeproc-java, Markdown from flexmark-java, and<mark>search highlights — as plain JavaFXTextFlow,Text, andImageViewnodes with no dependency onjavafx.weborjavafx.controls. HtmlView(aVBox) and the intermediate block/inline model (HtmlToNode.parse) for consumers that want to inspect or post-process the parsed structure before rendering.HtmlRenderOptionsfor configuring rendering, including a base URI for resolving relative image and link URLs (andwithoutBaseUri()to opt out).- Mouse text selection across rendered blocks in the plain-node renderer.
- RichTextArea-based renderer (
RichHtmlView,HtmlRichTextArea,RichTextRenderer) with inline images, link hovering (hand cursor), and content-height sizing. - The module is null-marked with JSpecify annotations.
See CHANGELOG.md for details.