From 4d4d9d999544f1974c517ad3e8a6343f024fc0c9 Mon Sep 17 00:00:00 2001 From: XLBilly Date: Tue, 4 Nov 2025 20:03:38 +0800 Subject: [PATCH] [DOCS] Add docs about deprecated classes (#9345) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add docs about deprecated classes * Add Core classes tag * Deprecate `tc-language-*` class * Update deprecation warning * 更新 Deprecated Core Classes.tid Co-authored-by: Saq Imtiaz * Apply suggestion from @saqimtiaz --------- Co-authored-by: Saq Imtiaz --- .../tw5.com/tiddlers/Deprecated Core Classes.tid | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 editions/tw5.com/tiddlers/Deprecated Core Classes.tid diff --git a/editions/tw5.com/tiddlers/Deprecated Core Classes.tid b/editions/tw5.com/tiddlers/Deprecated Core Classes.tid new file mode 100644 index 0000000000..bb47518cd6 --- /dev/null +++ b/editions/tw5.com/tiddlers/Deprecated Core Classes.tid @@ -0,0 +1,13 @@ +created: 20251015120940754 +modified: 20251101092833913 +tags: $:/deprecated [[Core Classes]] +title: Deprecated Core Classes +type: text/vnd.tiddlywiki + +<<.warning "It is not recommended to use these classes for styling. Though tiddlywiki might still support them, they may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using them, and update existing code if possible. Be aware that this feature may cease to work at any time.">> + +These [[Core Classes]] are considered deprecated. It is not recommend to use them for styling. + +* `tc-tagged-*` <<.deprecated-since 5.1.16>> Use [[Custom styles by data-tags]] instead. +* `tc-reveal` <<.deprecated-since 5.3.8>> for styling purposes as it is subject to change. +* `tc-language-(language code)` <<.deprecated-since 5.3.8>> Please use [[:lang()|https://developer.mozilla.org/en-US/docs/Web/CSS/:lang]] instead. \ No newline at end of file