1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-22 06:11:23 +00:00

fix styling for bullet points

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

View File

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