def adoc_with_preview_command(event=None, verbose=True):
    """Run the adoc command, then show the result in the browser."""
    c = event and event.get('c')
    if not c:
        return None
    return c.markupCommands.adoc_command(event, preview=True, verbose=verbose)