File: code_in_links.md

package info (click to toggle)
ruby-maruku 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,232 kB
  • sloc: ruby: 6,497; makefile: 6; sh: 3
file content (101 lines) | stat: -rw-r--r-- 2,510 bytes parent folder | download
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
Write a comment here
*** Parameters: ***
{} # params 
*** Markdown input: ***
**This bug is now solved**

Previously, a bug would not let you use `code` inside links text.

So this:
	Use the [`syntax`][syntax]
produces:
> Use the [`syntax`][syntax]

And this:
	Use the `[syntax][syntax]`
produces:
> Use the `[syntax][syntax]`

[syntax]: http://gogole.com


*** Output of inspect ***
md_el(:document,[
	md_par([md_strong(["This bug is now solved"])]),
	md_par([
		"Previously, a bug would not let you use ",
		md_code("code"),
		" inside links text."
	]),
	md_par([
		"So this: Use the ",
		md_link([md_code("syntax")],"syntax"),
		" produces:"
	]),
	md_el(:quote,[md_par(["Use the ", md_link([md_code("syntax")],"syntax")])],{},[]),
	md_par(["And this: Use the ", md_code("[syntax][syntax]"), " produces:"]),
	md_el(:quote,[md_par(["Use the ", md_code("[syntax][syntax]")])],{},[]),
	md_ref_def("syntax", "http://gogole.com", {:title=>nil})
],{},[])
*** Output of to_html ***
<p><strong>This bug is now solved</strong></p>

<p>Previously, a bug would not let you use <code>code</code> inside links text.</p>

<p>So this: Use the <a href='http://gogole.com'><code>syntax</code></a> produces:</p>

<blockquote>
<p>Use the <a href='http://gogole.com'><code>syntax</code></a></p>
</blockquote>

<p>And this: Use the <code>[syntax][syntax]</code> produces:</p>

<blockquote>
<p>Use the <code>[syntax][syntax]</code></p>
</blockquote>
*** Output of to_latex ***
\textbf{This bug is now solved}

Previously, a bug would not let you use {\colorbox[rgb]{1.00,0.93,1.00}{\tt code}} inside links text.

So this: Use the \href{http://gogole.com}{{\colorbox[rgb]{1.00,0.93,1.00}{\tt syntax}}} produces:

\begin{quote}%
Use the \href{http://gogole.com}{{\colorbox[rgb]{1.00,0.93,1.00}{\tt syntax}}}


\end{quote}
And this: Use the {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char91syntax\char93\char91syntax\char93}} produces:

\begin{quote}%
Use the {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char91syntax\char93\char91syntax\char93}}


\end{quote}
*** Output of to_md ***
This bug is now solved

Previously, a bug would not let you use
inside links text.

So this: Use the produces:

Use the

And this: Use the produces:

Use the
*** Output of to_s ***
This bug is now solvedPreviously, a bug would not let you use  inside links text.So this: Use the  produces:Use the And this: Use the  produces:Use the
*** EOF ***



	OK!



*** Output of Markdown.pl ***
(not used anymore)
*** Output of Markdown.pl (parsed) ***
(not used anymore)