also add md-accent class to links

This commit is contained in:
Johannes Millan 2017-01-16 19:38:00 +01:00
parent e239ec2b22
commit cccf5a4ec8

View file

@ -102,7 +102,7 @@
function configMarked(markedProvider) {
markedProvider.setRenderer({
link: function (href, title, text) {
return '<a href="' + href + '"' + (title ? ' title="' + title + '"' : ' ') + 'target="_blank" external-link>' + text + '</a>';
return '<a href="' + href + '"' + (title ? ' title="' + title + '"' : ' ') + 'target="_blank" external-link class="md-accent">' + text + '</a>';
}
});
}