kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Add a faint background to freelinks
rodzic
1ed884cef4
commit
1c91f72baa
|
@ -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;
|
||||||
|
}
|
|
@ -98,7 +98,8 @@ TextNodeWidget.prototype.execute = function() {
|
||||||
childParseTree[index] = {
|
childParseTree[index] = {
|
||||||
type: "link",
|
type: "link",
|
||||||
attributes: {
|
attributes: {
|
||||||
to: {type: "string", value: match[0]}
|
to: {type: "string", value: match[0]},
|
||||||
|
"class": {type: "string", value: "tc-freelink"}
|
||||||
},
|
},
|
||||||
children: [{
|
children: [{
|
||||||
type: "plain-text", text: match[0]
|
type: "plain-text", text: match[0]
|
||||||
|
|
Ładowanie…
Reference in New Issue