Skip to main content
Module

x/gfm/deps.ts>gfmHeadingId

Server-side GitHub Flavored Markdown rendering for Deno
Latest
function gfmHeadingId
import { gfmHeadingId } from "https://deno.land/x/gfm@0.6.0/deps.ts";

Add id attribute to headings (h1, h2, h3, etc) like GitHub.

Parameters

optional
options: GfmHeadingIdOptions

Options for the extension

Returns

MarkedExtension

A marked.MarkedExtension | MarkedExtension to be passed to marked.use | marked.use()