# another-instant-markdown-d

> Instantly-updating Markdown Server. Original author: Suan-Aik Yeo

Latest version **2.0.3** (published 2019-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install another-instant-markdown-d
pnpm add another-instant-markdown-d
yarn add another-instant-markdown-d
bun add another-instant-markdown-d
```

Provides the command `instant-markdown-d`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2019-04-09 |
| First published | 2019-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 11.3 KB |
| Known vulnerabilities | 0 (+4 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Yantze |
| Maintainers | yantze |
| Keywords | vim, markdown, server, instant |

## Links

- npm: https://www.npmjs.com/package/another-instant-markdown-d
- Repository: https://github.com/yantze/instant-markdown-d
- Homepage: https://github.com/yantze/instant-markdown-d#readme
- Issues: https://github.com/yantze/instant-markdown-d/issues
- npm.io page: https://npm.io/package/another-instant-markdown-d

## Dependencies (5)

- [send](https://npm.io/package/send.md) ^0.16.2
- [socket.io](https://npm.io/package/socket.io.md) ^2.2.0
- [markdown-it](https://npm.io/package/markdown-it.md) ^8.4.2
- [highlight.js](https://npm.io/package/highlight.js.md) ^9.14.2
- [github-markdown-css](https://npm.io/package/github-markdown-css.md) ^2.6.0

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 2.0.3 (latest) — 2019-04-09
- 2.0.2 — 2019-02-03

## README

!nstant-markdown-d
================

New Feature
-----------

* Updated the latest styles
* Updated the markdown-it parse `<>` problem
* Remove meta header
* Updated css in index.html
* Popup a simple chrome window to display markdown on macOS


Installation
------------

Install another-instant-markdown-d
```sh
npm install -g another-instant-markdown-d
```

Install instant-markdown-d vim plugin by Vim Plugin Manager
```
Plug 'suan/vim-instant-markdown'
```

Start to preview md file, run command in vim
```
:InstantMarkdownPreview
```

Or use a map:
```
map <leader>rp :InstantMarkdownPreview<CR>
```

Run with Command
----------------
```sh
# listen 8090 port
instant-markdown-d

# display content
cat README.md| curl -X PUT -T - http://localhost:8090
echo "## Hlo > abc" | curl -X PUT -T - http://localhost:8090

# close the web page
curl -X DELETE http://localhost:8090
```

Environment variables
---------------------

* `INSTANT_MARKDOWN_OPEN_TO_THE_WORLD=1` - by default, listening `0.0.0.0:8090`

* `INSTANT_MARKDOWN_ALLOW_UNSAFE_CONTENT=1` - by default, scripts are blocked.

* `INSTANT_MARKDOWN_BLOCK_EXTERNAL=1` - by default, external resources such as
  images, stylesheets, frames and plugins are *allowed*.

---
_Source: https://npm.io/package/another-instant-markdown-d · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
