mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 09:14:32 +03:00
Rename wrapper type
This commit is contained in:
parent
fe600c30ca
commit
93a52e00da
|
@ -58,7 +58,7 @@ function remarkWrapSection(userOptions = {}) {
|
|||
const headingId = index === 0 ? 0 : headingsMap[index - 1].id
|
||||
const sectionId = headingId ? options.prefix + headingId : undefined
|
||||
const wrapperNode = {
|
||||
type: 'paragraph',
|
||||
type: 'section',
|
||||
children,
|
||||
data: { hName: options.element, hProperties: { id: sectionId } },
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user