File: src-code-list-pygments.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 (26 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
* begin src in lists should work

  - Foo
    #+begin_src ruby
    class Hello
      def say
        puts 'cheers'
      end
    end
    #+end_src

  - Bar

    #+begin_src ruby
    puts "This should not get lumped into the above line Example"
    #+end_src
    
    A paragraph should go here.

    + A sublist goes here with another example
      #+begin_src sh
      echo "Hello"
      #+end_src
      
      And this is a paragraph
  - Hello