Sha256: 3e583103c3425f52fd2421bd3bc8f443b7dc785b71d1fbf932db6b4357e99727
Contents?: true
Size: 919 Bytes
Versions: 4
Compression:
Stored size: 919 Bytes
Contents
# HTML Setting the code block language to `rspec:html` indicates that the output should be treated as _HTML_ which adds a tab displaying auto-formatted _HTML_ and another tab showing the rendered output. ## Markdown ````markdown ```rspec:html subject do <<~HTML <table class="table"> <thead> <tr><th>Heading 1</th><th>Heading 2</th></tr> </thead> <tbody> <tr><td>Value 1</td><td>Value 2</td></tr> <tr><td>Value 3</td><td>Value 4</td></tr> </tbody> </table> HTML end it { is_expected.to include 'Value 1' } ``` ```` ## Output ```rspec:html subject do <<~HTML <table class="table"> <thead> <tr><th>Heading 1</th><th>Heading 2</th></tr> </thead> <tbody> <tr><td>Value 1</td><td>Value 2</td></tr> <tr><td>Value 3</td><td>Value 4</td></tr> </tbody> </table> HTML end it { is_expected.to include 'Value 1' } ```
Version data entries
4 entries across 4 versions & 1 rubygems