JPD
(JPD)
Março 23, 2024, 1:32am
1
Existe alguma opção (ou há alguma chance de tal opção ser adicionada em um futuro previsível) para poder usar tags HTML com estilos inline em posts? Por exemplo:
<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 curtida
Heliosurge
(Dan DeMontmorency)
Março 23, 2024, 2:26am
2
Este é o seu código postado
JPD
(JPD)
Março 23, 2024, 3:48am
3
A parte principal é fazer com que pareça na tela (em um navegador), o que seria:
Não há opção para ter um intervalo livre de HTML/CSS utilizável em posts, mas você pode estender o que é possível instalando o plugin Discourse BBCode , ou criando wrappers personalizados pré-estilizados:
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 curtidas