Jacky Zhao
2023-07-08 b90590b9f487cdd49f019375fa5a09aad2e8ec1f
quartz/processors/parse.ts
@@ -80,6 +80,9 @@
      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)