File Coverage

blib/lib/Acme/Markdown/Embarrassing.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


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