Arod_component.Markdown_exportMarkdown export for content negotiation.
Produces markdown representations of pages for AI agents and tools. Uses Bushel's original markdown content with links resolved to absolute URLs via Bushel.Md.to_markdown.
module Entry = Bushel.Entrymodule Paper = Bushel.Papermodule Contact = Sortal_schema.Contactmodule Feed = Sortal_schema.Feedmodule FeedEntry = Sortal_feed.Entryval entry_url : ctx:Arod.Ctx.t -> Entry.entry -> stringval render_body : ctx:Arod.Ctx.t -> string -> stringval tags_line : ctx:Arod.Ctx.t -> Bushel.Entry.entry -> stringval social_links : Bushel.Types.social -> stringval resolve_slug :
ctx:Arod.Ctx.t ->
string ->
(string * string * string * (int * int * int)) optionval infobox_md :
ctx:Arod.Ctx.t ->
[< `Idea of Bushel.Idea.t
| `Note of Bushel.Note.t
| `Paper of Bushel.Paper.t
| `Project of Bushel.Project.t
| `Video of Bushel.Video.t ] ->
stringval entry_to_markdown : ctx:Arod.Ctx.t -> Entry.entry -> stringval list_header :
ctx:Arod.Ctx.t ->
title:string ->
description:string ->
path:string ->
string * stringval entry_bullet : ctx:Arod.Ctx.t -> Entry.entry -> stringval papers_list_md : ctx:Arod.Ctx.t -> stringval notes_list_md : ctx:Arod.Ctx.t -> stringval ideas_list_md : ctx:Arod.Ctx.t -> stringval projects_list_md : ctx:Arod.Ctx.t -> stringval videos_list_md : ctx:Arod.Ctx.t -> stringval links_list_md : ctx:Arod.Ctx.t -> stringval network_md : ctx:Arod.Ctx.t -> stringval index_md : ctx:Arod.Ctx.t -> stringval wiki_md : ctx:Arod.Ctx.t -> stringval news_md : ctx:Arod.Ctx.t -> string