Annotations
Underline

Underline

All the text formatted as underline will be rendered using <u /> tag, anywhere in the document.

The element receives text and key as parameter and should return node type value.

ℹ️

Node Type Value is anything that can be rendered: numbers, strings, elements or an array.

Pre-Defined Syntax

	annotations: {
		underline: (text, key) => (
			<u key={key}>
				{text}
			</u>
		),
	}