Skip to content

pantoken / plugins/typedoc/demo/src / rewriteComment

Fušla: rewriteComment()

rewriteComment(comment): void

Behta

Geavahit buot @demo blokka-tagat kommentáras ja lihttit daid demo gámasii maid leat liitet coahkkimis-čájáldaga sin, ovddideaddji. Blokka-tagain sisältö re-fence-ráda markdown-thema, dasgo gámas galgá leat čájáldaga proseas mii sáhttá boahtit verbahtta.

Parametera

comment

Comment

Kommentár maid galgá čájálašvuođat paikái.

Gullii / Gávdnat

void

Exempel

ts
import { rewriteComment } from "@pantoken/typedoc-plugin-demo";

// Given a comment with `@demo self:button`, appends a ```demo``` fence and drops the tag.
rewriteComment(comment);