Skip to content

Commit

Permalink
Fix markdown batch
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Feb 12, 2025
1 parent 6afe922 commit fb0c3b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions previews/primer/beta/markdown_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MarkdownPreview < ViewComponent::Preview
<h6>Header 6</h6>
<table>
<table tabindex="0">
<thead>
<tr>
<th>What</th>
Expand Down Expand Up @@ -147,7 +147,7 @@ class MarkdownPreview < ViewComponent::Preview
<p>Tables should have bold headings and alternating shaded rows.</p>
<table>
<table tabindex="0">
<thead>
<tr>
<th>Artist</th>
Expand Down Expand Up @@ -181,7 +181,7 @@ class MarkdownPreview < ViewComponent::Preview
<p>If a table is too wide, it should condense down and/or scroll horizontally.</p>
<table>
<table tabindex="0">
<thead>
<tr>
<th>Artist</th>
Expand Down Expand Up @@ -237,13 +237,13 @@ class MarkdownPreview < ViewComponent::Preview
<pre><code>var foo = \"bar\";</code></pre>
<pre><code>Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.</code></pre>
<pre tabindex="0"><code>Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. They should also have a tabindex=0 to ensure keyboard accessibility. This line should be long enough to demonstrate this.</code></pre>
<pre><code>var foo = \"The same thing is true for code with syntax highlighting. A single line of code should horizontally scroll if it is really long.\";</code></pre>
<pre tabindex="0"><code>var foo = \"The same thing is true for code with syntax highlighting. A single line of code should horizontally scroll if it is really long.\";</code></pre>
<p>Inline code inside table cells should still be distinguishable.</p>
<table>
<table tabindex="0">
<thead>
<tr>
<th>Language</th>
Expand Down

0 comments on commit fb0c3b5

Please sign in to comment.