JPD
(JPD)
23 Marzo 2024, 1:32am
1
Esiste un’opzione (o c’è la possibilità che tale opzione venga aggiunta in futuro prevedibile) per poter utilizzare i tag HTML con stili inline nei post? Ad esempio:
<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 Mi Piace
Heliosurge
(Dan DeMontmorency)
23 Marzo 2024, 2:26am
2
Questo è il tuo codice pubblicato
JPD
(JPD)
23 Marzo 2024, 3:48am
3
La parte fondamentale è far sì che appaia come sullo schermo (in un browser), il che sarebbe:
Non c’è l’opzione per avere un intervallo libero di html/css utilizzabile nei post, ma puoi estendere ciò che è possibile installando il plugin Discourse BBCode , o creando dei wrapper personalizzati pre-stilizzati:
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 Mi Piace