I hate reading and writing tables in Markdown. But Markdown is one foundation of digital sovereignty.
This sucks less. At least for me.
I hate reading and writing tables in Markdown. But Markdown is one foundation of digital sovereignty.
This sucks less. At least for me.
Wow! I love this and would so prefer to see it in the discourse composer than the current table markdown syntax. What would it look like to make that happen? A plugin?
Yes. It’s in the making.
(building a Claude-based dark factory at the moment)
Awesome! That sounds very subversive. ![]()
Do you know anything about the history here? The decisions that led to the impossible to read markdown standard for tables? It just doesn’t fit with the rest of markdown which is so easy to read.
no.
But I think that if they’re generated in a structured way, they are indeed perfectly readable. However, no one goes to that trouble. In a properly set up tooling environment, the editor does that itself. I could assign a gemini-deep research project to look into this.
Hmm.. So looking at your sample markdown from your github repo..
model: Model
price: Price
note: Note
--
model: Opus
price: $15
note: Good for research.
Second line of the same cell.
--
m: Haiku
p: $1
could be rewritten as the below. Though don’t know how to put a line break on a cell. I created this using Discourse’s own table builder which is quite decent but does not create readable markdown.. I had to create the spaces myself so the columns line up.
|Model | Price | Note |
|--- | --- | --- |
|Opus | $15 | Good for research. Second line of the same cell.|
|Haiku | $1 | |
Yours is way more readable/easy to write.
You would have to put a <br> in front of “Second line”…
Yeah that works. I guess ultimately tables quickly get to be so complicated that it’s barely worth trying to make them readable as plain text. It would be nice if the composer would at least tidy up the spacing inside each table cell so the table is readable as tables when looking at them as markdown. I think that’d be worthy of a feature request.
I wouldn’t ask for it. Opens a can of worms. How do you handle long text? Do you realy want to have your input redirected after your edit? How does it work with shared edits …
Not worth it.
Yeah, and meanwhile for folks who just want to get on with it there is the interactive, wysiwyg table builder which is quite decent. It’s just annoying when you find yourself wanting to edit the post outside discourse.
Appreciate you trying to solve this problem! You can move this into a different category if you like doesn’t have to be a watercooler topic! ![]()
Members only if you want to keep it within the community, Go Digitally Sovereign if you are ok with sharing publicly.
It’s your garden …
Hey, I’m just the gardener.. the garden is for everybody!