Skip to content

Generates nicely formatted HTML Code Snippets to be embedded on Websites or Emails.

Notifications You must be signed in to change notification settings

magloft/codesnip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codesnip

Generate nicely formatted HTML Code Snippets to be embedded on Websites or Emails.

When you're amongst developers, you often want to share relevant chunks of your code via channels that don't support built-in syntax highlighting.

This npm CLI utility allows you to quickly highlight a file to embed in Emails, Websites or similar media that supports HTML.

Install

$ npm install -g codesnip

Usage

codesnip path/to/source.js
codesnip path/to/source.java
codesnip path/to/source.php
codesnip path/to/source.cpp
codesnip path/to/source.m

Examples

HTML Snippet JavaScript Snippet

License

MIT © Tobias Strebitzer

About

Generates nicely formatted HTML Code Snippets to be embedded on Websites or Emails.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published