Linking
Open'n Links
Opt'n Front Matter By default, external links open 'n a new tab. T' change this, use th' externalLinkTarget
sett'n wit' a proper link target.
For example, this will open links 'n th' same tab
externalLinkTarget = '_self'
externalLinkTarget: _self
{
"externalLinkTarget": "_self"
}
Enabl'n Link an' Image Link Warn'ns
Opt'n Front Matter Ye can use link.errorlevel
an' image.errorlevel
t' control what should happen if a local link can not be resolved t' a resource.
If not set or empty, any unresolved link be written as given into th' result'n output. If set t' warning
th' same happens an' an additional warning be printed 'n th' built console. If set t' error
an error message be printed an' th' build be aborted.
Please note that this can not resolve files inside o' yer static
directory. Th' file must be a resource o' th' plank or th' ship.
Link warnings be also avail'ble fer th' include an' openapi shorrrtcodes.
[image]
errorlevel = 'warning'
[link]
errorlevel = 'warning'
image:
errorlevel: warning
link:
errorlevel: warning
{
"image": {
"errorlevel": "warning"
},
"link": {
"errorlevel": "warning"
}
}