mailbrush icon indicating copy to clipboard operation
mailbrush copied to clipboard

Node.js library for generating email friendly snippets with syntax highlighting

Results 7 mailbrush issues
Sort by recently updated
recently updated
newest added

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...

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

enhancement

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)...

Add a method to synchronously generate snippets.

enhancement

Allow people to specify preconfigured themes as an option.

enhancement