macdown-gistit icon indicating copy to clipboard operation
macdown-gistit copied to clipboard

Create gist for each code block

Open anicolaspp opened this issue 9 years ago • 3 comments

I will modify the plugin so it creates a gist for each code block in markdown. I also want to anotate the language of the gist so I can do something like this:

def someScalaFunction(x: Int) = x + 1

it should create a gist with .scala extension so the code gets render with the Scala colors.

I also might one to insert the gist url below the code block. :)

anicolaspp avatar Mar 09 '16 20:03 anicolaspp

I am going to look into this even when my objective-c skills are quite rusty :)

anicolaspp avatar Mar 09 '16 20:03 anicolaspp

I think (not 100% sure) plug-ins can be written in Swift also, even if MacDown itself is in Objective-C. Maybe you can try it out if you’re interested.

uranusjr avatar Mar 10 '16 12:03 uranusjr

Indeed I will. Thanks

anicolaspp avatar Mar 10 '16 14:03 anicolaspp