1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Add a faint background to freelinks

This commit is contained in:
Jeremy Ruston 2020-01-04 16:33:52 +00:00
parent 1ed884cef4
commit 1c91f72baa
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,8 @@
title: $:/plugins/tiddlywiki/freelinks/styles
tags: [[$:/tags/Stylesheet]]
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
button.tc-tiddlylink.tc-freelink, a.tc-tiddlylink.tc-freelink {
background-color: #5777d91c;
}

View File

@ -98,7 +98,8 @@ TextNodeWidget.prototype.execute = function() {
childParseTree[index] = {
type: "link",
attributes: {
to: {type: "string", value: match[0]}
to: {type: "string", value: match[0]},
"class": {type: "string", value: "tc-freelink"}
},
children: [{
type: "plain-text", text: match[0]