(nodes: MdzNode[]): MdzNodeElement | MdzNodeComponent | null import {mdz_extract_single_tag} from '@fuzdev/mdz/mdz_helpers.js'; Extracts a single tag (component or element) if it's the only non-whitespace content.
nodes
MdzNode[]returns
MdzNodeElement | MdzNodeComponent | null the tag node if paragraph wrapping should be skipped (MDX convention),
or null if the content should be wrapped in a paragraph