package templates import "bookhoard/internal/handlers" // AnnotationsBanner is the book-detail slide-out listing every note and // highlight on the book (objective 7). Rows show a friendly human location // label (never a raw cfi:epubcfi(…) string), expand to the full rich markup // (markdown pipeline identical to the reader's), and offer a per-row jump // that opens the reader at the annotation's location via ?loc=. Web-only // export lives at the top: single .md file, or one file per item zipped. // Formatting is IDENTICAL in both modes: // location note: "# " header + note source as body // highlight: "# " header + note source as body // (no note → header only) templ AnnotationsBanner(book handlers.MediaDetail) {

Export annotations

Notes and highlights, as markdown files.

}