mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-11 17:10:36 +03:00
Update plugin for wrapping sections
This commit is contained in:
parent
b65e29595a
commit
a4925083d4
|
@ -4,8 +4,8 @@
|
|||
* Based on: https://github.com/luhmann/tufte-markdown
|
||||
*/
|
||||
|
||||
const visit = require('unist-util-visit')
|
||||
const slugify = require('@sindresorhus/slugify')
|
||||
import visit from 'unist-util-visit'
|
||||
import slugify from '@sindresorhus/slugify'
|
||||
|
||||
const defaultOptions = {
|
||||
element: 'section',
|
||||
|
@ -72,4 +72,4 @@ function remarkWrapSection(userOptions = {}) {
|
|||
return transformer
|
||||
}
|
||||
|
||||
module.exports = remarkWrapSection
|
||||
export default remarkWrapSection
|
||||
|
|
Loading…
Reference in New Issue
Block a user