Fixes #558
parent
f3d72ca6f4
commit
95301a41ff
|
@ -47,6 +47,27 @@ ul li::before {
|
||||||
/* Also needed for space (tweak if needed) */
|
/* Also needed for space (tweak if needed) */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.wiki-link {
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0 5px;
|
||||||
|
color: var(--editor-wiki-link-page-color);
|
||||||
|
background-color: var(--editor-wiki-link-page-background-color);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.task-deadline {
|
||||||
|
background-color: rgba(22, 22, 22, 0.07);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
body:hover #button-bar,
|
body:hover #button-bar,
|
||||||
body:active #button-bar {
|
body:active #button-bar {
|
||||||
|
|
|
@ -248,6 +248,7 @@ function render(
|
||||||
name: "a",
|
name: "a",
|
||||||
attrs: {
|
attrs: {
|
||||||
href: `/${ref.replace("@", "#")}`,
|
href: `/${ref.replace("@", "#")}`,
|
||||||
|
class: "wiki-link",
|
||||||
"data-ref": ref,
|
"data-ref": ref,
|
||||||
},
|
},
|
||||||
body: linkText,
|
body: linkText,
|
||||||
|
@ -333,7 +334,13 @@ function render(
|
||||||
}
|
}
|
||||||
|
|
||||||
case "DeadlineDate":
|
case "DeadlineDate":
|
||||||
return renderToText(t);
|
return {
|
||||||
|
name: "span",
|
||||||
|
attrs: {
|
||||||
|
class: "task-deadline",
|
||||||
|
},
|
||||||
|
body: renderToText(t),
|
||||||
|
};
|
||||||
|
|
||||||
// Tables
|
// Tables
|
||||||
case "Table":
|
case "Table":
|
||||||
|
|
Loading…
Reference in New Issue