Skip to content

pantoken / plugins/typedoc/demo/src / rewriteComment

Mahi: rewriteComment()

rewriteComment(comment): void

Beta

Whakawhitihia ia tapiritanga whakakā @demo i runga i tētahi kōrero ki ngā here demo kua tāpirihia ki tōna whakamārama, i roto i te raupapa. Ka whakahōputia anō te ihirangi o te tapiritanga-ā-bloke e te kaupapa-hoahoa markdown, nō reira me noho te here i roto i te tuhituhi whakamārama, ka whakaputaina ā-tinana.

Ngā Tawhā

comment

Comment

Te kōrero hei tuhituhi anō i te wahi kotahi.

Whakahokia

void

Tauira

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