/atom-code2html

A atom package that helps copying code to html website or markdown.

Primary LanguageCoffeeScriptMIT LicenseMIT

code2html package

This is a tiny package.

After installation, select some text in your atom editor, then press 'f6' to toggle this package.

The selected text will be processed(compiling html literals) and wrapped with 'pre code' tag.

Now the html code snippet is in your clipboard.

Generally, this package is for copying code to a blog site or markdown.

Source code

The core code is in lib/code2html.coffee