def createExportMenus(tag, keywords):
    """Create menu items in File -> Export menu.

    Menu's will not be created if the following appears in an @setting tree::

        @bool leo_to_html_no_menus = True

    This is so that the user can use @menu to decide which commands will
    appear in the menu and where.

    """
    c = keywords.get('c')
    if c.config.getBool('leo-to-html-no-menus'):
        return
    for item, cmd in (('Show Node as HTML', 'show-html-node'), (
        'Show Outline as HTML', 'show-html'), ('Save Node as HTML',
        'export-html-node'), ('Save Outline as HTML', 'export-html')):
        c.frame.menu.insert('Export...', 3, label=item, command=lambda c=c,
            cmd=cmd: c.k.simulateCommand(cmd))
