File: block_code.textile

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 (30 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (5)
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
27
28
29
30
h1. Block Code

p. I need to get block code examples working. In @orgmode@, they look
like this:

bc.     def initialize(output)
      @output = output
      @buffer = ""
      @output_type = :start
      @list_indent_stack = []
      @paragraph_modifier = nil

      @logger = Logger.new(STDERR)
      @logger.level = Logger::WARN
    end


p. And now I should be back to normal text.

p. Putting in another paragraph for good measure.


p. Code should also get cancelled by a list, thus:

bc. This is my code!

Another line!

* My list should cancel this.
* Another list line.