adityam / filter

ConTeXt module to process contents of a start-stop environment through an external program
45 stars 10 forks source link

Typeset gists #7

Closed adityam closed 11 years ago

adityam commented 12 years ago

Add the ability to pretty-print gists in t-vimor in a separate module.

adityam commented 11 years ago

Works with ConTeXt 2013.01.08, which supports https protocol as well. Minimal example:

\usemodule[vim]

\definevimtyping[RUBY][syntax=ruby]
\definevimtyping[JAVA][syntax=java]

\starttext
\typeRUBYfile{https://raw.github.com/adityam/filter/master/Rakefile}

\page

\typeJAVAfile{https://gist.github.com/raw/83e100dc7dc145d6f41b/51d9dc453b165816c6b461264722fe5cc4c3f49d/Subscription.java}
\stoptext