Easy MMD tables

Mr
MrGruff
Posts: 208
Joined: Tue Jun 05, 2007 4:22 pm
Location: UK
Contact:

Thu Jul 28, 2016 1:11 pm Post

If there's one thing that annoys me about MMD it's the typing of tables. Maybe it's that my touch-typing doesn't readily encompass the | symbol, I don't know, but I find them a touch clunky to set up.

Brett Terpstra clearly feels the same way, as he has added a new service to his Markdown Service Tools which will create a standard MMD table from a simple comma separated one. You can get the specification and download the service here, along with all other other pieces: http://brettterpstra.com/2016/07/27/csv ... wn-tables/

Using the service turns:

Code: Select all

==My easy table
h1,h2,h3,h4
<,<,>,=
one,two,three,four
five,>,six,seven


Into

Code: Select all

|  h1   |  h2   |  h3   |  h4   |
| :---- | :---- | ----: | :---: |
| one   | two   | three | four  |
| five         ||   six | seven |
[My easy table]


I can then add a label, if I want, but otherwise it is ready to go.

What's not to like?

User avatar
nontroppo
Posts: 733
Joined: Mon Mar 05, 2007 5:22 pm
Platform: Mac
Location: Airstrip One

Thu Jul 28, 2016 8:03 pm Post

Cool, thanks for the link. Also super cool to read Brett is back on working on BitWriter (nvAlt being one of my most used apps).

For those who want a visual interface to making MD tables, this is also very helpful:

http://www.tablesgenerator.com/markdown_tables
Last edited by nontroppo on Thu Jul 28, 2016 8:06 pm, edited 1 time in total.

User avatar
AmberV
Posts: 20570
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Thu Jul 28, 2016 8:04 pm Post

Very nice tool! Thanks for posting it.

By the way, Scrivener may have an interesting trick or two up its sleeve for this in the future. ;)
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
nontroppo
Posts: 733
Joined: Mon Mar 05, 2007 5:22 pm
Platform: Mac
Location: Airstrip One

Thu Jul 28, 2016 8:33 pm Post

AmberV wrote:By the way, Scrivener may have an interesting trick or two up its sleeve for this in the future. ;)


oooooooh, sounds delicious!!!

Mr
MrGruff
Posts: 208
Joined: Tue Jun 05, 2007 4:22 pm
Location: UK
Contact:

Fri Jul 29, 2016 11:52 am Post

By the way, Scrivener may have an interesting trick or two up its sleeve for this in the future. ;)


+1 to that oooooh