# Test · Tables --- ## Plain Table (default) No stripe. Only the header has a distinct background. Hover rows to see highlight. | Island · Νησί | Prefecture | Area km² | Population | Highest Point | | :--- | :--- | ---: | ---: | :--- | | Κέρκυρα (Corfu) | Corfu | 610 | 102,071 | Pantokrator 906 m | | Λευκάδα (Lefkada) | Lefkada | 356 | 22,652 | Stavrota 1,158 m | | Κεφαλονιά (Kefalonia) | Kefalonia | 781 | 35,801 | Ainos 1,628 m | | Ιθάκη (Ithaka) | Ithaka | 96 | 3,231 | Neriton 806 m | | Ζάκυνθος (Zakynthos) | Zakynthos | 406 | 40,759 | Vrachionas 758 m | --- ## Striped Table (`.is-striped`) Even rows receive a subtle alternate background via the `.is-striped` class on the `<table>` element. <table class="is-striped"> <thead> <tr><th align="left">Creature</th><th align="left">Type</th><th align="right">CR</th><th align="right">HP</th><th align="left">Habitat</th><th align="left">Notes</th></tr> </thead> <tbody> <tr><td>Young Blue Dragon</td><td>Dragon</td><td align="right">9</td><td align="right">152</td><td>Desert, Coastline</td><td>Lightning breath</td></tr> <tr><td>Sea Serpent</td><td>Monstrosity</td><td align="right">6</td><td align="right">84</td><td>Open Ocean</td><td>Constriction attack</td></tr> <tr><td>Merrow</td><td>Monstrosity</td><td align="right">2</td><td align="right">45</td><td>Underwater Caves</td><td>Harpoon pull</td></tr> <tr><td>Giant Crab</td><td>Beast</td><td align="right">1/8</td><td align="right">13</td><td>Tidal Zones</td><td>Grapple + claw</td></tr> <tr><td>Sahuagin Baron</td><td>Humanoid</td><td align="right">5</td><td align="right">76</td><td>Deep Water</td><td>Multiattack, blood frenzy</td></tr> <tr><td>Storm Giant</td><td>Giant</td><td align="right">16</td><td align="right">230</td><td>Coastal Peaks</td><td>Lightning strike, prophetic sight</td></tr> </tbody> </table> --- ## Alignment: Left / Center / Right | Left-aligned | Center-aligned | Right-aligned | | :--- | :---: | ---: | | Text flows from the left. Long cell content should wrap cleanly. | Centered content looks best for short values like symbols or status. | Numbers and currency right-align so decimal points line up. | | Α, Β, Γ | ★★★☆☆ | 3,440.065 | | Kefalonia | ◉ | 1,628 m | | Ιθάκη | ○ | 806 m | --- ## All-Left / All-Center / All-Right (Single Alignment Tables) All left: | Name | Type | Location | | :--- | :--- | :--- | | Sapphire Dragon | Gem Dragon | Underdark | | Bronze Dragon | Metallic Dragon | Coastal | All center: | Name | CR | Size | | :---: | :---: | :---: | | Red Dragon | 24 | Ancient | | Gold Dragon | 24 | Ancient | All right: | Creature | HP | AC | | ---: | ---: | ---: | | Greatwyrm | 585 | 22 | | Ancient Dragon | 297 | 20 | --- ## Wide Table (many columns, horizontal scroll) <table class="is-striped"> <thead> <tr><th>Voyage</th><th>Origin</th><th>Destination</th><th align="right">Distance (nm)</th><th align="right">Speed (kn)</th><th align="right">ETA (h)</th><th>Wind</th><th>Sea State</th><th>Status</th><th>Notes</th></tr> </thead> <tbody> <tr><td>Odyssey I</td><td>Τροία</td><td>Κέρκυρα</td><td align="right">480</td><td align="right">5.5</td><td align="right">87</td><td>NW 15 kn</td><td>Moderate</td><td>Underway</td><td>Watch rotation active</td></tr> <tr><td>Odyssey II</td><td>Κέρκυρα</td><td>Ιθάκη</td><td align="right">110</td><td align="right">4.0</td><td align="right">27</td><td>Calm</td><td>Smooth</td><td>Complete</td><td>Arrived at dawn</td></tr> <tr><td>Survey III</td><td>Ζάκυνθος</td><td>Λευκάδα</td><td align="right">55</td><td align="right">6.5</td><td align="right">8</td><td>SE 8 kn</td><td>Slight</td><td>Delayed</td><td>Awaiting weather window</td></tr> <tr><td>Survey IV</td><td>Κεφαλονιά</td><td>Ιθάκη</td><td align="right">12</td><td align="right">5.0</td><td align="right">2</td><td>Variable</td><td>Slight</td><td>Cancelled</td><td>Port closed — festival</td></tr> <tr><td>Survey V</td><td>Ιθάκη</td><td>Κεφαλονιά</td><td align="right">12</td><td align="right">5.0</td><td align="right">2</td><td>E 10 kn</td><td>Slight</td><td>Planned</td><td>Departs at 06:00</td></tr> </tbody> </table> --- ## Cells with Inline Formatting | Element | Syntax | Renders as | | :--- | :--- | :--- | | Bold | `**text**` | **Bold text** | | Italic | `_text_` | _Italic text_ | | Bold italic | `_**text**_` | _**Bold italic**_ | | Strikethrough | `~~text~~` | ~~Struck through~~ | | Highlight | `==text==` | ==Highlighted== | | Inline code | `` `code` `` | `inline code` | | Link | `[label](url)` | [obsidian.md](https://obsidian.md) | | Superscript | `10^2^` | 10^2^ | | Subscript | `H~2~O` | H~2~O | --- ## Numbers: Negative, Decimal, Large, Fractions | Type | Example | Value | | :--- | :--- | ---: | | Integer | `42` | 42 | | Negative | `-17` | -17 | | Decimal | `3.14159` | 3.14159 | | Large | `1,234,567` | 1,234,567 | | Fraction | `1/8` | 1/8 | | Scientific | `6.022 × 10²³` | 6.022 × 10²³ | | Negative decimal | `-0.00142` | -0.00142 | | Zero | `0` | 0 | | Percent | `87.3%` | 87.3% | --- ## Empty Cells Cells can be empty. Empty cells should not collapse the column or misalign borders. | Name | Type | CR | Notes | | :--- | :--- | ---: | :--- | | Wyrmling | Dragon | 1 | | | Young | Dragon | | No CR assigned yet | | | Undead | 6 | Name unknown | | Ancient | | 24 | | | | | | All empty | --- ## Single-Row Table | Creature | CR | HP | Habitat | | :--- | ---: | ---: | :--- | | Sapphire Dragon | 22 | 297 | Underdark | --- ## Single-Column Table | Island | | :--- | | Κέρκυρα | | Λευκάδα | | Κεφαλονιά | | Ιθάκη | | Ζάκυνθος | --- ## Two Back-to-Back Tables First table: | A | B | | :--- | :--- | | one | two | | three | four | Second table immediately follows with no heading between: | X | Y | | :--- | :--- | | five | six | | seven | eight | --- ## Long Cell Content (Wrapping) | Short | This column contains very long cell content that should wrap onto multiple lines within the cell without breaking the table layout or misaligning adjacent columns | | :--- | :--- | | Row 1 | Η Ιόνιος Θάλασσα εκτείνεται μεταξύ της νότιας Ιταλίας και της δυτικής Ελλάδας, με μέγιστο βάθος 5.267 μέτρα στο Calypso Deep. | | Row 2 | The great-circle distance between Corfu (39.62°N, 19.92°E) and Ithaka (38.37°N, 20.72°E) is approximately 140 nautical miles via the Ionian passage. | | Row 3 | Short cell. | --- ## Minimal Two-Column Table | Key | Value | | :--- | :--- | | Theme | Tenebrous Dragon | | Mode | Dark / Light | | Version | 2026.4 | | Font | Palatino / System UI | | Accent | Aegean Blue | | License | CC BY-SA 4.0 |