line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::Markdown::Embarrassing; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
97052
|
use 5.006; |
|
1
|
|
|
|
|
4
|
|
4
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
51
|
|
5
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
93
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '3.2'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=pod |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=encoding UTF-8 |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 Acme::Markdown::Embarrasing |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Acme::Markdown::Embarrassing - Embarrassing the MetaCPAN Markdown converter |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 SYNOPYS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
This is a toy module to embarrass MetaCPAN Markdown |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 SEE ALSO |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
See also L |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
See also L |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 MARKDOWN |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=begin markdown |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
## IMAGES |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
#### Include relative image `![](test.png)` |
36
|
|
|
|
|
|
|
![](test.png) |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
#### Include relative image `![](./test.png)` |
39
|
|
|
|
|
|
|
![](./test.png) |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
#### Include absolute internal non versioned image `![](https://metacpan.org/source/CONTRA/Acme-Markdown-Embarrassing/test.png)` |
42
|
|
|
|
|
|
|
![](https://metacpan.org/source/CONTRA/Acme-Markdown-Embarrassing/test.png) |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
#### Include absolute internal image `![](https://metacpan.org/source/CONTRA/Acme-Markdown-Embarrassing-1.6/test.png)` |
45
|
|
|
|
|
|
|
![](https://metacpan.org/source/CONTRA/Acme-Markdown-Embarrassing-1.6/test.png) |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
#### Include absolute fastapi image `![](https://fastapi.metacpan.org/source/CONTRA/Acme-Markdown-Embarrassing-1.6/test.png)` |
48
|
|
|
|
|
|
|
![](https://fastapi.metacpan.org/source/CONTRA/Acme-Markdown-Embarrassing-1.6/test.png) |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
#### Include absolute external image `![](https://raw.githubusercontent.com/thibaultduponchelle/Acme-Markdown-Embarrassing/master/test.png)` |
51
|
|
|
|
|
|
|
![](https://raw.githubusercontent.com/thibaultduponchelle/Acme-Markdown-Embarrassing/master/test.png) |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
# Title 1 |
55
|
|
|
|
|
|
|
## Title 2 |
56
|
|
|
|
|
|
|
### Title 3 |
57
|
|
|
|
|
|
|
#### Title 4 |
58
|
|
|
|
|
|
|
##### Title 5 |
59
|
|
|
|
|
|
|
###### Title 6 |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Title 1 |
62
|
|
|
|
|
|
|
== |
63
|
|
|
|
|
|
|
Title 2 |
64
|
|
|
|
|
|
|
-- |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
## Usual styling |
67
|
|
|
|
|
|
|
Some **BOLD** or alternate __BOLD__ text with some *italic* and alternate _italic_ |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Some ***BOLD ITALIC*** or alternate ___BOLD ITALIC___ |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Some ~~strikethrough~~ |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
## Quote |
74
|
|
|
|
|
|
|
> There Is More Than One Way To Do It |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
> Top level |
77
|
|
|
|
|
|
|
>> Nested |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
> Quote with styling |
80
|
|
|
|
|
|
|
> - First |
81
|
|
|
|
|
|
|
> - Second |
82
|
|
|
|
|
|
|
> |
83
|
|
|
|
|
|
|
> Some **BOLD** |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
## Lists ([#2330](https://github.com/metacpan/metacpan-web/issues/2330)) |
86
|
|
|
|
|
|
|
### Bullets (-) |
87
|
|
|
|
|
|
|
- First |
88
|
|
|
|
|
|
|
- Second |
89
|
|
|
|
|
|
|
- Third |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
### Bullets (\*) |
92
|
|
|
|
|
|
|
- Foo |
93
|
|
|
|
|
|
|
- Bar |
94
|
|
|
|
|
|
|
- Baz |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
### Bullets (+) |
97
|
|
|
|
|
|
|
+ Foo |
98
|
|
|
|
|
|
|
+ Bar |
99
|
|
|
|
|
|
|
+ Baz |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
### Numbered list |
102
|
|
|
|
|
|
|
1. First |
103
|
|
|
|
|
|
|
2. Second |
104
|
|
|
|
|
|
|
3. Third |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
1) First |
107
|
|
|
|
|
|
|
2) Second |
108
|
|
|
|
|
|
|
3) Third |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
## Code |
112
|
|
|
|
|
|
|
Inlined `code` or inlined ``code with `backticks` inside`` |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
### Perl ([#2312](https://github.com/metacpan/metacpan-web/issues/2312)) |
115
|
|
|
|
|
|
|
```perl |
116
|
|
|
|
|
|
|
#!/usr/bin/env perl |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
use Acme::LOLCAT; |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
print translate("You too can speak like a lolcat!") ."\n"; |
121
|
|
|
|
|
|
|
``` |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
### Indented with spaces |
124
|
|
|
|
|
|
|
#!/usr/bin/env perl |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
use Acme::LOLCAT; |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
print translate("You too can speak like a lolcat!") ."\n"; |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
### Indented with tab |
131
|
|
|
|
|
|
|
#!/usr/bin/env perl |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
use Acme::LOLCAT; |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
print translate("You too can speak like a lolcat!") ."\n"; |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
## Images |
138
|
|
|
|
|
|
|
### PNG |
139
|
|
|
|
|
|
|
![](https://raw.githubusercontent.com/thibaultduponchelle/Acme-Markdown-Embarrassing/master/tux.png) |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
### SVG |
142
|
|
|
|
|
|
|
![](https://raw.githubusercontent.com/thibaultduponchelle/Acme-Markdown-Embarrassing/master/tux.svg) |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
## Tables |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
| Pos | Club | Points | |
147
|
|
|
|
|
|
|
|:------------|:-----------:|:-----------:| |
148
|
|
|
|
|
|
|
| 1 | OM | 12 | |
149
|
|
|
|
|
|
|
| 2 | St Etienne | 9 | |
150
|
|
|
|
|
|
|
| 3 | OGC Nice | 3 | |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
## Rules |
153
|
|
|
|
|
|
|
*** |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
--- |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
________________ |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
## Links |
160
|
|
|
|
|
|
|
[MetaCPAN](https://metacpan.org) or with title [MetaCPAN](https://metacpan.org "MetaCPAN") |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
## Image with link |
165
|
|
|
|
|
|
|
[![](https://raw.githubusercontent.com/thibaultduponchelle/Acme-Markdown-Embarrassing/master/tux.png)](https://linuxfr.org/) |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
## Emoji |
168
|
|
|
|
|
|
|
🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 🐪 |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 🐺 |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
## Escape |
185
|
|
|
|
|
|
|
\* |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
\` |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
\- |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
\+ |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
\# |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
## Html embedded |
196
|
|
|
|
|
|
|
Some BOLD text. |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
A |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
Sentence |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
On |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
Multiple |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
Lines |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
## Huge image |
215
|
|
|
|
|
|
|
![huge](https://raw.githubusercontent.com/thibaultduponchelle/Acme-Markdown-Embarrassing/master/huge.png) |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
# Embed HTML (and IMAGES) |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
## IMAGE (RELATIVE test.png) |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
## IMAGE (RELATIVE ./test.png) |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
## IMAGE (RELATIVE ../../../test.png) |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
## IMAGE (ROOT RELATIVE /test.png) |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
## IMAGE FROM SOURCE (ABSOLUTE) |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
## IMAGE FROM FASTAPI (ABSOLUTE) |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
## IMAGE FROM GITHUB (ABSOLUTE) |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
=end markdown |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
=cut |
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
1; # End of Acme::Markdown::Embarrassing |