# Enable \[left\] / \[right\] BBCode Blocks Inside Table Cells

**URL:** https://meta.discourse.org/t/enable-left-right-bbcode-blocks-inside-table-cells/375840
**Category:** Support
**Tags:** bbcode
**Created:** [July 25, 2025, 3:23pm UTC](https://meta.discourse.org/t/enable-left-right-bbcode-blocks-inside-table-cells/375840 "2025-07-25T15:23:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [July 25, 2025, 3:23pm UTC](https://meta.discourse.org/t/enable-left-right-bbcode-blocks-inside-table-cells/375840/1 "2025-07-25T15:23:25Z")

</div>

I’m using the official **BBCode plugin** on my Discourse site, and I’d love for `[left]` and `[right]` tags to be supported **within table cells**.

* * *

### ✅ Current working usage

These tags work fine outside of tables:

```plaintext
[left]
This is left-aligned text.
[/left]

[right]
This is right-aligned text.
[/right]

```

➡ \*Renders like this:

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/6/3/563bbb042329100ff1bdef6542c2c99ecc59b463.png)

* * *

### ❌ Problem inside tables

However, using the same tags **within table cells** renders them literally:

```plaintext
| [right] quantity [/right] | [left] dimensional formula [/left] |
|---------------------------|-------------------------------------|
| [right] period $p$ [/right] | [left] $L^0 M^0 T^1$ [/left] |
| [right] length of string $\ell$ [/right] | [left] $L^1 M^0 T^0$ [/left] |

```

➡ _Renders like this:_

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/6/5/b651443bea78a6b184bb334ef7e73fac960ae02e.png)

* * *

### 🎯 What I’d like

I’d like `[right]...[/right]` and `[left]...[/left]` to work within **Markdown table cells** , so I can align content like this:

| _(right-aligned)_ | _(left-aligned)_ |
| --- | --- |
| period p | L^0 M^0 T^1 |
| length of string \ell | L^1 M^0 T^0 |

This would be **very useful** in mathematical, scientific, or multilingual tables.

* * *

### 💡 Possible Solutions

- Support `[right]` / `[left]` as inline BBCode inside cells
- Or add new inline tags like `[align=right]...[/align]` or `[cell=right]...[/cell]`

* * *

Thanks so much for considering this!

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [July 25, 2025, 3:45pm UTC](https://meta.discourse.org/t/enable-left-right-bbcode-blocks-inside-table-cells/375840/2 "2025-07-25T15:45:25Z")

</div>

Why don’t you use markdown?

> [@Adding a table to your post using markdown](https://meta.discourse.org/t/adding-a-table-to-your-post-using-markdown/66544/1):
>
> ## Alignment
> 
> You can control the alignment of column contents with colons (`:`):
> 
> - Left-aligned: `|:---|`
> - Center-aligned: `|:---:|`
> - Right-aligned: `|---:|`

| quantity | dimensional formula |
| --- | --- |
| period p | L^0 M^0 T^1 |
| length of string \ell | L^1 M^0 T^0 |

```plaintext
| quantity | dimensional formula |
|---:|:---|
| period $p$ | $L^0 M^0 T^1$ |
| length of string $\ell$ | $L^1 M^0 T^0$ |

```

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [July 25, 2025, 3:49pm UTC](https://meta.discourse.org/t/enable-left-right-bbcode-blocks-inside-table-cells/375840/3 "2025-07-25T15:49:48Z")

</div>

```plaintext

| quantity | dimensional formula |
|---:|:---|
| period $p$ | $L^0 M^0 T^1$ |
| length of string $\ell$ | $L^1 M^0 T^0$ |

```

| quantity | dimensional formula |
| --- | --- |
| period p | L^0 M^0 T^1 |
| length of string \ell | L^1 M^0 T^0 |

* * *

nice! that works

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 24, 2025, 3:49pm UTC](https://meta.discourse.org/t/enable-left-right-bbcode-blocks-inside-table-cells/375840/4 "2025-08-24T15:49:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
