يدعم جدول Markdown صيغةً لا تبدأ فيها الأعمدة الأولى بعلامة عمودية (ولا تنتهي الأعمدة الأخيرة بإحدى هذه العلامات).
هذا جدول صالح ![]()
icon | description | content |
-|-|-|
:discourse2: | **Summary** | **Discourse OpenID Connect** allows an OpenID Connect provider to be used as an authentication provider for Discourse.
:hammer_and_wrench: | **Repository Link** | <https://github.com/discourse/discourse-openid-connect>
:open_book: | **Install Guide** | [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)
يظهر بالشكل التالي:
| icon | description | content |
|---|---|---|
| Summary | Discourse OpenID Connect allows an OpenID Connect provider to be used as an authentication provider for Discourse. | |
| Repository Link | https://github.com/discourse/discourse-openid-connect | |
| Install Guide | How to install plugins in Discourse |
عند تعديل الجدول وحفظه (دون تغيير البيانات) باستخدام باني الجداول، يتم تكرار كل صف لا يحتوي على علامة عمودية في بدايته:
If headers miss a leading pipe, editing and saving duplicates the header:
If headers and the separator miss a leading pipe, it duplicates the header and the separator:
If all rows but the header miss a leading pipe, editing and saving duplicates everything but the header
gmumsb.cloudfront.net/original/4X/8/6/9/8698915fc6b623d8f1d4495694845016fcace410.mp4
إذا فاتت كل الصفوف علامة عمودية في بدايتها، فإن حفظ الجدول لا يعمل وينتج خطأً في جافاسكريبت:
Cannot read properties of null (reading 'length').
لم يستخدم الجدول الافتراضي من قالب الموضوع في Customization > Plugin علامات عمودية في البداية، لذا قمت بتعديله لإضافة العلامات ومنع الأخطاء المحتملة.
لنلخص الأمر:
-
صفوف الجداول التي لا تحتوي على علامات عمودية في البداية هي صيغة Markdown صالحة
-
باني الجداول لا يفضل صفوف الجداول التي تفتقر إلى علامات عمودية في البداية
![]()