David Fischer
2024-11-09 31e0b7c6f802cfab7250b7e9dfb321b3889ef6ca
quartz/plugins/transformers/description.ts
@@ -18,7 +18,7 @@
  "g",
)
export const Description: QuartzTransformerPlugin<Partial<Options> | undefined> = (userOpts) => {
export const Description: QuartzTransformerPlugin<Partial<Options>> = (userOpts) => {
  const opts = { ...defaultOptions, ...userOpts }
  return {
    name: "Description",
@@ -61,6 +61,7 @@
                const currentSentence = sentence.endsWith(".") ? sentence : sentence + "."
                finalDesc.push(currentSentence)
                currentDescriptionLength += currentSentence.length
                sentenceIdx++
              }
            }