{"id":19337663,"url":"https://github.com/sheetjs/voc","last_synced_at":"2025-04-23T01:31:03.468Z","repository":{"id":57393615,"uuid":"8792158","full_name":"SheetJS/voc","owner":"SheetJS","description":":construction_worker: A Literate Programming Framework for JS and compile-to-JS languages.","archived":false,"fork":false,"pushed_at":"2020-01-17T04:37:23.000Z","size":41,"stargazers_count":21,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-19T08:33:07.945Z","etag":null,"topics":["javascript","language","literate-programming","preprocessor"],"latest_commit_sha":null,"homepage":"http://sheetjs.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SheetJS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-15T04:27:58.000Z","updated_at":"2025-04-16T07:00:40.000Z","dependencies_parsed_at":"2022-09-26T17:00:48.499Z","dependency_job_id":null,"html_url":"https://github.com/SheetJS/voc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SheetJS%2Fvoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SheetJS%2Fvoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SheetJS%2Fvoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SheetJS%2Fvoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SheetJS","download_url":"https://codeload.github.com/SheetJS/voc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250352220,"owners_count":21416458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","language","literate-programming","preprocessor"],"created_at":"2024-11-10T03:15:01.779Z","updated_at":"2025-04-23T01:31:03.448Z","avatar_url":"https://github.com/SheetJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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\u003cscript src=\"https://raw.github.com/chjj/marked/master/lib/marked.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"http://coffeescript.org/extras/coffee-script.js\"\u003e\u003c/script\u003e\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, \"\\`\\`\\`\u0026gt;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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheetjs%2Fvoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheetjs%2Fvoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheetjs%2Fvoc/lists"}