ryanvilbrandt / comic_git

A statically-hosted web comic server core intended to be hosted on github.io. For help getting started, click the Wiki link above!
23 stars 7 forks source link

Add support for pure-markdown pages #69

Closed ryanvilbrandt closed 2 years ago

ryanvilbrandt commented 2 years ago

Users should be able to use pure markdown to add pages to their website. We can allow this by creating something like a md_page.tpl template that uses base.tpl and inserts any parsed markdown below the links bar.

User will still need to specify the pages to be published in the [Pages] section of comic_info.ini, largely because they'll need to specify titles to be passed to base.tpl.

Markdown files (*.md) can be stored either in the "templates" directory, or in a separate directory like "pages". Make sure to check the theme directory first.

Extra credit:

ryanvilbrandt commented 2 years ago

This will be available in 0.4.0.