test/md2man/html_test.rb
References a public code-forge URLHTTP URL targets an image file
SHA-25614ba92b622920dcf9b49e6d9fb3797f4b3b7570f77dd5b39886f482b683a1b51
MaleculeH(Cm₂)
Evidence
⋯7 lines
8
9 def heredoc document
10 document.gsub(/^\s*\|/, '').chomp
11 end
12
⋯5 lines
30:3… OUTPUT
31 end
32
33 it 'renders tagged paragraphs with uniformly two-space indented bodies' do
34 @markdown.render(heredoc(<<-INPUT)).must_equal(here …
39:5… | but within 4-space indent
40 |
41 | and a single line following
42 |
43 | and multiple
44 | lines following
45 INPUT
46 …
104:6… |
106 INPUT
107 |<p><img src="https://raw.github.com/sunaku/md2man/master/EXAMPLE.png" alt="Obligatory screenshot of md2man-ro …
217:102… ml">is-a-reference(3)</a> yet again</p>
218 OUTPUT
219 end
220
221 it 'https://github.com/sunaku/md2man/issues/19' do
222 @markdown.render(heredoc(<<-INPUT)).must_equal(heredoc(<<-OUTPUT))
223 |### Macros
224 |
225 …