Repository: withastro/astro
File: packages/astro/src/types/public/config.ts (TypeScript)

Code before:
					 * @description
					 *
					 * An array of languages to exclude from the default syntax highlighting specified in `markdown.syntaxHighlight.type`.
					 * This can be useful when using tools that create diagrams from Markdown code blocks, such as Mermaid.js and D2.
					 *
					 * ```js title="astro.config.mjs"
           * import { defineConfig } from 'astro/config';
           * 
           * export default defineConfig({
           *   markdown: {
           *     syntaxHighlight: {
           *       type: 'shiki',
           *       excludeLangs: ['mermaid', 'math'],
           *     },
           *   },
           * });
           * ```
					 * 
					 * ```html
					 * <!-- Call Mermaid JavaScript Integration in the body -->
					 * <script>
					 *   import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
					 *   mermaid.initialize({ startOnLoad: false });
					 *   mermaid.run({
					 *     querySelector: 'data-language="mermaid"',
					 *   });
					 * </script>
					 * ```
					 * 
					 * */
					excludeLangs?: string[];
			}
			| SyntaxHighlightConfigType
			| false;
		/**
		 * @docs
		 * @name markdown.remarkPlugins
		 * @type {RemarkPlugins}
		 * @description
		 * Pass [remark plugins](https://github.com/remarkjs/remark) to customize how your Markdown is built. You can import and apply the plugin function (recommended), or pass the plugin name as a string.
		 *
		 * ```js
		 * import remarkToc from 'remark-toc';
		 * {
		 *   markdown: {
		 *     remarkPlugins: [ [remarkToc, { heading: "contents"} ] ]
		 *   }
		 * }
		 * ```
		 */
		remarkPlugins?: RemarkPlugins;

Review comment (suggestion):
```suggestion
```
I would not include this part here, as this is reference documentation for the config option. If we were writing a recipe or a guide, we'd show it in use.

Code after:
					 * This can be useful when using tools that create diagrams from Markdown code blocks, such as Mermaid.js and D2.
					 *
					 * ```js title="astro.config.mjs"
           * import { defineConfig } from 'astro/config';
           * 
           * export default defineConfig({
           *   markdown: {
           *     syntaxHighlight: {
           *       type: 'shiki',
           *       excludeLangs: ['mermaid', 'math'],
           *     },
           *   },
           * });
           * ```
					 * 
					 * ```html
					 * <!-- Call Mermaid JavaScript Integration in the body -->
					 * <script>
					 *   import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
					 *   mermaid.initialize({ startOnLoad: false });
					 *   mermaid.run({
					 *     querySelector: 'data-language="mermaid"',
					 *   });
					 * </script>
					 * ```
					 * 
					 * */
					excludeLangs?: string[];
			}
			| SyntaxHighlightConfigType
			| false;
		/**
		 * @docs
		 * @name markdown.remarkPlugins
		 * @type {RemarkPlugins}
		 * @description
		 * Pass [remark plugins](https://github.com/remarkjs/remark) to customize how your Markdown is built. You can import and apply the plugin function (recommended), or pass the plugin name as a string.
		 *
		 * ```js
		 * import remarkToc from 'remark-toc';
		 * {
		 *   markdown: {
		 *     remarkPlugins: [ [remarkToc, { heading: "contents"} ] ]
		 *   }
		 * }
		 * ```
		 */
		remarkPlugins?: RemarkPlugins;
		/**
		 * @docs
		 * @name markdown.rehypePlugins