# remarkable-plugin-tweet-share

> ## Feature ✨

Latest version **1.0.0** (published 2021-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install remarkable-plugin-tweet-share
pnpm add remarkable-plugin-tweet-share
yarn add remarkable-plugin-tweet-share
bun add remarkable-plugin-tweet-share
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-02-22 |
| First published | 2021-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 295.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | shinyaigeek |
| Maintainers | shinyaigeek |
| Keywords | remarkable, remarkable-plugin, Twitter, tweet, markdown, plugin, parser, md |

## Links

- npm: https://www.npmjs.com/package/remarkable-plugin-tweet-share
- Repository: https://github.com/Shinyaigeek/remarkable-plugin-tweet-share
- Homepage: https://github.com/Shinyaigeek/remarkable-plugin-tweet-share#readme
- Issues: https://github.com/Shinyaigeek/remarkable-plugin-tweet-share/issues
- npm.io page: https://npm.io/package/remarkable-plugin-tweet-share

## Dependencies (1)

- [rollup-plugin-typescript2](https://npm.io/package/rollup-plugin-typescript2.md) ^0.30.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

- 1.0.0 (latest) — 2021-02-22
- 0.0.3 — 2021-02-22
- 0.0.2 — 2021-02-22
- 0.0.1 — 2021-02-22

## README

# Remarkable plugin tweet share

## Feature ✨

This is plugin for [remarkable](https://github.com/jonschlinkert/remarkable).
This plugin will allow you to share tweet in markdown with tiny code and without script to embed tweet, like

```markdown
!tweet[](tweet url)
```

For Example, 

```markdown
!tweet()[https://twitter.com/Shinyaigeek/status/1363426871950536705?s=20]
```

above markdown will be parsed into

```html
<a href="https://twitter.com/Shinyaigeek/status/1363426871950536705?s=20">
  <img src="https://tweet2image.vercel.app/1363426871950536705.jpg" alt="">
</a>
```

and rendered as

![](./1363426871950536705.jpg).

## Usage

`!tweet[img's alt](tweet url)`

```cli
yarn add remarkable-plugin-tweet-share remarkable -D
```

and 

```typescript
import { Remarkable } from "remarkable";
import { tweetMacroPlugin } from "remarkable-plugin-tweet-share";

const md = new Remarkable();

md.use(tweetMacroPlugin);

md.render(html);
```

## LICENSE

MIT

---
_Source: https://npm.io/package/remarkable-plugin-tweet-share · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
