{"repo":"dahlia/submark","free":true,"listed":false,"github":"https://github.com/dahlia/submark","clone":"git clone https://github.com/dahlia/submark.git","description":"Extract a part from CommonMark/Markdown docs","language":"Haskell","stars":12,"topics":["commonmark","markdown"],"license":"GPL-3.0","category":"deployment-docker-iac","readme_excerpt":"submark : Extract a part from CommonMark/Markdown docs ======================================================= [![GitHub Actions][gh-actions-badge]][gh-actions] [![Hackage][hackage-badge]][hackage] [![GitHub releases][gh-downloads-badge]][GitHub releases] [![Container images][gh-containers-badge]][gh-containers] submark is a CLI program (and GitHub action) to extract some particular section from a given CommonMark/Markdown document. I use it for myself to extract the latest version section from the CHANGELOG.md file, and then reuse the text for the corresponding release note on GitHub releases, during automated release process which is run on CI/CD. [gh-actions-badge]: https://github.com/dahlia/submark/actions/workflows/build.yaml/badge.svg [gh-actions]: https://github.com/dahlia/submark/actions/workflows/build.yaml [hackage-badge]: https://img.shields.io/hackage/v/submark.svg [hackage]: https://hackage.haskell.org/package/submark [gh-downloads-badge]: https://img.shields.io/github/downloads/dahlia/submark/total [gh-containers-badge]: https://img.shields.io/github/v/tag/dahlia/submark?color=blue&label=container&logo=docker&sort=semver [gh-containers]: https://github.com/dahlia/submark/pkgs/container/submark GitHub action: dahlia/submark ------------------------------- Although it's a standalone CLI program, you can use it through a handy GitHub action dahlia/submark : yaml - id: extract-changelog uses: dahlia/submark@0.3.1 with: input-file: CHANGELOG.md heading-level: 2 headi","default_branch":null,"files":null,"tree":[],"storefront":"/r/dahlia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dahlia/submark/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}