How to render Jira Cloud wiki format to HTML in Java

Hello, following on from my earlier post, I have a more general question: How can we render Jira’s wiki format to HTML in Java? Is there an endpoint for that or a library I can use?

I’m aware of:

I’d really appreciate insight on this as I’m stuck at the moment.

I can’t find any public documentation, but this seems like your best bet.

There’s a public V2Renderer class that should do the trick.