parent
93ca39202c
commit
8167c65499
@ -417,8 +417,11 @@ function! s:tag_wikilink(value) "{{{
|
|||||||
if g:vimwiki_debug > 1
|
if g:vimwiki_debug > 1
|
||||||
echom '[[idx='.idx.', scheme='.scheme.', path='.path.', subdir='.subdir.', lnk='.lnk.', ext='.ext.']]'
|
echom '[[idx='.idx.', scheme='.scheme.', path='.path.', subdir='.subdir.', lnk='.lnk.', ext='.ext.']]'
|
||||||
endif
|
endif
|
||||||
|
if anchor != ''
|
||||||
let anchor = substitute(anchor, '#', '-', 'g')
|
let anchor = substitute(anchor, '#', '-', 'g')
|
||||||
let line = vimwiki#html#linkify_link(url.'#'.anchor, descr)
|
let url .= '#'.anchor
|
||||||
|
endif
|
||||||
|
let line = vimwiki#html#linkify_link(url, descr)
|
||||||
return line
|
return line
|
||||||
endfunction "}}}
|
endfunction "}}}
|
||||||
"}}}
|
"}}}
|
||||||
|
Loading…
Reference in New Issue
Block a user