File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ---
2- title : Sortierbare Tabelle – Demo
3- ---
1+ | Kapitel | Punkte | Datum |
2+ | --- | ---: | --- |
3+ | 02_Select.md | 12 | 2025-09-06 |
44
5- # Demo: Sortierbare Tabelle (GitHub Pages)
6-
7- <table class =" sortable " >
8- <thead >
9- <tr><th>Kapitel</th><th>Punkte</th><th>Datum</th></tr>
10- </thead >
11- <tbody >
12- <tr><td>02_Select.md</td><td>12</td><td>2025-09-06</td></tr>
13- <tr><td>03_Join.md</td><td>7</td><td>2025-09-01</td></tr>
14- <tr><td>04_GroupBy.md</td><td>19</td><td>2025-08-30</td></tr>
15- </tbody >
16- </table >
17-
18- <style >
19- table { border-collapse : collapse ; width : 100% ; }
20- th , td { padding : .5rem .65rem ; border : 1px solid #ddd ; }
21- th { cursor : pointer ; background : #f6f8fa ; }
22- tbody tr :nth-child (odd ){ background : #fcfcfd ; }
23- </style >
24-
25- <script src =" sorttable.js " ></script >
5+ {:.sortable}
You can’t perform that action at this time.
0 commit comments