Skip to content

marciotrindade/filtered_column_gist_macro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gist Macro For Mephisto

A plugin that use gist URL to show a formated code.

Install

to instal run:

script/plugin install git://github.com/marciotrindade/filtered_column_gist_macro.git

now copy vendor/plugins/filtered_column_gist_macro/public/stylesheets/gist.css to your theme folder. example if you use simpla:

cp vendor/plugins/filtered_column_gist_macro/public/stylesheets/gist.css themes/site-1/simpla/stylesheets/

and to finish add the css file in your layout. Go to your admin click on design => layout.liquid and paste this code:

{{ 'gist' | stylesheet }}

Usage

Then in your posts do:

    <filter:gist>http://gist.github.com/34971</filter:gist>

Credits

Copyright (c) 2008 Marcio Trindade (marciotrindade@gmail.com) Licensed under a MIT Licence.

About

Use source code of Gist in your Mephisto proect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages