
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Serve Markdown files as HTML with live features - syntax highlighting, Mermaid diagrams, and MathJax formulas
Serve Markdown files as HTML with live features
A lightweight local server that renders Markdown files as beautiful HTML pages, with support for GitHub Flavored Markdown, syntax highlighting, Mermaid diagrams, and MathJax formulas.
$...$ and $$...$$)npm install -g md-lv
Or use npx:
npx md-lv
# Serve current directory
mdlv
# Serve specific directory
mdlv --dir /path/to/docs
# Serve on custom port
mdlv --port 8080
# Open README.md automatically
mdlv readme
| Option | Short | Default | Description |
|---|---|---|---|
--port | -p | 3000 | Server port |
--host | -H | localhost | Bind address |
--dir | -d | . | Document root |
--no-watch | false | Disable file watching | |
--quiet | -q | false | Suppress output |
--debug | false | Enable debug mode |
mdlv readmeFind and display the nearest README.md file:
cd /path/to/project
mdlv readme
This command searches up the directory tree to find README.md and opens it in your browser.
```mermaid
flowchart TD
A[Start] --> B{Decision}
B -->|Yes| C[OK]
B -->|No| D[Cancel]
```
Inline: $E = mc^2$
Block:
$$
\sum_{i=1}^n i = \frac{n(n+1)}{2}
$$
| Shortcut | Action |
|---|---|
Alt + ← | Go to parent directory |
Alt + Home | Go to root |
j / ↓ | Next item (in directory listing) |
k / ↑ | Previous item |
Enter | Open selected item |
/ | Focus search |
Escape | Close search results |
# Clone repository
git clone https://github.com/no-problem-dev/markdown-live-viewer.git
cd markdown-live-viewer
# Install dependencies
npm install
# Run tests
npm test
# Start development server
npm start
Contributions are welcome! Please read our Contributing Guide for details.
MIT License - see LICENSE for details.
FAQs
Serve Markdown files as HTML with live features - syntax highlighting, Mermaid diagrams, and MathJax formulas
The npm package md-lv receives a total of 1 weekly downloads. As such, md-lv popularity was classified as not popular.
We found that md-lv demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.