kaushalmodi / ox-hugo

A carefully crafted Org exporter back-end for Hugo
https://ox-hugo.scripter.co
GNU General Public License v3.0
867 stars 130 forks source link

Use vanilla md links instead of relref #707

Closed kchousos closed 1 year ago

kchousos commented 1 year ago

Hello! Thank you for your amazing package!

I want to export some org-roam files to hugo and use quartz to render them. But since it looks for backlinks in vanilla md syntax, it doesn't recognize the relrefs.

Is there any way to change this behaviour?

kaushalmodi commented 1 year ago

Hello, there isn't a way to customize that behavior as this package is only for Hugo compatible Markdown exports. relref allows the export to be relaxed as the exporter doesn't need to figure out full relative paths. relref in Hugo does that job for you.

Even if, if you want to tweak that, you can advise the org-hugo-link function.

kchousos commented 1 year ago

Alright, thanks for the quick reply!