fix styling for bullet points

This commit is contained in:
Jacky Zhao 2023-07-06 19:18:18 -07:00
parent f5847d7eb2
commit bc6ae598b6
2 changed files with 5 additions and 1 deletions

View File

@ -80,6 +80,9 @@ export function createFileParser(transformers: QuartzTransformerPluginInstance[]
try { try {
const file = await read(fp) const file = await read(fp)
// strip leading and trailing whitespace
file.value = file.value.toString().trim()
// Text -> Text transforms // Text -> Text transforms
for (const plugin of transformers.filter(p => p.textTransform)) { for (const plugin of transformers.filter(p => p.textTransform)) {
file.value = plugin.textTransform!(file.value) file.value = plugin.textTransform!(file.value)

View File

@ -71,9 +71,10 @@ a {
font-size: 2rem; font-size: 2rem;
} }
& ul:has(input[type='checkbox']) { & li:has(> input[type='checkbox']) {
list-style-type: none; list-style-type: none;
padding-left: 0; padding-left: 0;
margin-left: -1.4rem;
} }
} }