Skip to main content
Module

x/deno_markdown/mod.ts>Markdown#codeBlock

Generate markdown files with ease 🦕
Latest
method Markdown.prototype.codeBlock
import { Markdown } from "https://deno.land/x/deno_markdown@v0.2/mod.ts";

Adds a code block to the content

Parameters

code: string

code you wish to be added

optional
language: string = [UNSUPPORTED]

determines the syntax highlighting for the code