html-whitespace-sensitive-tag-names

List of whitespace sensitive HTML tag names

Usage no npm install needed!

<script type="module">
  import htmlWhitespaceSensitiveTagNames from 'https://cdn.skypack.dev/html-whitespace-sensitive-tag-names';
</script>

README

html-whitespace-sensitive-tag-names

Build Coverage Downloads Size Sponsors Backers Chat

List of whitespace sensitive HTML tag names.

Install

This package is ESM only: Node 12+ is needed to use it and it must be importeded instead of requiredd.

npm:

npm install html-whitespace-sensitive-tag-names

This package exports the following identifiers: whitespaceSensitiveTagNames. There is no default export.

Use

import {whitespaceSensitiveTagNames} from 'html-whitespace-sensitive-tag-names'

whitespaceSensitiveTagNames
//=> ['pre', 'script', 'style', 'textarea']

API

whitespaceSensitiveTagNames

List of whitespace sensitive HTML tag names (string[]).

Contribute

See contributing.md in rehypejs/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Titus Wormer