mailbrush
mailbrush copied to clipboard
Node.js library for generating email friendly snippets with syntax highlighting
When writing emails by hand, it'd be nice to be able to copy a code block into a website, and get something I can copy/paste back out of it which...
Resolves #6 and gets tests passing again.
Hi there, thanks for a great work. Just wonder is it easy to add the line numbers option here?
Add support for highlighting more languages. - C - C# - SCSS, Sass, and less - Twig - Yaml - Markdown - Python - React JSX - Ruby - SQL
Getting an error when running mailbrush `node index.js` ``` TypeError: Cannot read property 'tokenizePlaceholders' of undefined at /Users/A/Work/temp/email/node_modules/prismjs/components/prism-php.js:127:40 at Object.run (/Users/A/Work/temp/email/node_modules/prismjs/prism.js:502:5) at Object.highlight (/Users/A/Work/temp/email/node_modules/prismjs/prism.js:335:11) at Object.exports.convert (/Users/A/Work/temp/email/node_modules/mailbrush/dist/mailbrush.js:26:25) at Object. (/Users/A/Work/temp/email/index.js:32:11)...