https://github.com/d-edge/strip-markdown-html
GitHub action to strip HTML tags from a Markdown file
https://github.com/d-edge/strip-markdown-html
hacktoberfest hacktoberfest-accepted markdown
Last synced: 10 months ago
JSON representation
GitHub action to strip HTML tags from a Markdown file
- Host: GitHub
- URL: https://github.com/d-edge/strip-markdown-html
- Owner: d-edge
- License: mit
- Created: 2021-12-03T10:24:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-04T09:30:08.000Z (about 3 years ago)
- Last Synced: 2025-10-09T06:18:02.304Z (10 months ago)
- Topics: hacktoberfest, hacktoberfest-accepted, markdown
- Language: JavaScript
- Homepage:
- Size: 527 KB
- Stars: 4
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Strip-markdown-html is a GitHub action to strip HTML tags from a Markdown file.
## Example usage
```yaml
- name: Strip HTML from README
uses: d-edge/strip-markdown-html@v0.3
with:
input-path: README.md
output-path: out/README.md
```
## Parameters
* `input-path` (mandatory): Path to the input Markdown file that contains some HTML.
* `output-path` (optional): Path to the output Markdown file stripped of HTML.
If unspecified, use `input-path`, ie modify the file in place.
* `encoding` (optional): The text encoding of the file. Default: `utf8`.
## License
[MIT](https://raw.githubusercontent.com/d-edge/strip-markdown-html/main/LICENSE)