{"id":44533184,"url":"https://github.com/pandoc-ext/pretty-urls","last_synced_at":"2026-02-13T18:41:30.830Z","repository":{"id":153645110,"uuid":"567423975","full_name":"pandoc-ext/pretty-urls","owner":"pandoc-ext","description":"Makes URLs prettier by removing the protocol prefix.","archived":false,"fork":false,"pushed_at":"2025-01-26T14:50:18.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T15:31:40.227Z","etag":null,"topics":["lua","pandoc","pandoc-filter","quarto","quarto-extension"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/pandoc-ext.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-11-17T19:02:37.000Z","updated_at":"2025-01-26T14:50:22.000Z","dependencies_parsed_at":"2023-05-29T00:45:35.877Z","dependency_job_id":null,"html_url":"https://github.com/pandoc-ext/pretty-urls","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"tarleb/lua-filter-template","purl":"pkg:github/pandoc-ext/pretty-urls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandoc-ext%2Fpretty-urls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandoc-ext%2Fpretty-urls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandoc-ext%2Fpretty-urls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandoc-ext%2Fpretty-urls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pandoc-ext","download_url":"https://codeload.github.com/pandoc-ext/pretty-urls/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandoc-ext%2Fpretty-urls/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["lua","pandoc","pandoc-filter","quarto","quarto-extension"],"created_at":"2026-02-13T18:41:29.966Z","updated_at":"2026-02-13T18:41:30.825Z","avatar_url":"https://github.com/pandoc-ext.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"pretty-urls\n==================================================================\n\n[![GitHub build status][CI badge]][CI workflow]\n\nThis filter \"prettifies\" bare URLs by removing the protocol\nprefix, i.e., it drops the `https://` from the link text while\nleaving the actual link unchanged.\n\nExample: the URL `\u003chttps://pandoc.org\u003e` is rewritten as if it was\ndefined as `[pandoc.org](https://pandoc.org)`.\n\n- **Before**: \u003chttps://pandoc.org\u003e\n- **After**: [pandoc.org](https://pandoc.org)\n\nURLs for which the description is different from the target are\nleft unchanged.\n\n[CI badge]: https://img.shields.io/github/actions/workflow/status/pandoc-ext/pretty-urls/ci.yaml?branch=main\u0026logo=github\n[CI workflow]: https://github.com/pandoc-ext/pretty-urls/actions/workflows/ci.yaml\n\n\nUsage\n------------------------------------------------------------------\n\nThe filter modifies the internal document representation; it can\nbe used with many publishing systems that are based on pandoc.\n\n### Plain pandoc\n\nPass the filter to pandoc via the `--lua-filter` (or `-L`) command\nline option.\n\n    pandoc --lua-filter pretty-urls.lua ...\n\n### Quarto\n\nUsers of Quarto can install this filter as an extension with\n\n    quarto install extension tarleb/pretty-urls\n\nand use it by adding `pretty-urls` to the `filters` entry\nin their YAML header.\n\n``` yaml\n---\nfilters:\n  - pretty-urls\n---\n```\n\n### R Markdown\n\nUse `pandoc_args` to invoke the filter. See the [R Markdown\nCookbook](https://bookdown.org/yihui/rmarkdown-cookbook/lua-filters.html)\nfor details.\n\n``` yaml\n---\noutput:\n  word_document:\n    pandoc_args: ['--lua-filter=pretty-urls.lua']\n---\n```\n\nLicense\n------------------------------------------------------------------\n\nThis pandoc Lua filter is published under the MIT license, see\nfile `LICENSE` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandoc-ext%2Fpretty-urls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandoc-ext%2Fpretty-urls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandoc-ext%2Fpretty-urls/lists"}