Uso do BBCode:
Substituição do HTML:
Linha de ajuda:
Ex.:
Código: Selecionar todos
[open]{TEXT}[/open]Código: Selecionar todos
<div style="border-left: 4px solid #6c757d; background: #f8f9fa; padding: 10px; margin: 10px 0; font-family: 'Courier New', monospace;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px;">
<strong style="color: #343a40;">📁 ABRIR O ARQUIVO:</strong>
<a href="#" onclick="selectCode(this); return false;" style="color: #6c757d; font-size: 0.8em; text-decoration: none; border: 1px solid #6c757d; padding: 1px 5px; border-radius: 3px; background: #fff;">Selecionar tudo</a>
</div>
<pre style="margin: 0;"><code style="color: #444; white-space: pre-wrap; display: block; user-select: all;">{TEXT}</code></pre>
</div>Código: Selecionar todos
[open]Seu texto aqui[/open]📁 ABRIR O ARQUIVO:Selecionar tudo
includes/functions.php