sug
Sucks Markdown outta your source files.
Last updated 6 years ago by killdream .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sug 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.2.0                                ...           latest (6 years ago)

2 Versions

  • 0.2.0                                ...           6 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |