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
 
x16
 
x1
 
 
 
x16
x16
x16
x40
x40
x16











// 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