Skip to content

pantoken / plugins/typedoc/demo/src / rewriteComment

Fonksyon: rewriteComment()

rewriteComment(comment): void

Beta

Deplase chak etikèt blòk @demo ki sou yon kòmantè nan kloti demo ki ajoute nan rezime li, nan lòd. Kontni etikèt blòk la refè-an-kloti pa tèm markdown lan, kidonk kloti a dwe rete nan tèks rezime a ki emèt mo pa mo.

Paramèt

comment

Comment

Kòmantè pou reekri an plas.

Retounen

void

Egzanp

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);