UNPKG

marked-code-format

Version:

A marked extension for formatting code blocks using Prettier

7 lines (6 loc) 295 B
import type { MarkedExtension } from 'marked'; import * as prettier from 'prettier'; /** * A [marked](https://marked.js.org/) extension for formatting code blocks using [Prettier](https://prettier.io/). */ export default function markedCodeFormat(options?: prettier.Options): MarkedExtension;