Problem: tags are not really visible
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Solution: show tags as tags
This commit is contained in:
parent
f79a01ae9b
commit
d584fe8bf7
|
@ -48,7 +48,7 @@ Plugin.prototype.parse = function (state, silent) {
|
||||||
|
|
||||||
Plugin.prototype.render = function (tokens, id, options, env) {
|
Plugin.prototype.render = function (tokens, id, options, env) {
|
||||||
let {match: link} = tokens[id].meta
|
let {match: link} = tokens[id].meta
|
||||||
return '<a href="' + this.options.relativeBaseURL + encodeURIComponent(link) + '" class="wiki-link">' + '#' + link + '</a>';
|
return '<a href="' + this.options.relativeBaseURL + encodeURIComponent(link) + '" class="tag">' + '#' + link + '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
export default (options) => {
|
export default (options) => {
|
||||||
|
|
|
@ -676,6 +676,9 @@ input.input-line, input.input-line:active {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
}
|
}
|
||||||
|
.backrefs .tag {
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
.review {
|
.review {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user