mixu / markdown-styles

Markdown to static HTML generator and multiple CSS themes for Markdown
1.85k stars 250 forks source link

Question/feature request #34

Open DanielSundberg opened 8 years ago

DanielSundberg commented 8 years ago

I would like to use this tool to generate a static documentation site. I have a bunch of md-files in a folder:

file1.md
file2.md
...
...

Now I execute generate-md and get the corresponding site:

assets/
file1.html
file2.html
...
...

It would be really nice if the tool could generate an index page for me so that I don't have to maintain links from a landing page to all sub pages. Is this possible? Could it be possible to extend this tool to do this?

mixu commented 8 years ago

yeah I've been thinking about this as something for v4.0 - a new primitive that lets you select files. It might be just like glob based or something. right now if you needed something like this the simplest way to do it might be script that creates a meta.json with the right kind of metadata, which you could then format with a partial similar to the {{toc}} partial

DanielSundberg commented 8 years ago

Ok, I ended up building my site with another tool but I saw a great potential in this tool. Among the 10 (!) different site generators I tried this one had me up and running in shortest time (starting with a bunch of md files). At least three of them wouldn't even run on Windows, a few more abandoned without any statement on the web site.

flaviotordini commented 1 year ago

It's been a long time since this feature request. This is the only missing feature in markdown-styles for me.