Skip to content

Commit

Permalink
Add improved docs
Browse files Browse the repository at this point in the history
Closes GH-10.

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
Reviewed-by: Merlijn Vos <merlijn@soverin.net>
Reviewed-by: Remco Haszing <remcohaszing@gmail.com>
  • Loading branch information
wooorm committed Dec 8, 2021
1 parent 10fef44 commit 72d9d60
Show file tree
Hide file tree
Showing 2 changed files with 424 additions and 36 deletions.
4 changes: 4 additions & 0 deletions index.js
@@ -1,6 +1,10 @@
/**
* @typedef {import('hast').Root} Root
*
* @typedef {import('hast-util-sanitize').Schema} Options
* The sanitation schema defines how and if nodes and properties should be cleaned.
* See `hast-util-sanitize`.
* The default schema is exported as `defaultSchema`.
*/

import {sanitize as hastUtilSanitize, defaultSchema} from 'hast-util-sanitize'
Expand Down

0 comments on commit 72d9d60

Please sign in to comment.