[go: up one dir, main page]

Skip to content

Integrate an HTML parser into Antora for enhanced UI helper functionality

Problem Incorporating external libraries like jsdom or node-html-parser into UI helpers involves cumbersome workarounds, such as adding dependencies to the playbook project or bundling the module within the UI and writing it back to disk via an Antora extension. These methods introduce unnecessary complexity and potential maintenance challenges.

Proposal Based on internal discussions and recommendations, node-html-parser has been identified as a preferable alternative due to its performance advantages and current use in the Antora Lunr pipeline.

We should integrate node-html-parser directly into Antora to provide built-in HTML parsing capabilities. This integration will enable UI helpers to manipulate HTML content efficiently without external dependencies.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information