Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 490 Bytes

popular-berries-travel.md

File metadata and controls

17 lines (13 loc) · 490 Bytes
@astrojs/markdoc
patch

Add a built-in extension for syntax highlighting with Prism. Apply to your Markdoc config using the extends property:

// markdoc.config.mjs
import { defineMarkdocConfig } from '@astrojs/markdoc/config';
import prism from '@astrojs/markdoc/prism';

export default defineMarkdocConfig({
  extends: [prism()],
})

Learn more in the @astrojs/markdoc README.