🍿 Minor Changes
-
#15340
10a1a5aThanks @trueberryless! - UpdatescreateMarkdownProcessorto support advanced SmartyPants options.The
smartypantsproperty inAstroMarkdownOptionsnow acceptsSmartypantsoptions, allowing fine-grained control over typography transformations (backticks, dashes, ellipses, and quotes).import { createMarkdownProcessor } from '@astrojs/markdown-remark';const processor = await createMarkdownProcessor({smartypants: {backticks: 'all',dashes: 'oldschool',ellipses: 'unspaced',openingQuotes: { double: '«', single: '‹' },closingQuotes: { double: '»', single: '›' },quotes: false,},});For the up-to-date supported properties, check out the
retext-smartypantsoptions.