Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 19 days 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T22:40:03.000Z (about 2 years ago)
- Last Synced: 2024-12-14T22:37:14.601Z (23 days ago)
- Language: JavaScript
- Homepage:
- Size: 755 KB
- Stars: 1
- Watchers: 1
- 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);
```![](./example.png)