File: code-coderay.org

package info (click to toggle)
ruby-org 0.9.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,852 kB
  • sloc: ruby: 3,044; lisp: 50; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
* Simple Code Syntax highlighting test

#+BEGIN_SRC ruby
class Coderay
  class << self
    def colorize
      # Do colorizing stuff here
      heredoc = <<EOF
    Some text yay!!!
EOF
    end
  end
end
#+END_SRC
  
* When including a file as an src code file

#+INCLUDE: "./spec/html_examples/only-list.org" src text