Jacky Zhao
2023-08-18 e10f6da01140f483162fe33cc77b2255b0683ac7
quartz/plugins/transformers/ofm.ts
@@ -196,7 +196,7 @@
              // embed cases
              if (value.startsWith("!")) {
                const ext: string = path.extname(fp).toLowerCase()
                const url = slugifyFilePath(fp as FilePath) + ext
                const url = slugifyFilePath(fp as FilePath)
                if ([".png", ".jpg", ".jpeg", ".gif", ".bmp", ".svg"].includes(ext)) {
                  const dims = alias ?? ""
                  let [width, height] = dims.split("x", 2)