{"name":"micromark-util-html-tag-name","version":"1.0.0-alpha.2","description":"micromark utility with list of html tag names","license":"MIT","keywords":["micromark","util","utility","html","tag","name"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"bugs":{"url":"https://github.com/micromark/micromark/issues"},"funding":[{"type":"GitHub Sponsors","url":"https://github.com/sponsors/unifiedjs"},{"type":"OpenCollective","url":"https://opencollective.com/unified"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","exports":"./index.js","scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"readme":"# micromark-util-html-tag-name\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][bundle-size-badge]][bundle-size]\n[![Sponsors][sponsors-badge]][opencollective]\n[![Backers][backers-badge]][opencollective]\n[![Chat][chat-badge]][chat]\n\nmicromark utility with list of html tag names.\n\n## Contents\n\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`htmlBlockNames`](#htmlblocknames)\n    *   [`htmlRawNames`](#htmlrawnames)\n*   [Security](#security)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install micromark-util-html-tag-name\n```\n\n## Use\n\n```js\nimport {htmlBlockNames, htmlRawNames} from 'micromark-util-html-tag-name'\n\nconsole.log(htmlBlockNames) // ['address', 'article', …]\nconsole.log(htmlRawNames) // ['pre', 'script', …]\n```\n\n## API\n\nThis module exports the following identifiers: `htmlBlockNames`,\n`htmlRawNames`.\nThere is no default export.\n\n### `htmlBlockNames`\n\nList of lowercase HTML tag names (`string[]`) which when parsing HTML (flow),\nresult in more relaxed rules (condition 6): because they are known blocks, the\nHTML-like syntax doesn’t have to be strictly parsed.\nFor tag names not in this list, a more strict algorithm (condition 7) is used\nto detect whether the HTML-like syntax is seen as HTML (flow) or not.\n\nThis is copied from: <https://spec.commonmark.org/0.29/#html-blocks>.\n\n### `htmlRawNames`\n\nList of lowercase HTML tag names (`string[]`) which when parsing HTML (flow),\nresult in HTML that can include lines w/o exiting, until a closing tag also in\nthis list is found (condition 1).\n\nThis is copied from:\n<https://spec.commonmark.org/0.29/#html-blocks>.\n\nNote that `textarea` is not available in `CommonMark@0.29` but has been merged\nto the primary branch and is slated to be released in the next release of\nCommonMark.\n\n## Security\n\nSee [`security.md`][securitymd] in [`micromark/.github`][health] for how to\nsubmit a security report.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`micromark/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organisation, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/micromark/micromark/workflows/main/badge.svg\n\n[build]: https://github.com/micromark/micromark/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark.svg\n\n[coverage]: https://codecov.io/github/micromark/micromark\n\n[downloads-badge]: https://img.shields.io/npm/dm/micromark-util-html-tag-name.svg\n\n[downloads]: https://www.npmjs.com/package/micromark-util-html-tag-name\n\n[bundle-size-badge]: https://img.shields.io/bundlephobia/minzip/micromark-util-html-tag-name.svg\n\n[bundle-size]: https://bundlephobia.com/result?p=micromark-util-html-tag-name\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[opencollective]: https://opencollective.com/unified\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/micromark/micromark/discussions\n\n[license]: https://github.com/micromark/micromark/blob/main/license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/micromark/.github\n\n[securitymd]: https://github.com/micromark/.github/blob/HEAD/security.md\n\n[contributing]: https://github.com/micromark/.github/blob/HEAD/contributing.md\n\n[support]: https://github.com/micromark/.github/blob/HEAD/support.md\n\n[coc]: https://github.com/micromark/.github/blob/HEAD/code-of-conduct.md\n","readmeFilename":"readme.md","homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-html-tag-name@1.0.0-alpha.2","_nodeVersion":"16.2.0","_npmVersion":"7.15.1","dist":{"integrity":"sha512-j5JnsAwNyiP+UzVDJUkxRIzN6E4OJz4EDyTDEe9JfcZafqdb1XJGqkVULoL/tO4Daz/gDKqLHtUPjD225RmBUA==","shasum":"7780bbb26d7308fa26ad7b372ce9862c230c8ddc","tarball":"http://registry-npm.ywwl.com/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.0.0-alpha.2.tgz","fileCount":4,"unpackedSize":7639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgviDECRA9TVsSAnZWagAABYEP+gNo+rmyFX8gDGy1evIv\nRaIBqFLCwV+X2DRtx+RNx7zXUkQnWaUyoyGDpOqPWuc/+dgvx7W8Qk5hmJtc\nYID1gPzRNWailon9fvWya6tu8wyvlnyQiSNH4ICudupRq2J1PbMa2fEnJyZN\nvoovyz1oIVx4yElMXCYpTJ4WF81sa4NVgbcDYj6gsxYTqmzUmeam7xd3DnBq\ncZAq3lnPpT5vqJ/mllHxeE2evkYxdhSfMkwIiiL2yLRVmLXHoeAaMZpYmUlV\nPSpuibJW/I7EIYvkCrNzdG1IGTTfj99QSP3PpSe5mvTOcHGhpMJA6mQKGLxX\nRjBWh9sWURF9a1a+2Xt8cmE0GQ9/G5WFSdM+yfFsuolPfveboExsBJX0Q7Cf\nxruUeV/P8p4bRmK7AsoQa/GBOhTHI6EkAF5TaCOIriMuBvjOn5Vn3xJQNu9b\nxRF2A74WaWambXITXzKCo6Y6k9FEUxWGUMG0MJazowQsw9/QvTvCAh+h14NT\n3SKq4mGdx7dcut0suIy5Jj221pp4rL+QoupadiZLtUPeCTO35KWmWb5pZEGK\ny2XYUOUitclM7/pwBwWY6tRH5+Bp4tHViMGqG54uKR6E7J4yhdgMJL04Yelj\nJVsfGNxMM5+4L8HQJ1Z2WsMEbr5oUOKehEqR6a02uPlUg7d18eAv9mq7+m5W\nsxbB\r\n=tg7p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCigu0wcoq6Mcs0u+EtLqWFUt9XcUqNtiDi/pC1TXiz3QIgDhoq8y4izvWDePPWCoewwz48RfllhRE7G8HEAzEmlQk="}],"size":2374,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.0.0-alpha.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-html-tag-name_1.0.0-alpha.2_1623072964176_0.34740814604669246"},"_hasShrinkwrap":false,"publish_time":1623072964327,"_cnpm_publish_time":1623072964327,"dist-tags":{"latest":"2.0.1","next":"1.0.0-beta.1"}}