https://github.com/maximilianschmitt/markdown-express-middleware
Express middleware to easily serve a markdown file with the GitHub-style CSS built in
https://github.com/maximilianschmitt/markdown-express-middleware
Last synced: 3 months ago
JSON representation
Express middleware to easily serve a markdown file with the GitHub-style CSS built in
- Host: GitHub
- URL: https://github.com/maximilianschmitt/markdown-express-middleware
- Owner: maximilianschmitt
- Created: 2019-07-16T21:28:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T22:40:03.000Z (over 2 years ago)
- Last Synced: 2025-03-12T16:43:10.575Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 755 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# markdown-express-middleware
Express middleware to easily serve a markdown file with the GitHub-style CSS built in.
## Usage
```js
const express = require("express");
const mdem = require("./src");const app = express();
app.use("/", mdem("README.md", { title: "markdown-express-middleware" }));
app.listen(3333);
```