{"version":"0.5.0","bin":{"voc":"./voc.njs"},"name":"voc","author":{"name":"SheetJS"},"description":"Generalized Literate Programming Framework","keywords":["literate","programming","voc","javascript"],"main":"voc.js","files":["LICENSE","README.md","marked.js","mkdirp.js","voc.js","voc.njs"],"dependencies":{},"devDependencies":{"coffee-script":""},"repository":{"type":"git","url":"git://github.com/SheetJS/voc.git"},"bugs":{"url":"https://github.com/SheetJS/voc/issues"},"preferGlobal":true,"gitHead":"0c624d2a9af0b68690498d0b5dca199ed2972985","homepage":"https://github.com/SheetJS/voc","_id":"voc@0.5.0","scripts":{},"_shasum":"be6ca7c76e4a57d930cc80f6b31fbd80ca86045c","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sheetjs","email":"dev@sheetjs.com"},"maintainers":[{"name":"sheetjs","email":"dev@sheetjs.com"}],"dist":{"shasum":"be6ca7c76e4a57d930cc80f6b31fbd80ca86045c","tarball":"http://registry-npm.ywwl.com/voc/download/voc-0.5.0.tgz","integrity":"sha512-hiFoqHZw0ceBEKXxpW4YD4lmngEEwLaFKCoxPX4Q9OGCm7LIKLZzox6B0VWYoBFjjLepj7DLh4PwkqlL5kpm5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc8r/0PMrwiR2mZqrwe14UDoRbhPYAwdrylq9vzFtoywIhAMcDBHDgk5XoKt5LIOnryxtWg9rg1z8PAg7gYE9RBxte"}],"size":10503,"noattachment":false,"key":"/voc/-/voc-0.5.0.tgz"},"directories":{},"readme":"# Very Ornate Code\n\nSo [Literate Coffeescript](http://coffeescript.org/#literate) is a cool idea,\nbut why isn't there a standard JS or compile-to-JS version?  JS Programmers want\nsome love too!  This is my effort to rectify this inequity.\n\n## How to use this\n\nTo use in-browser, include the marked source (and optionally the coffee-script \nsource if desired):\n\n```html\n<script src=\"https://raw.github.com/chjj/marked/master/lib/marked.js\"></script>\n<script src=\"http://coffeescript.org/extras/coffee-script.js\"></script>\n```\n\nIn tooling, `npm install -g voc` and run against your markdown file:\n\n```bash\n$ voc yourfile.md\n```\n\n## VOC style\n\nVOC searches for markdown code blocks.  Using GFM guards (triple backticks),\nhints after the opening backticks are used to direct content.\n\nFor example, \"\\`\\`\\`&gt;foo.bar\" will redirect content in the codeblock to \n`foo.bar`.  \n\n## Preprocessing\n\nIf a preprocessor is available, VOC can be told to use it!  This is needed for\ncertain magic cases like Makefiles (which require explicit tabs).\n\nVOC exposes two utility functions:\n\n`VOC.run(src)` will process the specified string source.\n\n`VOC.add(lang, cb)` will assign the handler for the language.  If `lang` is an\narray, the handler will be assigned for each language in the array.\n\nThe language handlers will be called with one argument: the actual source to be\nprocessed.  Consecutive blocks with the same language are concatenated.\n\nSee the enclosed [voc.md](voc.md) for more information.\n\n[![Dependencies Status](https://david-dm.org/sheetjs/voc/status.svg)](https://david-dm.org/sheetjs/voc)\n[![NPM Downloads](https://img.shields.io/npm/dt/voc.svg)](https://npmjs.org/package/voc)\n[![ghit.me](https://ghit.me/badge.svg?repo=sheetjs/js-xlsx)](https://ghit.me/repo/sheetjs/js-xlsx)\n[![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/voc?pixel)](https://github.com/SheetJS/voc)\n\n","publish_time":1404571338517,"_cnpm_publish_time":1404571338517,"dist-tags":{"latest":"1.2.0"}}