You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(!isAbsolutePath(href)&&// If it is relative path, then cant set linkTarget!compilerClass._matchNotCompileLink(href)&&!config.ignore){if(href===compilerClass.config.homepage){href='README';}href=router.toURL(href,null,router.getCurrentPath());}else{if(!isAbsolutePath(href)&&href.slice(0,2)==='./'){href=document.URL.replace(/\/(?!.*\/).*/,'/').replace('#/./','')+href;}attrs.push(href.indexOf('mailto:')===0 ? '' : `target="${linkTarget}"`);attrs.push(href.indexOf('mailto:')===0
? ''
: linkRel!==''
? ` rel="${linkRel}"`
: '');}
Activity
[-]Support RelativePath link compile[/-][+]Support relativePath link jump[/+][-]Support relativePath link jump[/-][+]Support relativePath link set linkTarget[/+]bilibiliou commentedon Feb 12, 2022
"src\core\render\compiler\link.js" line 22
Koooooo-7 commentedon Feb 13, 2022
Thx for ur report.
Unfortunately, docsify doesn't support the relative target config for now.
I think we may have an update on it asap. :)
bilibiliou commentedon Feb 13, 2022
Okay, thx ur reply and support
I can use the absolute link instead now.
hope you have a nice day :)