@@ -18,6 +18,9 @@
"./dist/client": {
"import": "./dist/client/index.js"
},
+ "./dist/client/sanitize-option": {
+ "import": "./dist/client/services/sanitize-option.js"
+ },
"./dist/services": {
"import": "./dist/services/index.js"
@@ -1,4 +1,5 @@
-import { Marp, MarpOptions } from '@marp-team/marp-core';
+import type { MarpOptions } from '@marp-team/marp-core';
+import { Marp } from '@marp-team/marp-core';
import { Element } from '@marp-team/marpit';
export const MARP_CONTAINER_CLASS_NAME = 'marpit';
@@ -83,5 +83,5 @@ export const remarkPlugin: Plugin<[ExtractSectionsPluginParams]> = (options) =>
export const sanitizeOption: SanitizeOption = {
- // tagNames: ['slides', 'slide'],
+ tagNames: ['section'],
};
@@ -0,0 +1 @@
+export { sanitizeOption } from './renderer/extract-sections';