codesnip

1.0.2 • Public • Published

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

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i codesnip

    Weekly Downloads

    1

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • tstrebitzer