{"id":23263735,"url":"https://github.com/danielbayley/homebrew-pandoc-mandown","last_synced_at":"2026-04-24T16:31:49.364Z","repository":{"id":142182274,"uuid":"157112687","full_name":"danielbayley/homebrew-pandoc-mandown","owner":"danielbayley","description":"Pandoc template and filters for converting markdown to man pages.","archived":false,"fork":false,"pushed_at":"2019-01-22T04:25:30.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T06:28:11.530Z","etag":null,"topics":["gfm","lua","manpages","markdown","pandoc","pandoc-filter","template"],"latest_commit_sha":null,"homepage":"https://pandoc.org/lua-filters","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielbayley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"danielbayley","polar":"danielbayley","open_collective":"danielbayley","thanks_dev":"danielbayley","issuehunt":"danielbayley","custom":["https://paypal.me/danieljbayley","https://blockchain.com/btc/address/37rdZq4muDVNJh6jCr4XDXf8X2EFKjL3QQ","https://blockchain.com/eth/address/0x6248B4349e633969376dA20F9C8577530062BE64"]}},"created_at":"2018-11-11T19:19:53.000Z","updated_at":"2025-03-17T16:08:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"abd7704d-17ff-42a2-9bdb-dfdc1a41135e","html_url":"https://github.com/danielbayley/homebrew-pandoc-mandown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielbayley/homebrew-pandoc-mandown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fhomebrew-pandoc-mandown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fhomebrew-pandoc-mandown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fhomebrew-pandoc-mandown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fhomebrew-pandoc-mandown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielbayley","download_url":"https://codeload.github.com/danielbayley/homebrew-pandoc-mandown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fhomebrew-pandoc-mandown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32230894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gfm","lua","manpages","markdown","pandoc","pandoc-filter","template"],"created_at":"2024-12-19T14:20:06.662Z","updated_at":"2026-04-24T16:31:49.340Z","avatar_url":"https://github.com/danielbayley.png","language":"Lua","funding_links":["https://github.com/sponsors/danielbayley","https://polar.sh/danielbayley","https://opencollective.com/danielbayley","https://thanks.dev/danielbayley","https://issuehunt.io/r/danielbayley","https://paypal.me/danieljbayley","https://blockchain.com/btc/address/37rdZq4muDVNJh6jCr4XDXf8X2EFKjL3QQ","https://blockchain.com/eth/address/0x6248B4349e633969376dA20F9C8577530062BE64"],"categories":[],"sub_categories":[],"readme":"[man]down\n=========\n_[Pandoc]_ [template] and [filter]s for converting markdown to [`man` page][man]s.\n\n[Filter]s\n---------\nFilters can be specified individually with `--lua-filter filter`, but the default _[mandown]_ filter is recommended to apply all of the filters, in appropriate order:\n\n| Filter `.lua`            | Description                                                    |\n|:-------------------------|:---------------------------------------------------------------|\n| [mandown]                | Applies all filters in appropriate order.                      |\n| [metadata][metadata.lua] | Extract the below [metadata](#metadata) as Pandoc [variable]s. |\n| [code-bold]              | Render `inline` and [fenced] code blocks as **bold**.          |\n| [refs]                   | Add [man page][man] section `(n)` references to applicable `command`s, and ensure a `SEE ALSO` section listing them. |\n| [links]                  | Underline `http` links, and ensure a `SEE ALSO` section listing all reference links.                                 |\n| [headings]               | UPPERCASE, [replace], and set the correct `##` level for headings.                                                   |\n\n### [Metadata]\n[`--metadata`]/[`--variable`][variable]s can be passed directly on the command line, else are extracted from the markdown source as follows:\n\n| [Variable]            | Source                                                                    |\n|:----------------------|:--------------------------------------------------------------------------|\n| [`author`][variable]  | Extract [`GIT_AUTHOR`] details from the latest [GitHub Release] `commit`. |\n| [`date`][variable]    | Latest [GitHub Release] date.                                             |\n| [`title`][variable]   | The `command` first described in the `SYNOPSIS` section.                  |\n| [`section`][`header`] | Any `(n)` immediately following `command`, else `(1)`.                    |\n| [`header`]            | Taken from the main `h1` header, and stripped of any formatting.          |\n| [`footer`][`header`]  | [Semantic version] tag `v0.0.0` of the latest [GitHub Release].           |\n\nExample\n-------\n~~~ sh\npandoc --from gfm src.md --lua-filter mandown --to man --template mandown \u003e bin.1\n~~~\n\nInstall\n-------\neasily with _[Homebrew]_:\n~~~ sh\nbrew tap danielbayley/pandoc\nbrew install pandoc pandoc-mandown\n~~~\nthen, in your _[formula]_:\n~~~ rb\ndepends_on \"pandoc\" #=\u003e :build\ndepends_on \"danielbayley/pandoc/pandoc-mandown\" #=\u003e :build\n~~~\n\nLicense\n-------\n[MIT] © [Daniel Bayley]\n\n[MIT]:              LICENSE.md\n[Daniel Bayley]:    https://github.com/danielbayley\n\n[pandoc]:           https://pandoc.org\n[template]:         https://pandoc.org/MANUAL#templates\n[filter]:           https://pandoc.org/lua-filters\n\n[metadata]:         https://pandoc.org/MANUAL.html#metadata-blocks\n[`--metadata`]:     https://pandoc.org/MANUAL.html#templates\n[variable]:         https://pandoc.org/MANUAL.html#variables-set-by-pandoc\n[`header`]:         https://pandoc.org/MANUAL.html#variables-for-man-pages\n\n[mandown]:          filters/mandown.lua\n[metadata.lua]:     filters/metadata.lua\n[code-bold]:        filters/code-bold.lua\n[refs]:             filters/refs.lua\n[links]:            filters/links.lua\n[headings]:         filters/headings.lua\n[replace]:          libexec/aliases.lua\n\n[man]:              https://en.wikipedia.org/wiki/Man_page\n\n[`GIT_AUTHOR`]:     https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables#_committing\n[fenced]:           https://help.github.com/articles/creating-and-highlighting-code-blocks/#fenced-code-blocks\n[github release]:   https://help.github.com/articles/about-releases\n[semantic version]: https://semver.org\n\n[homebrew]:         https://brew.sh\n[formula]:          https://docs.brew.sh/Formula-Cookbook\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielbayley%2Fhomebrew-pandoc-mandown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielbayley%2Fhomebrew-pandoc-mandown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielbayley%2Fhomebrew-pandoc-mandown/lists"}