Skip to content

Instantly share code, notes, and snippets.

@Xunnamius
Forked from panoply/equal-width.md
Created May 14, 2021 02:40
Show Gist options
  • Save Xunnamius/5d12bb0aaee11f4116f99ba867747814 to your computer and use it in GitHub Desktop.
Save Xunnamius/5d12bb0aaee11f4116f99ba867747814 to your computer and use it in GitHub Desktop.
2 column full width table for github markdown

Equal widths

Github markdown full-width 2 column table.

EXAMPLE TEXT

EXAMPLE TEXT

{
  "foo": [
    {
      "bar": "hello world"
    }
  ]
}
{
  "foo": [
    {
      "bar": "hello world"
    }
  ]
}
Column 1 Column 2

Source

Don't indent the syntax, Github seems to have issues with indentation.

<table>
<tr>
<th align="center">
<img width="441" height="1">
<p> 
<small>
EXAMPLE TEXT
</small>
</p>
</th>
<th align="center">
<img width="441" height="1">
<p> 
<small>
EXAMPLE TEXT
</small>
</p>
</th>
</tr>
<tr>
<td>
<!-- REMOVE THE BACKSLASHES -->
\```jsonc
{
  "foo": [
    {
      "bar": "hello world"
    }
  ]
}
\```
  
</td>
<td>
<!-- REMOVE THE BACKSLASHES -->
\```jsonc
{
  "foo": [
    {
      "bar": "hello world"
    }
  ]
}
\```
  
</td>
</tr>
<tr>
<td align="center">
Column 1
</td>
<td align="center">
Column 2
</td>
</tr>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment