Remix.run Logo
Demiurge 5 hours ago

I love DL. I think tables, at least in the past, were misused as DLs even more in the past and the inconvenience of the table markup is even worse than a bunch of divs.

enriquto 5 hours ago | parent | next [-]

It's not that inconvenient if you omit unnecessary closing tags:

    <tr>
    <td> first
    <td> second
    <tr>
    <td> what
    <td> ever
I find it simpler and cleaner than any of the markdown table markups
myfonj 4 hours ago | parent | next [-]

Fair point, though /DT and /DD are also optional just like /TH, /TD and /TR are. So in effect, def…scription list could structurally save you one TR for each entry and two "BLE"s:

    <table><tr><th>Term 1<td>Definition 1
           <tr><th>Term 2<td>Definition 2
    </table>
    <dl><dt>Term 1<dd>Definition 1
        <dt>Term 2<dd>Definition 2
    </dl>
debesyla 4 hours ago | parent | prev [-]

Isn't markdown table just a bunch of | ?

zufallsheld 4 hours ago | parent [-]

That's the problem.

froh 4 hours ago | parent [-]

most specifically the problem is that markdown tables don't allow breaking the table row in multiple lines

but then you can always use HTML tables in markdown and Pandoc transforms it just fine

hnlmorg 4 hours ago | parent | next [-]

<br> has worked fine whenever I’ve needed line breaking in markdown tables

quietbritishjim 3 hours ago | parent | next [-]

I think they mean breaking the line in the markup, not the output

xigoi 3 hours ago | parent | prev [-]

They mean in the Markdown code, not in the output.

jazzypants 4 hours ago | parent | prev [-]

Every markdown implementation is supposed to allow inline HTML.

bdcravens 5 hours ago | parent | prev | next [-]

You're right, but forcing tables to cosplay as DLs was far from the worst way that tables were abused.

sodapopcan 5 hours ago | parent [-]

At least <td>s could easily centre things vertically ;)

egeozcan 4 hours ago | parent | prev [-]

I always thought the DL as a single row of a table.