A markdown extension that makes it easier to embed tweets.
Install with
pip install markdowntweetembed
You'll need a twitter developer account. And to set up an 'app'.
To use the markdown extension set the access credentials in .env
.
TW_API_KEY=D4k0taW8l4pLs7YHG8p7Grz31
TW_API_KEY_SECRET=hmBsX9litNewwgNYLVoBqEZzpHlxe0MvwBszmDQm7WsCSmOY4e
TW_ACCESS_TOKEN=19289938-scTLt8vDGK4wS6kvbUfWD9cST6H0hMnUsMFjW7xsL
TW_ACCESS_TOKEN_SECRET=saNn6oegFlzztDXuU98leTIY1i1b65wUBmsclIvBpnRnZ
And use it using the following syntax
{{:twitter https://twitter.com/ColmBritton/status/1583455055088271360}}