markdown-extract icon indicating copy to clipboard operation
markdown-extract copied to clipboard

Extract sections of a markdown file. Useful for automatically extracting changelogs

Results 6 markdown-extract issues
Sort by recently updated
recently updated
newest added

This step in the sample workflow: ``` - name: Write output to file run: | printf '${{ steps.extract-changelog.outputs.markdown }}' > CHANGELOG-extracted.txt ``` will break if there is an apostrophe in...

Updates the sample GitHub Actions workflow to improve the "Write output to file" step. The previous version of this step breaks if the markdown content contains an apostrophe—see #25. The...

The github action passes the filename in as a second argument, but then fails with: ``` error: Found argument './pr_body' which wasn't expected, or isn't valid in this context USAGE:...

bug

[Markdown supports two kinds of header styles](https://daringfireball.net/projects/markdown/syntax#header) for H1 and H2, viz. 1. Setext ```markdown Foo === Bar --- ``` 2. atx ```markdown # Foo ## Bar ``` It appears...

enhancement

A nice additional quality of life feature when no file is provided

enhancement

Since the action uses docker (_why?_), it [cannot be used on anything except linux images](https://docs.github.com/en/actions/concepts/workflows-and-actions/custom-actions#types-of-actions). I needed a build for windows, so I've simply done [this](https://github.com/plutonium-239/markdown-extract/blob/master/.github/workflows/create_release.yml), and made a [release](https://github.com/plutonium-239/markdown-extract/releases/tag/v2.1.0)...