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] टैग का उपयोग करके सिंटैक्स को हाइलाइट कर सकते हैं और व्हाइटस्पेस को संरक्षित कर सकते हैं।"
}