HTML/CSS in posts

Is there any option (or is there any chance such an option will be added in foreseeable future) to be able use HTML tags with inline styles in posts? For example:

<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 Like
abc...def abc...def

This is your code posted

The key part is making it look like on the screen (in a browser), which would be:

discourse2

There isn’t the option to have a free range of html/css usable in posts but you can extend what’s possible by installing the Discourse BBCode plugin, or by creating pre-styled custom wraps:

3 Likes