citizen428.blog()

Try to learn something about everything

A TextMate Command for the RubyLearning Forums

As we all know posting code to Moodle (the software that powers RubyLearning) can be a bit cumbersome. I therefore created a TextMate command which will

  • take the currently active file
  • replace all occurrences of < with the HTML-entity
  • wrap all of that in [code ruby] tags and
  • copy it to the clipboard, ready to be pasted into the forums.

Source:

Download:
RubyLearning.tmCommand

Comments