misterjtc
(Jordan Cook)
8 يناير 2021، 4:34م
1
I am trying to make some fancyish tables in a Discourse post and cant seem to get it to work. In a nut shell I want to merge some cells to place multiple cells underneath or similar. Is this possible?
This is my syntax
| | Grouping ||
First Header | Second Header | Third Header |
------------ | :-----------: | -----------: |
Content | Long Cell ||
Content | Cell | Cell |
This is what I get
| | Grouping ||
First Header
Second Header
Third Header
Content
Long Cell
Content
Cell
Cell
This is what I am trying to do
Any advice is appreciated!
moggleif
(Morgan Johansson)
8 يناير 2021، 4:57م
2
That seems like a copy paste of multimarkdown example.
And I think Discourse is using markdown.it . Therefore not possible to do in Discourse.
أبحث عن حل للحاجة إلى دمج خلايا الجدول في المنتدى، وذلك لتحسين واجهة العرض. بالإضافة إلى السماح بإضافة صور إلى الجدول. ثم وجدت مقدمة لـ jekyll-spaceship
الرابط: https://stackoverflow.com/questions/46621765/can-i-merge-table-rows-in-markdown
فهل قام أي شخص بدمجه في جوهر discourse؟ ليس بعد؟
إعجاب واحد (1)
Canapin
(Coin-coin le Canapin)
17 مارس 2023، 10:22ص
4
لا يمكن ذلك حاليًا، ولا يدعم Discourse سمات colspan أو rowspan لعناصر <td> و <th>. لا أعتقد أن هذا مدرج في خارطة الطريق أيضًا.
من الممكن أن تتمكن من إضافة الدعم لهذا باستخدام إضافة مخصصة. انظر: Whitelisting HTML tags / attributes
قائمة عناصر HTML المدعومة موجودة هنا: https://github.com/discourse/discourse/blob/main/app/assets/javascripts/pretty-text/addon/allow-lister.js#L115 . تبدو علامات الجدول هنا: https://github.com/discourse/discourse/blob/main/app/assets/javascripts/pretty-text/engines/discourse-markdown/table.js
ربما يكون هذا مفيدًا.
إذا كنت ترغب في طلب السماح بسمات colspan أو rowspan في الإصدار الأساسي، فقد ترغب في إنشاء موضوع Feature جديد.
إعجابَين (2)
شكراً لك، سأشير إلى عينة المقالة في ميزة الفئة للحصول على توصية واضحة
system
(system)
تم إغلاقه في
29 أبريل 2023، 1:32م
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.