123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import {toMarkdown} from 'mdast-util-to-markdown'
- export default function remarkStringify(options) {
-
-
- const self = this
- self.compiler = compiler
-
- function compiler(tree) {
- return toMarkdown(tree, {
- ...self.data('settings'),
- ...options,
-
-
-
- extensions: self.data('toMarkdownExtensions') || []
- })
- }
- }
|