Named constants for the contentModel property on AbstractBlock.
contentModel
The content model controls what kind of content a block accepts and how it is converted.
import { ContentModel } from '@asciidoctor/core'const verbatimBlocks = doc.findBy({}, (b) => b.contentModel === ContentModel.VERBATIM || 'reject') Copy
import { ContentModel } from '@asciidoctor/core'const verbatimBlocks = doc.findBy({}, (b) => b.contentModel === ContentModel.VERBATIM || 'reject')
Named constants for the
contentModelproperty on AbstractBlock.The content model controls what kind of content a block accepts and how it is converted.
Example