考えられる回避策は、生の投稿をMarkdownに変換し(方法は不明ですが)、変換されたテキストでの選択範囲の開始インデックスと終了インデックスを確認してから、それを使用して元のテキストからセクションを抽出することです。問題は、文字が1対1で置き換えられると仮定する必要があることです。つまり、Markdownは文字を1対1で置き換えます。
NateDhaliwal
(Nate Dhaliwal)
2
関連トピック
| トピック | 返信 | 表示 | アクティビティ | |
|---|---|---|---|---|
| The quote feature strips out some useful HTML tags from the content | 1 | 89 | 2024 年 12 月 15 日 | |
| Add custom markdown quote bbcode tags | 4 | 313 | 2025 年 1 月 8 日 | |
| Get back the real "raw" data that created a post? | 33 | 3128 | 2026 年 1 月 24 日 | |
| Select only the content of a list item or blockquote | 5 | 795 | 2024 年 4 月 2 日 | |
| Lag in selecting text | 2 | 802 | 2022 年 1 月 31 日 |