{# Export picker (issues #52, #65). Surfaces every built format with a plain- language label, the reviewed/enhanced/raw text variant, and a timestamp-free reading copy for the prose formats. Pure HTML: each option is a plain whose href carries the query, so the picker works with JavaScript off, with no selector widget to rewrite hrefs. The text variant applies to txt/md/srt/vtt/json; RTTM carries raw diarization labels only, so it takes no variant. `timestamps=false` is honored by txt and md only (subtitle timing is structural; JSON keys are a frozen contract). `download` gives the saved file a run-named stem instead of "export.txt". #} {% macro export_menu(run, text_variant=none) %} {% set stem = "voxint-" ~ run.id.hex[:8] %} {# `text_variant` (a TranscriptText) keeps the on-screen read link on whatever variant the page is showing, so opening it from a raw/enhanced view does not silently switch back to reviewed. Callers without a variant (the run page) omit it and get the reviewed default. #} {% set read_variant = "&text=" ~ text_variant.value if text_variant else "" %}
Download transcript: .txt / .md / .srt / .vtt / .json / .rttm

Reviewed is the text as you approved it in the console. Enhanced is the cleaned-up version before review. Raw is the exact words the transcriber produced.

Read on screen: a clean, shareable view in your browser, no download needed.

{% endmacro %}