Skip to content

d-edge/strip-markdown-html

Repository files navigation


strip-markdown-html logo


Strip-markdown-html is a GitHub action to strip HTML tags from a Markdown file.

Example usage

- name: Strip HTML from README
  uses: d-edge/[email protected]
  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