File: code4.md

package info (click to toggle)
ruby-maruku 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,296 kB
  • ctags: 492
  • sloc: ruby: 5,726; xml: 235; makefile: 2
file content (79 lines) | stat: -rw-r--r-- 1,399 bytes parent folder | download | duplicates (3)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Codes which look like lists
*** Parameters: ***
{}
*** Markdown input: ***

This is code (4 spaces):

    * Code
      * Code (again)

This is also code

    * Code
	* Code (again)

This is code (1 tab):

	* Code
		* Code (again)


*** Output of inspect ***
md_el(:document,[
	md_par(["This is code (4 spaces):"]),
	md_el(:code,[],{:raw_code=>"* Code
  * Code (again)", :lang=>nil},[]),
	md_par(["This is also code"]),
	md_el(:code,[],{:raw_code=>"* Code
* Code (again)", :lang=>nil},[]),
	md_par(["This is code (1 tab):"]),
	md_el(:code,[],{:raw_code=>"* Code
	* Code (again)", :lang=>nil},[])
],{},[])
*** Output of to_html ***
<p>This is code (4 spaces):</p>

<pre><code>* Code
  * Code (again)</code></pre>

<p>This is also code</p>

<pre><code>* Code
* Code (again)</code></pre>

<p>This is code (1 tab):</p>

<pre><code>* Code
	* Code (again)</code></pre>
*** Output of to_latex ***
This is code (4 spaces):

\begin{verbatim}* Code
  * Code (again)\end{verbatim}
This is also code

\begin{verbatim}* Code
* Code (again)\end{verbatim}
This is code (1 tab):

\begin{verbatim}* Code
	* Code (again)\end{verbatim}
*** Output of to_md ***
This is code (4 spaces):

     * Code
       * Code (again)

This is also code

     * Code
     * Code (again)

This is code (1 tab):

     * Code
         * Code (again)
*** Output of to_s ***
This is code (4 spaces):This is also codeThis is code (1 tab):