News for hackers. Stuff that matters.
Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by rchaud on Friday June 23, 2023 @10:42AM (#36447452)
Markdown makes sense for devs who are in a code editor all day and might need to write some documentation and publish that to HTML, without needing opening/closing HTML tags for everything.

For everybody else, Markdown doesn't save any time, and doing things like creating tables actually wastes time because of the "___" and "|" scaffolding required. Of course you could use a Markdown table generator online but that's just WYSIWIG by another name.

Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by 411111111111111 on Friday June 23, 2023 @10:54AM (#36447644)
> actually wastes time because of the "___" and "|" scaffolding required.

I think you might be under a mistaken assumption here, because I don't think that this is factual.

The only way I could see your misunderstanding is if you think the quantity of whitespace in markdown tables is important, which it isn't.

This is a working md table and it's not harder to make then the equivalent html version

  |Header one|header two|
  |---|---|
  |Column value 1|column value one|
  |value 2|value two|
Etc

Wherever what's preferable is another story though.

Personally I dislike writing plain html, and would always prefer another template language to generate it, but that's just preference.

Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by throwawaaarrgh on Friday June 23, 2023 @11:08AM (#36447885)
It is much, much harder to maintain a markdown table. You can keep html table cells on separate lines, and have newlines in them. Can't with markdown tables.
Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by 411111111111111 on Friday June 23, 2023 @11:22AM (#36448104)
Now that I can agree on. Thankfully, md accepts inline html, so you can always just fall back to it for tables if you expect modifications in the future.

Though for the record, you should bee able to escape newlines with a backslash. That admittedly makes the md table into a total disaster, so not suggesting it as an actual option.

Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by Turing_Machine on Friday June 23, 2023 @11:01AM (#36447769)
> it's not harder to make then the equivalent html version

Much easier, I'd say.

    <table>
      <tr>
        <th>Header one</th>
        <th>header two</th>
      </tr>
      <tr>
        <td>Column value 1</td>
        <td>column value one</td>
      </tr>
      <tr>
        <td>value two</td>
        <td>value two</td>
      </tr>
    </table>
Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by 411111111111111 on Friday June 23, 2023 @11:26AM (#36448164)
Cleaner? Yes. easier? No.

Also note that you haven't actually done the same as my example.

You're missing <thead> and <tbody>

Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by hgsgm on Friday June 23, 2023 @04:11PM (#36451636)
I don't know.

It's easier to remember the html tags and to see if they are correct.

In markdown I have to remember the weird punctuation and get the | counts exactly correct.

Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by condwanaland on Friday June 23, 2023 @04:30PM (#36451832)
I think this is background and person dependent. I find it easier to remember the markdown syntax than the html tags
Re:Show HN: I've built open-source, collaborative, WYSIWYG M... by MrVandemar on Friday June 23, 2023 @07:13PM (#36453524)
HTML is internally consistent. The atom of HTML is the tag. It makes it easier to remember and to learn new ones. Markdown is composed of arbitary punctuation which is harder to remember.

For making something bold, there's low friction in wrapping it in asterisks compared to the HTML version. It's fast, easy and works.

For making a link, the friction is higher because you have to remember the link/text order, and the link/text punctuation. There's a what, one in four chance of getting it right if you haven't memorised it? It always trips me up and I have to go and look it up.

Whereas a link in HTML is pretty much the same format as everything else in HTML.

I think Markdown excels for short or limited things that consist of headings, lists and inline formatting, like blog-posts and comments and ReadMes, but I find it doesn't scale well.