File: xml_instruction.md

package info (click to toggle)
ruby-maruku 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 1,304 kB
  • sloc: ruby: 5,741; xml: 235; makefile: 2
file content (53 lines) | stat: -rw-r--r-- 1,217 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
Directives should be preserved.
*** Parameters: ***
{}
*** Markdown input: ***

<? noTarget?>
<?php ?>
<?xml ?>
<?mrk ?>

Targets <? noTarget?> <?php ?> <?xml ?> <?mrk ?> !

Inside: <?mrk puts "Inside: Hello" ?> last


*** Output of inspect ***
md_el(:document,[
	md_el(:xml_instr,[],{:code=>" noTarget",:target=>""},[]),
	md_el(:xml_instr,[],{:code=>"",:target=>"php"},[]),
	md_el(:xml_instr,[],{:code=>"",:target=>"xml"},[]),
	md_el(:xml_instr,[],{:code=>"",:target=>"mrk"},[]),
	md_par([
		"Targets ",
		md_el(:xml_instr,[],{:code=>"noTarget",:target=>""},[]),
		" ",
		md_el(:xml_instr,[],{:code=>"",:target=>"php"},[]),
		" ",
		md_el(:xml_instr,[],{:code=>"",:target=>"xml"},[]),
		" ",
		md_el(:xml_instr,[],{:code=>"",:target=>"mrk"},[]),
    " !"
	]),
	md_par([
		"Inside: ",
		md_el(:xml_instr,[],{:code=>"puts \"Inside: Hello\"",:target=>"mrk"},[]),
		" last"
	])
],{},[])
*** Output of to_html ***
&lt;? noTarget?&gt;<?php ?><?xml ?><?mrk ?>
<p>Targets &lt;?noTarget?&gt; <?php ?> <?xml ?> <?mrk ?> !</p>

<p>Inside: <?mrk puts "Inside: Hello"?> last</p>
*** Output of to_latex ***
Targets     !

Inside:  last
*** Output of to_md ***
Targets

Inside: last
*** Output of to_s ***
Targets    Inside:  last