Nova

Extensions


Readme

Editor menu command to convert selected plain text into simple HTML by entity-encoding illegal characters, removing extra whitespace, and wrapping each paragraph in <p> tags.

Provided "as is." Use at your own risk.

By Morgan Adams, Adams Immersive

Keyboard shortcut: Cmd Ctrl , (comma)

Notes

& and < characters (illegal in HTML content) are entity-encoded as &amp; and &lt;.

Tabs and non-breaking space characters become normal spaces.

Repeated consecutive spaces become single spaces.

Extra spaces are removed from the start and end of each paragraph.

Line breaks are normalized as "\n" (newline).

Paragraphs are wrapped in <p> tags and separated by blank lines.

Single blank lines are allowed, but all other extra blank lines are removed.

Leading/trailing whitespace is stripped.

Does not attempt to process markdown or styles. Does not generate the full tags (<!doctype>, , , etc.) to create a complete HTML document.


Changelog

Version 1.0

Initial release