{"_id":"serve-markdown","_rev":"27-4cb4ad29cde009881406a39b48f1f20b","name":"serve-markdown","description":"A connect middleware, parsed markdown files to html","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"serve-markdown","version":"0.1.0","description":"serve markdown files","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","utils-merge":"^1.0.0"},"_id":"serve-markdown@0.1.0","_shasum":"c4e37b098dd4d879c96f29648e82105e53ecfe6e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"c4e37b098dd4d879c96f29648e82105e53ecfe6e","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.1.0.tgz","integrity":"sha512-DbXF6ApECOeCcv3fuaDFu/9AIWo5hR8vo3RRESE8HwubeM7KQlhp43OBwXnuYd537xkbU6Vzq9VxeoXgPlHhBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGy5KZTqd1YCbMgwnRiLxA98jmzO9Yp77icZvVSxQLUZAiEA5YdXVWdEQT7ezQuTxMKxe0Kpe2GK5xajnFZfuTGqr9I="}]}},"0.1.1":{"name":"serve-markdown","version":"0.1.1","description":"serve markdown files","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","utils-merge":"^1.0.0"},"_id":"serve-markdown@0.1.1","_shasum":"59bbd0a63b60e501917e95d0bbd8366e4d6d7839","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"59bbd0a63b60e501917e95d0bbd8366e4d6d7839","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.1.1.tgz","integrity":"sha512-XGBmAdh9YfzByKBd4/mrkgLmVxKBLDZavi50N38fnQVgBczBOFFfS0i1/JIMX6iMCZSRlkY2SWONrzQU8YiBTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBO5CJethxCeWkSF6lwz8fHnGHJH/LlyEDUhgJKyhKgwIhANWRDvmDH0Nlnem5vvX9n89+oGWjInstD0uddhBUkXTl"}]}},"0.1.2":{"name":"serve-markdown","version":"0.1.2","description":"serve markdown files","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","utils-merge":"^1.0.0"},"_id":"serve-markdown@0.1.2","_shasum":"3eeb275a857ce887074a0240e9f98b348a4f4196","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"3eeb275a857ce887074a0240e9f98b348a4f4196","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.1.2.tgz","integrity":"sha512-4d03uXzArYJb+m94Mi4fxOl8N9LqALjuWx+bL0oO0KJ+OqtqsyIaIptX5Z050joD4qlw1TvO4aE1N2sqcUCfUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtY42GiCqh7NcDQjUUuySm/vDQZKHbW6fNT4VpyuU1NgIhAJ1CU8GCR9VD0iJU1IdYZVGUfUwi/MCI60UiG4XfQHTp"}]}},"0.1.3":{"name":"serve-markdown","version":"0.1.3","description":"serve markdown files","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","utils-merge":"^1.0.0"},"_id":"serve-markdown@0.1.3","_shasum":"01a3c7769860ab637b5f6bfe56d9d20ef1305706","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"01a3c7769860ab637b5f6bfe56d9d20ef1305706","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.1.3.tgz","integrity":"sha512-ECCMPiQa0jApS7Erzku2bqPINXwArt3OCXFeAQqBNByDNSLcCxw0MhCk2tD6ibyFLqcrdM06RTZCOW6owzioMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDu2HKVBm8AZtgKPnPNbLwwYPo3p0SHk/u2nb+BjbLM6AiAhG8HjsJU9/xM4NrAeJmZTwsbJ1I5/R1fOB9aZ3DzPow=="}]}},"0.1.4":{"name":"serve-markdown","version":"0.1.4","description":"serve markdown files","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","utils-merge":"^1.0.0"},"_id":"serve-markdown@0.1.4","_shasum":"d16a8de27bb5be7f90f39e5f019a5d9286ecfde7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"d16a8de27bb5be7f90f39e5f019a5d9286ecfde7","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.1.4.tgz","integrity":"sha512-svOu4i475eqNBaVcuMXIQdOB9+xB3RPeRmdTkTq52Urmeh6BQN1rxIlSaB/ZBTCr0SSIP6TDXbDFVQ2ndRlVjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICy9JmGQ7Ap/lcF4SlrQNCN2trNW+pV/bSuXULNwf4FUAiBiRY0QAYoxKk5wi021dz2o8oa356hM2RDShxCbX0ANUw=="}]}},"0.2.0":{"name":"serve-markdown","version":"0.2.0","description":"A connect middleware, parsed markdown files to html","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","util-merge":"0.0.2"},"_id":"serve-markdown@0.2.0","_shasum":"c8b129eb2da4930c45886b55ea3b177d5147f015","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"c8b129eb2da4930c45886b55ea3b177d5147f015","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.2.0.tgz","integrity":"sha512-CNaK9d4c9OXBR6iSXiVsNMXm9UHxgCmqK9374219VEXpztyH4MC2FVkX21VgmYj8eneOWreJwJrIZKOjIVUkUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1Zf9Z+1imE1cotTOH0FvMoJe1fxPcQa6x+c0TNQxn0AiATRXPjzCRysSuUJwHSP8wkd+Yari/DvAtn5rBDkZ/Vrg=="}]}},"0.2.1":{"name":"serve-markdown","version":"0.2.1","description":"A connect middleware, parsed markdown files to html","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","util-merge":"0.0.2"},"_id":"serve-markdown@0.2.1","_shasum":"6aecd4bb30da7636e8dbc1032fb9fbdcf79ce1ff","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"6aecd4bb30da7636e8dbc1032fb9fbdcf79ce1ff","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.2.1.tgz","integrity":"sha512-zMXSfAu7sIutszH8RNJmTGypONDitZmh3HdGaI9gA5jlVG1OjF9JYTseWHjPT5VZhUV9Yg0UmHEZa7mg5GPvDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/hiftyqwhua0cRZeL/RoxrwfD9hwBC7OPVEclFY0AkAIhAJR+uaqpFjMFSogLfeVqlYiHmgKZqKjI08kKZsWJnMwP"}]}},"0.2.2":{"name":"serve-markdown","version":"0.2.2","description":"A connect middleware, parsed markdown files to html","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","util-merge":"0.0.2"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks --require should test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should --check-leaks test/"},"devDependencies":{"istanbul":"^0.3.2","mocha":"^2.0.1","should":"^4.3.0","supertest":"^0.15.0"},"_id":"serve-markdown@0.2.2","_shasum":"46e3086d9df771f6b308536a0f16686c6703f704","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"46e3086d9df771f6b308536a0f16686c6703f704","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.2.2.tgz","integrity":"sha512-rPyWfTTrbaqSnSMMRcUl6IhvJPzihP8cNCrHfvlxggjXRqU7+L3LuGKIqCMwHzSWeRRZaF4iVnFYqx0cIFwUCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCR7wYDneCBFhyY7ENr5hRnWbb0aItZJ6mRK/1gzc/dIwIhANB9FRRCBmnVf+2vM8LUlMuYm86L63H04RUcZqdd5+Xc"}]}},"0.2.3":{"name":"serve-markdown","version":"0.2.3","description":"A connect middleware, parsed markdown files to html","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","util-merge":"0.0.2"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks --require should test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should --check-leaks test/"},"devDependencies":{"connect":"^3.3.3","istanbul":"^0.3.2","mocha":"^2.0.1","should":"^4.3.0","supertest":"^0.15.0"},"_id":"serve-markdown@0.2.3","_shasum":"b00c23165e0752901aa27ecfc4681f008d1431bf","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"b00c23165e0752901aa27ecfc4681f008d1431bf","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-0.2.3.tgz","integrity":"sha512-aPq2qJYMuH/3jM6WJTINL4/JUdo6hj/ocCQDomi00DhBe+qItF2MPvyjrHlDrUD6tvj3vecQbwuL/Ec5XL2Jtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqV92sUVff7X7G4VsSwYJpZNo6lgrCIKYTv60J0SAR7AIhAK1WF0UVK++Gp00bjssuEqmRaZUEhaHAV0wvd+2WsSKx"}]}},"1.0.0":{"name":"serve-markdown","version":"1.0.0","description":"A connect middleware, parsed markdown files to html","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","urldecode":"^1.0.0","util-merge":"0.0.2"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks --require should test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should --check-leaks test/"},"devDependencies":{"connect":"^3.3.3","istanbul":"^0.3.2","mocha":"^2.0.1","should":"^4.3.0","supertest":"^0.15.0"},"gitHead":"8abafcf2fbe97d251f569f929352abbb11a43683","_id":"serve-markdown@1.0.0","_shasum":"3227cacf1e76fff70c1105947614167e6c1a1301","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.11.14","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"3227cacf1e76fff70c1105947614167e6c1a1301","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-1.0.0.tgz","integrity":"sha512-rIg9dOjXq7NykI83tKpCWKeIEuT6qImkylw6S5TsMw9PR8sZjmJoYynO6AHr659Q5Ni3My3lpXjaA/R2/ovQPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRne4LtSmjrgYyOAcJE+z/+syNmNQlXXw/ttNpUUwdaAiEA3TLj5nAJv4rjjZFuH8gMe2SofMz2TkWOKGLuxNR3J+s="}]}},"1.0.1":{"name":"serve-markdown","version":"1.0.1","description":"A connect middleware, parsed markdown files to html","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"marked":"^0.3.2","urldecode":"^1.0.0","util-merge":"0.0.2"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks --require should test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should --check-leaks test/"},"devDependencies":{"connect":"^3.3.3","istanbul":"^0.3.2","mocha":"^2.0.1","should":"^4.3.0","supertest":"^0.15.0"},"gitHead":"e66c9e98dcf97dda138e6d2a25c985f3b2446fc3","_id":"serve-markdown@1.0.1","_shasum":"207fa8e2417d314ca887d1f49529ef733274b80a","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.11.14","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"207fa8e2417d314ca887d1f49529ef733274b80a","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-1.0.1.tgz","integrity":"sha512-p5o6L9tvVa8Ur/GCc8offx2dlLUJd7p8+c6tuYtbXI/cMzM//NPX0C25kUynHWBuqaoqp3kQzhvRQPdafos7bQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyDjiwaTmnG18O9dBK2JU6nrVUa9QiTGSFDvQk8iXkTAiEA5clGsgOW5QD4gweNYw3fQa+EFcTLqRHQn4iVQgXRYYI="}]}},"1.1.0":{"name":"serve-markdown","version":"1.1.0","description":"A connect middleware, parsed markdown files to html","main":"index.js","repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"keywords":["connect","markdown","middleware"],"author":{"name":"zhiyelee"},"license":"MIT","bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"homepage":"https://github.com/zhiyelee/serve-markdown","dependencies":{"debug":"^2.1.3","http-errors":"^1.3.1","marked":"^0.3.2","urldecode":"^1.0.0","util-merge":"0.0.2"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks --require should test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should --check-leaks test/"},"devDependencies":{"istanbul":"^0.3.2","mocha":"^2.0.1","should":"^4.3.0","supertest":"^0.15.0"},"gitHead":"98aa33c7350350d1587358e3a56d214bd1b5ccdd","_id":"serve-markdown@1.1.0","_shasum":"e83184a4ba762cfce45d7177580727b4aa4d70e9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"zhiyelee","email":"zhiyelee@gmail.com"},"maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"dist":{"shasum":"e83184a4ba762cfce45d7177580727b4aa4d70e9","tarball":"https://registry.npmjs.org/serve-markdown/-/serve-markdown-1.1.0.tgz","integrity":"sha512-QHktNzHu0VPQAdwnvaGOF7Qyn4TMCrYPpeLXa2gnw47ZnSB3xpu9ey8i4Cno4eyS6UuVIEayrZhJsCM8jbZf0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOgGW3iOjTICKtNHc0VMg5HbeTB8kaM5F112onGneWcAiEA9EmOTxkyJ4VcDTkZ7kWPiVMED0+aOQ+E2u/jWPV/JHk="}]}}},"readme":"serve-markdown\n==============\n\n[![Build Status](https://api.travis-ci.org/zhiyelee/serve-markdown.svg)](http://travis-ci.org/zhiyelee/serve-markdown)\n[![NPM Version](http://img.shields.io/npm/v/serve-markdown.svg?style=flat)](https://www.npmjs.org/package/serve-markdown)\n[![NPM Downloads](https://img.shields.io/npm/dm/serve-markdown.svg?style=flat)](https://www.npmjs.org/package/serve-markdown)\n\nA connect middleware, parses markdown files to html.\n\n## Install\n\n```sh\n$ npm i serve-markdown\n```\n\n## API\n\n```js\nvar serveMarkdown = require('serve-markdown')\n```\n\n### serveMarkdown(root, options)\n\nCreate a new middleware function to serve markdown files from within a given root\ndirectory. The file to serve will be determined by combining `req.url`\nwith the provided root directory. When a file is not found, instead of\nsending a 404 response, this module will instead call `next()` to move on\nto the next middleware, allowing for stacking and fall-backs.\n\n#### options\n\nAccept below properties in the options object.\n\n##### template\n\nOptional path to an HTML template. Defaults to a built-in template.\n\nThe following tokens are replaced in templates:\n\n* `{{title}}` the title of the page\n* `{{style}}` the specified styleSheet\n* `{{content}}` html contents compiled from the markdown file\n* `{{classes}}` the specified classes for the wrapper of the `{{content}}`\n\n##### title\n\n`{Function | String}` Optional, the return-value/value will be used for replacing the `title` token in the template.  Default to the name of the served file.\n\n* `{Function}` the return value of the function will be used for replacing the `{{title}}` token in the template. The function will be called with one argument: name - the name(`basename`, like `demo.md`) of the served file.\n* `{String}` Used as the replacement of the `{{title}}` token of the template\n\n##### style\n\nOptional\n\npath to a css stylesheet file Or a stylesheet string. Default to a built-in stylesheet.\n##### classes\n\nOptional\n\n`string` OR `array`, which will be used as the class of the wapper `div` of the `{{content}}` token.\nDefault to `sm-content`. The default stylesheet is also written based on this class.\n\n\n## Examples\n\n```javascript\nvar connect = require('connect');\nvar serveMarkdown = require('serve-markdown');\n\nvar app = connect();\n// serve markdown file\napp.use(serveMarkdown('/Users/lizhiye/weekly', {\n    title: function (title) {\n        // file: /Users/lizhiye/weekly/weekly-report.md\n        // title: weekly-report.md\n        return title + ' -zhiye'\n    },\n    classes: 'md mdcontent'\n}));\n\napp.listen(8765);\n```\n","maintainers":[{"name":"zhiyelee","email":"zhiyelee@gmail.com"}],"time":{"modified":"2022-06-26T17:58:59.076Z","created":"2014-10-20T11:28:21.519Z","0.1.0":"2014-10-20T11:28:21.519Z","0.1.1":"2014-10-20T11:39:19.645Z","0.1.2":"2014-10-20T11:40:40.264Z","0.1.3":"2014-10-20T12:33:38.860Z","0.1.4":"2014-10-27T10:17:20.011Z","0.2.0":"2014-11-15T03:00:43.586Z","0.2.1":"2014-11-19T16:01:01.556Z","0.2.2":"2014-12-02T09:35:19.825Z","0.2.3":"2014-12-02T09:42:42.805Z","1.0.0":"2015-02-05T03:58:29.784Z","1.0.1":"2015-02-06T12:36:09.749Z","1.1.0":"2015-03-25T21:11:51.819Z"},"homepage":"https://github.com/zhiyelee/serve-markdown","keywords":["connect","markdown","middleware"],"repository":{"type":"git","url":"git://github.com/zhiyelee/serve-markdown.git"},"author":{"name":"zhiyelee"},"bugs":{"url":"https://github.com/zhiyelee/serve-markdown/issues"},"license":"MIT","readmeFilename":"README.md","users":{"zhiyelee":true,"amnzero":true}}