Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create gist for each code block #1

Open
anicolaspp opened this issue Mar 9, 2016 · 3 comments
Open

Create gist for each code block #1

anicolaspp opened this issue Mar 9, 2016 · 3 comments

Comments

@anicolaspp
Copy link

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
Copy link
Author

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

@uranusjr
Copy link
Member

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.

@anicolaspp
Copy link
Author

Indeed I will. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@uranusjr @anicolaspp and others