{"id":29709646,"url":"https://github.com/benignware/livemd","last_synced_at":"2026-05-19T10:35:08.513Z","repository":{"id":34628603,"uuid":"38578537","full_name":"benignware/livemd","owner":"benignware","description":"Generate live-samples from markdown files","archived":false,"fork":false,"pushed_at":"2015-10-13T11:39:54.000Z","size":196,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-19T06:20:21.076Z","etag":null,"topics":["browser","documentation","markdown"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benignware.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":"2015-07-05T18:01:46.000Z","updated_at":"2024-04-09T15:36:44.000Z","dependencies_parsed_at":"2022-07-15T17:30:29.521Z","dependency_job_id":null,"html_url":"https://github.com/benignware/livemd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/benignware/livemd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Flivemd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Flivemd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Flivemd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Flivemd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benignware","download_url":"https://codeload.github.com/benignware/livemd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Flivemd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266738956,"owners_count":23976494,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["browser","documentation","markdown"],"created_at":"2025-07-23T20:06:47.385Z","updated_at":"2026-05-19T10:35:03.492Z","avatar_url":"https://github.com/benignware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# livemd\n\n\u003e Generate live-samples from markdown files\n\nWith livemd you can easily generate runtime browser samples from corresponding code-blocks contained in markdown-files.\n\nSupported languages:\n\n* HTML\n* CSS\n* Javascript\n* Coffeescript\n* SCSS\n* Less\n* Haml\n\n## Install\n\n```shell\nnpm install livemd --save-dev\n```\n\nTo use with preprocessor languages you need the appropriate modules to be installed.\n\n```shell\nnpm install coffee-script\nnpm install node-sass\nnpm install less\nnpm install hamljs\n```\n\n## Usage\n\n```js\nvar livemd = require('livemd');\nlivemd(src).done(function(result) {\n  // Do something with the result\n})\n```\n\n## Options\n\n#### options.paths\nType: `Array`\nDefault value: `[]`\n\nProvide an array of include paths to pass to scss and less modules. Path to source is included by default.\n\n#### options.prefilter\nType: `Function`\nDefault value: `null`\n\nFilter the input markdown by providing a function taking the original string as argument and returning the modified string.\n\n#### options.wrap\nType: `String`\nDefault value: `'\u003cdiv class=\"highlight-example\"\u003e\u003c/div\u003e'`\n\nSpecify a wrapper for the generated live-samples.\n\n\n## Demo Projects\n\nSee these demo sites created with [grunt-livemd](https://github.com/benignware/grunt-livemd)\n\n* [visualist](http://benignware.github.io/visualist/)\n* [jquery-findus](http://benignware.github.io/jquery-findus/)\n* [jquery-placepicker](http://benignware.github.io/jquery-placepicker/)\n* [jquery-vgrd](http://benignware.github.io/jquery-vgrd/)\n* [jquery-checkview](http://benignware.github.io/jquery-checkview/)\n* [jquery-countimator](http://benignware.github.io/jquery-countimator/)\n\n## Changelog\n\n* v0.0.6 - Remove debug output ;-)\n* v0.0.5 - Fixed fail on combined lexers\n* v0.0.3 - Wrap CSS\n* v0.0.2 - Added npm install info to README.md\n* v0.0.1 - Initial Release","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenignware%2Flivemd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenignware%2Flivemd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenignware%2Flivemd/lists"}