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 https://mvnrepository.com/artifact/com.atlassian.renderer/atlassian-renderer/9.0.2 this seems like your best bet.

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

Thanks for your response. I looked into atlassian-renderer, and it’s used by the data center apps, which do the configuration. However, after much trial and error, I think I’ve got it working now, at least good enough. The behavior is slightly different between Cloud and DC, but it’s a good, native Java solution. Thanks again.

Hi @aprechtl,
Could you please point me to any working sample or documentation for converting wiki to HTML using atlassian-renderer library? Any help is much appreciated.

Hello @aprechtl,
Can you please guide us on a working sample for converting wiki to HTML using this library?