mirror of
https://github.com/alrayyes/wiki.git
synced 2025-04-30 14:24:12 +00:00
fix styling for bullet points
This commit is contained in:
parent
9cbacca2d4
commit
b3480bdc49
2 changed files with 5 additions and 1 deletions
quartz/processors
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue