An open API service indexing awesome lists of open source software.

https://github.com/shinyaigeek/remarkable-plugin-tweet-share

This is plugin for remarkable to share tweet as a screenshot with tiny code
https://github.com/shinyaigeek/remarkable-plugin-tweet-share

markdown md remarkable remarkable-plugin

Last synced: about 1 year ago
JSON representation

This is plugin for remarkable to share tweet as a screenshot with tiny code

Awesome Lists containing this project

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



```

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