Strip-markdown-html is a GitHub action to strip HTML tags from a Markdown file.
- name: Strip HTML from README
uses: d-edge/[email protected]
with:
input-path: README.md
output-path: out/README.md
-
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, useinput-path
, ie modify the file in place. -
encoding
(optional): The text encoding of the file. Default:utf8
.