A simple message formatter for bold, strikethrough, underline, sub, sup, italic and code using delimiter-to-HTML conversion. Current stable version is 1.0.2, with no active development or recent releases. It provides a lightweight alternative to markdown parsers when only basic inline formatting is needed. The library allows customization of delimiters and HTML tags.
npm install msgdownNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Converts an annotated string with delimiters into corresponding HTML tags including bold, italic, underline, strikethrough, subscript, superscript, and code.
Use only single characters as delimiters.
Avoid nesting delimiters; process separately if needed.
Use custom tokens to avoid confusion if needed.
Use 'import msgdown from "msgdown";' or 'const msgdown = require("msgdown");'Use default import: 'import msgdown from "msgdown";'
No dependency data recorded yet.