JPD
(JPD)
23 مارس 2024، 1:32ص
1
هل هناك أي خيار (أو هل هناك أي فرصة لإضافة مثل هذا الخيار في المستقبل المنظور) لاستخدام علامات HTML مع أنماط مضمنة في المنشورات؟ على سبيل المثال:
<TABLE style="border-collapse: collapse; font-size: 10pt; font-family: Arial">
<COLGROUP>
<COL style="width: 46px" />
<COL style="width: 46px" />
</COLGROUP>
<TR style="height: 20px">
<TD colspan="17" style="font-size: 8pt; background-color: #ff9fec; text-align: center; vertical-align: bottom; padding: 2px 2px 4px 4px">
abc...def</TD>
<TD style=" font-size: 8pt; background-color: #ff9fec; text-align: center; vertical-align: bottom; padding: 2px 2px 4px 4px">
abc...def
</TD>
</TR>
</TABLE>
إعجاب واحد (1)
Heliosurge
(Dan DeMontmorency)
23 مارس 2024، 2:26ص
2
<TABLE style="border-collapse: collapse; font-size: 10pt; font-family: Arial">
<COLGROUP>
<COL style="width: 46px" />
<COL style="width: 46px" />
</COLGROUP>
<TR style="height: 20px">
<TD colspan="17" style="font-size: 8pt; background-color: #ff9fec; text-align: center; vertical-align: bottom; padding: 2px 2px 4px 4px">
abc...def</TD>
<TD style=" font-size: 8pt; background-color: #ff9fec; text-align: center; vertical-align: bottom; padding: 2px 2px 4px 4px">
abc...def
</TD>
</TR>
</TABLE>
هذا هو الكود الخاص بك المنشور
JPD
(JPD)
23 مارس 2024، 3:48ص
3
الجزء الأساسي هو جعله يبدو كما في الشاشة (في المتصفح)، والذي سيكون:
لا يوجد خيار لوضع نطاق مجاني من HTML/CSS قابل للاستخدام في المنشورات، ولكن يمكنك توسيع ما هو ممكن عن طريق تثبيت المكون الإضافي https://meta.discourse.org/t/discourse-bbcode/65425، أو عن طريق إنشاء أغلفة مخصصة مُنسقة مسبقًا:
Requirements
To be able to use these tips and tricks, you need to be an administrator of either a self-hosted Discourse instance or a Discourse-hosted plan higher than Basic.
Introduction
Discourse supports several methods to format and customize a post’s contents. You can find the list here:
But sometimes, you’ll want something more specific, for example, a link that looks like a button.
[Green button]
This is the kind of modification we’ll learn here.
The logic
I’l…
3 إعجابات