Problem: tags are not really visible
All checks were successful
continuous-integration/drone/push Build is passing

Solution: show tags as tags
This commit is contained in:
Peter Stuifzand 2022-01-17 21:06:00 +01:00
parent f79a01ae9b
commit d584fe8bf7
2 changed files with 4 additions and 1 deletions

View File

@ -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) => {

View File

@ -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 {
} }