Is [[toc]] to be preferred over [toc]

Joplin 2.6.10 (prod, win32)

Client ID: 3bfe3b9e803f4a3695d54544dcf3c555
Sync Version: 3
Profile Version: 41
Keychain Supported: Yes
Windows 10 and Android
Revision: 98fba37

I've noticed that most people here seem to use [[toc]] for the toc instead of the simpler [toc]. Is there a reason for this? I use a lot of toc and if I'm making a mistake I don't want to get bitten later.

:person_shrugging:

it seems that differences are under the hood, here's a thread if you keen on digging up the truth

Place one of: ${toc} , [[toc]] , [toc] , [[_toc_]] in your markdown and, BOOM, the <nav class="table-of-contents"> will be there.

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