Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/diplodocus/marked.ts>Marked.setBlockRule

πŸ¦• Deno Deploy Docs πŸ““
Go to Latest
method Marked.setBlockRule
Re-export
import { Marked } from "https://deno.land/x/diplodocus@0.0.3/marked.ts";

Setting simple block rule.

Parameters

regexp: RegExp
optional
renderer: SimpleRenderer = [UNSUPPORTED]