sug

0.2.0 • Public • Published

Sug!

Dependencies Status NPM version unstable

Sucks Markdown outta yo source code, regardless of language.

Basically, it'll transform:

// # Function identity(a)
// The identity function.
function identity(a){ return a }

Into:

# Function identity(a)
The identity function.

```js
function identity(a) { return a }
```

Installing

$ npm install -g sug

Basic usage

$ sug convert your-file.js
$ cat your-file.md

sug(1)

sug --- Sucks Markdown outta your source files.

sug languages               Display supported languages
sug convert <files...>      Converts files to Markdown
sug -h | --help             Displays help text
sug --version               Displays version number

Options:
  -o --output=DIR           The output directory
  -l --language=LANG        Forces using language for all files

Platform support

Sug will run sweetly on top of Node 0.10+, with the new Stream support.

Licence

Copyright (c) 2013 Quildreen Motta.

Released under the MIT licence.

Readme

Keywords

Package Sidebar

Install

npm i sug

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • killdream