| 1234567891011121314151617181920 |
- /**
- * @import {Info, State} from 'mdast-util-to-markdown'
- * @import {Paragraph, Parents} from 'mdast'
- */
- /**
- * @param {Paragraph} node
- * @param {Parents | undefined} _
- * @param {State} state
- * @param {Info} info
- * @returns {string}
- */
- export function paragraph(node, _, state, info) {
- const exit = state.enter('paragraph')
- const subexit = state.enter('phrasing')
- const value = state.containerPhrasing(node, info)
- subexit()
- exit()
- return value
- }
|