Converting Plain Text To Encoded HTML With Vanilla JavaScript - Smashing MagazineCreating HTML from plain text can be done using tools, Markdown, or building a custom solution with HTML, CSS, and JS.