fix(markdown): render code tags on code-enabled boards

Enable [code] tag parsing for both /g/ and /q/ rendering paths, show the post-form hint on code-enabled boards, and preserve whitespace in BBCode previews.
This commit is contained in:
Tommaso Casaburi
2026-06-28 23:37:59 +07:00
committed by GitHub
parent 1de28afd45
commit 7258e21f6f
45 changed files with 382 additions and 113 deletions
+2 -1
View File
@@ -445,5 +445,6 @@
"settings_upgrade_never_show_again": "今後表示しない",
"site_legal_meta_contributors_link": "貢献者",
"post_link_required_alert": "リンクを投稿する必要があります。",
"post_media_link_required_alert": "画像または動画のリンクを投稿する必要があります。"
"post_media_link_required_alert": "画像または動画のリンクを投稿する必要があります。",
"post_form_code_tags_prompt": "[code] タグを使用して、構文をハイライトし、空白を保持できます。"
}