Re:Markdeep markup language
by dustingetz on Saturday August 04, 2018 @09:51AM
(#17686837)
Markdown 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-markd...
It can be abstracted into a function though, here's a different table done from only markdown (and backed by a database!)
I 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.
Re:Markdeep markup language
by rcthompson on Saturday August 04, 2018 @10:41AM
(#17687019)
I'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.
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
Also mentions multi-line cell contents, which are hard in regular markdown (require inline html)..