New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdownの中で独自記法でメッセージブロックを書けるようにしたい #4225
Comments
@machida
と仕様のまとめにはありますが、具体例の方では
|
@eatplaynap
(message → msg の変換は無し) |
@machida 変更前: |
町田さんからDiscordで下記返答をいただいたので↑については確認済みです。
https://discord.com/channels/715806612824260640/809595476847493192/953572167046529095 |
@machida この変更により、下記のようにクラス名を指定することが可能になりました。
※ |
本番環境で動作確認できたのでcloseします〜! |
メッセージブロック
Markdownのエディタの中で、
このように書くと、
このような HTML が出力されるようにしたい。
メッセージブロックのバリエーション
このバリエーションで、
このように書くと、
と出力されるようにしたい。
メッセージブロックのバリエーション2
このように書くと、
と出力されるようにしたい。
ポイント
メッセージブロックの中はMarkdown記法が使えるようにする。
仕様のまとめ
:::文字列
と:::
があると、<div class="文字列">
、</div>
で囲われる。:::文字列
と:::
の間には Markdown 記法が使える。:::文字列 文字列
とあった場合は、div に複数 class が付く。<div class="文字列 文字列">
The text was updated successfully, but these errors were encountered: