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": "não mostrar novamente",
"site_legal_meta_contributors_link": "Colaboradores",
"post_link_required_alert": "Você deve postar um link.",
"post_media_link_required_alert": "Você deve postar um link de imagem ou vídeo."
"post_media_link_required_alert": "Você deve postar um link de imagem ou vídeo.",
"post_form_code_tags_prompt": "Você pode destacar a sintaxe e preservar espaços em branco usando tags [code]."
}