3 ms·
Something I haven't seen in any markdown editor so far (suggestions welcome) is extended table support. Say I have a table with a 'name' and 'value' column and
by rapnie 8y ago
Something I haven't seen in any markdown editor so far (suggestions welcome) is extended table support.
Say I have a table with a 'name' and 'value' column and 100 entries. And I'd like names to be alphabetically sorted. So far so good.
But this table is too long and too small, so I want to have 4 columns and 50 rows, where the name/value continue in column 3, 4. Out of luck. This is unmanageable, as you have to shift many cells when adding a new entry.
A proposal for something like this: https://github.com/github/markup/issues/1189 https://github.com/github/markup/issues/1189
Also mentions multi-line cell contents, which are hard in regular markdown (require inline html)..
- duckerude 8y agoI think Emacs's org-mode can do that, by offering an easy way to insert columns. It's not markdown, but at a glance, the table syntax seems compatible or close enough, so maybe copy/pasting to and from Emacs could do the job if you can stand Emacs. org-mode's tables can do a lot of things. https://orgmode.org/org.html#Tables https://orgmode.org/org.html#Tables
- rcthompson 8y agoI'm pretty sure Pandoc has an option to interpret org-mode style tables in Markdown files, and Org-mode itself has a mode for editing tables in non-org files. I haven't played with either, however, so I can't report on how well they work.
- dustingetz 8y agoMarkdown doesn't compose very well, you kind of want to drop into a programming language for that http://www.hyperfiddle.net/:docs/:cookbook!static-site-markdown http://www.hyperfiddle.net/:docs/:cookbook!static-site-markd... It can be abstracted into a function though, here's a different table done from only markdown (and backed by a database!) http://www.hyperfiddle.net/:docs/:fiddle-markdown http://www.hyperfiddle.net/:docs/:fiddle-markdown