Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Support Markdown Multiline Grid Tables

Started by Muut Archive 10 years ago · 2 replies · 1334 views
10 years ago

Hi guys,

First of all, I love Grav!

I'm trying to use it to keep some software product documentation (just like you do with http://learn.getgrav.org/), and as far as the web-side of things goes, everything is working great.

The problem is that I need to provide access to the same documentation in .pdf and .docx formats.

So I've decided to give Pandoc a chance (http://pandoc.org/), and use it to transform whatever markdown files I have in my Grav instance to .pdf and .docx upon request.

All works great when converting to pdfs and docx, except for tables.

After digging around, found out that Grav currently only supports rmarkdown (simple piped) tables:
Alex Piped

What I desperatelly need is support for multiline grid tables:
Grid

These allow for multiline content in each cell (multiple paragraphs, lists, etc.) although still no option for colspan and rowspan.

Any ideea if the grid tables will be supported by Grav?

Or maybe anyone knows of a different path I could take, to easily convert all my Grav markdown files to a .pdf or .docx document?

10 years ago

Grav provides support for standard markdown and markdown extra, but you can add support for any additional markdown syntax using a plugin, see https://github.com/tidiview/grav-plugin-markdown-rubytext for example or https://github.com/Seao/grav-plugin-diagrams

There's already this plugin that helps you convert a page to PDF file: https://github.com/iusvar/grav-plugin-snappygrav but no docx support from what I see

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1279 9 years ago
Archive · by Muut Archive, 9 years ago
2 886 9 years ago
Archive · by Muut Archive, 9 years ago
2 4015 9 years ago
Archive · by Muut Archive, 9 years ago
1 2891 9 years ago
Archive · by Muut Archive, 9 years ago
3 1075 9 years ago