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] ట్యాగ్‌లను ఉపయోగించి సింటాక్స్‌ను హైలైట్ చేయవచ్చు మరియు ఖాళీ స్థలాలను కాపాడవచ్చు."
}