feat(render) nameLink for each route, fixed #99

This commit is contained in:
qingwei.li 2017-02-28 20:56:11 +08:00 committed by cinwell.li
commit 8ad835ca26
4 changed files with 21 additions and 2 deletions

View file

@ -34,7 +34,6 @@ markdown.renderer = renderer
markdown.init = function (config = {}, base = window.location.pathname) {
contentBase = getBasePath(base)
currentPath = parse().path
if (isFn(config)) {
markdownCompiler = config(marked, renderer)