Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

rtk-markdown-view

最終更新 Markdown で表示Agent セットアップ

プロパティ

プロパティ 型 必須 デフォルト 説明
maxLength number ✅ - Markdown として描画するテキストの最大長
text string ✅ - Markdown として描画する生テキスト

使用例

基本的な使い方

<rtk-markdown-view></rtk-markdown-view>

プロパティを指定する場合

<rtk-markdown-view
 text="example">
</rtk-markdown-view>
<script>
  const el = document.querySelector("rtk-markdown-view");

  el.maxLength= 42;
</script>

役に立ちましたか?