This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
Images not showing when using external directory as content directory #29
Open
Description
Hi,
I've this case where I load markdown from an absolute path or a path that is not in project directory
and there is no problem with that, all markdown is displayed correctly except images
I use absolute paths for images like ![]("/home/hamdy/wikis/github/info_wiki2020/index/img/demo_site_overview.png")
but images are not shown!
how can I overcome this?
my config looks like
{
use: '@gridsome/source-filesystem',
options: {
baseDir: '/home/hamdy/wikis/',
path: '**/*.md',
typeName: 'MarkdownPage',
remark: {
externalLinksTarget: '_blank',
externalLinksRel: ['noopener', 'noreferrer'],
plugins: [
'@gridsome/remark-prismjs'
]
}
}
},
Metadata
Assignees
Labels
No labels