| 1 | import { defaultSchema } from 'hast-util-sanitize' |
| 2 | |
| 3 | export const sanitize = { |
| 4 | ...defaultSchema, |
| 5 | attributes: { |
| 6 | ...defaultSchema.attributes, |
| 7 | '*': [...(defaultSchema.attributes?.['*'] ?? []), 'data*'], |
| 8 | }, |
| 9 | clobberPrefix: '', |
| 10 | tagNames: [...(defaultSchema.tagNames ?? []), 'marp-slides'], |
| 11 | } |
| 12 |