How does the formatter work without HTML?
LinkedIn strips markup from posts. The formatter swaps each selected ASCII letter for its Mathematical Alphanumeric Symbols counterpart using an explicit table, the same one the bold text generator uses. Lists are built from a bullet character and a space. Since the result is plain text, the editor keeps your caret and selection after each action, and undo steps back through formatting and typing.