Is there a way to leverage Confluence's Wiki Markup in AUI Dialogs?

Is there a way to parse Confluence’s wiki markup in AUI dialogs when creating Confluence pages?

Use case:

  • user tutorial has knowledge dependency, create a modal overlay which displays the (excerpted) instructions without the user leaving the dependent tutorial.

If you’re rendering a page inside the dialog, you can just get the content from the rest api (expand view) and then place it in the content of the page. See https://docs.atlassian.com/ConfluenceServer/rest/6.14.1/#api/content-getContent for more details.

If it’s content not in Confluence that you’re rendering - then I think you’ll need to expand the java api.

Thank you very much!