rochacbruno / marmite

Markdown makes sites - A Static Site Generator for Blogs
https://rochacbruno.github.io/marmite/
GNU Affero General Public License v3.0
367 stars 18 forks source link

obsidian style wikilinks #115

Open khimaros opened 2 days ago

khimaros commented 2 days ago

i would love to use my obsidian vault with this but it doesn't seem to support the simplified wikilinks syntax [[another-article]]. is this feasible to support?

rochacbruno commented 1 day ago

AFAIK Comrak (the markdown parser we use) doesn´t support it out of the box,

I think we can add it as a pre-processing step, converting [[str]] to <./str.html> and then it should just work.

One thing to notice is that Marmite generates a flat site, so there will be no subpaths, it is expected that every page is on the same level.