davidroyer / nuxt-markdown-example

An example of using markdown files for content with Nuxt.js / Vue.js

Home Page:https://nuxt-markdown-example.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog post categories based on folders

BenSchZA opened this issue · comments

Hi @davidroyer ! I'm really glad I came across your work with the markdown-it library.

I've made a few changes and included them in my repo on a branch: https://github.com/BenSchZA/nuxtjs-benjaminscholtz.com/tree/markdown-blog

The changes basically allow you to organise your posts by category, like /blog/:category/:post, where the category is extracted from the directory structure where the markdown files are stored.

When I'm ready I could submit a pull request, or rather include a link to it in your readme?

Cheers.