summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorHuynh Tan <[email protected]>2022-06-29 14:25:40 +0700
committerHuynh Tan <[email protected]>2022-06-29 14:25:40 +0700
commit94b543c1d28743f85bee2342609ff2019f7ec7d8 (patch)
treeae3a63cbf30e1744f23f127e42211ebac310b19d /util
parent9474a254390b1e42488a1801fed5826b32a8030b (diff)
Making sure attachment preview works with file level ID
Diffstat (limited to 'util')
-rw-r--r--util/processOrg.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/processOrg.tsx b/util/processOrg.tsx
index fa135a1..611c039 100644
--- a/util/processOrg.tsx
+++ b/util/processOrg.tsx
@@ -77,6 +77,7 @@ export const ProcessedOrg = (props: ProcessedOrgProps) => {
.use(extractKeywords)
.use(attachments, {
idDir: attachDir || undefined,
+ useInheritance: true,
})
.use(uniorgSlug)
.use(uniorg2rehype, { useSections: true })