All files / plugins / gfm.ts

100.00% Branches 0/0
100.00% Lines 9/9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
x1
 
x24
 
x1
 
 
 
x24
x24
x24
x56
x56
x24











// Imports
import type { Plugin } from "../renderer.ts"
import remarkGfm from "remark-gfm"

/**
 * Enable GitHub Flavored Markdown (GFM).
 *
 * {@link https://github.github.com/gfm | See GitHub Flavored Markdown specification for more information}.
 */
export default {
  remark(processor) {
    return processor.use(remarkGfm)
  },
} as Plugin