{% if mermaid_enabled %} {% endif %} {% if show_navigation %}
{% endif %}

{% if editor_mode %}
File changed externally -- reload to see changes
{% if file_type == "markdown" %}
{% endif %}
{% if has_history %}
Revisions
{% endif %} {% else %} {% if no_workspace|default(false) %}
Recent
    mdlive

    Open Workspace

    v{{ app_version }}
    {% else %}
    {{ content }}
    {% if has_history and not editor_mode %}
    Revisions
    {% endif %} {% endif %} {% endif %}
    {% if base_dir %}
    {{ base_dir }}
    {% if current_file %}
    {{ current_file }}
    {% endif %} {% endif %}
    {% if editor_mode %}
    EDIT
    {% endif %}
    v{{ app_version }}

    Browse

    Appearance

    Catppuccin Latte
    Warm light theme
    🥛
    Catppuccin Macchiato
    Medium contrast
    🐱
    Catppuccin Mocha
    Dark and cozy
    ☀️
    Light
    Classic bright
    🌙
    Dark
    Classic dark

    Content Width

    Keyboard Shortcuts

    / Show shortcuts
    e Edit file
    n New file
    d Delete file
    k Toggle sidebar
    s Focus search
    Cmd/Ctrl+F Find in page
    Ctrl+S Save
    h r Toggle revisions
    w Close tab
    Shift+W Cycle content width
    o Open workspace
    ? About / attribution
    Esc Close / cancel

    Bearded Giant, LLC

    github.com/bearded-giant/mdlive

    Originally based on mdserve by Jose Fernandez

    Built with

    MIT License

    {% if daemon_mode|default(false) %}

    Open Workspace

    Recent
    {% endif %}