sirech / generate-gists-for-post

Generate gists from a blogpost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gists generator

CircleCI Depfu

This is intended to parse markdown documents and extract all the code blocks and post them as gists.

It is intended to be used to prepare a markdown document for publication in Medium.

Requirements

  • ruby (>= 2.6.3)

How to use it

thor gists:create name_of_the_post

An API Token with permissions to create gists is required, expected to be exported under the GIST_GITHUB_API_TOKEN environment variable.

About

Generate gists from a blogpost

License:MIT License


Languages

Language:Ruby 93.1%Language:Shell 6.9%