Render a [[toc]] table of contents block.
[[toc]]
Non-floating TOC is wrapped in a <table> for Wikidot layout compatibility. Floating TOC (align left or right) uses a <div> with a float class.
<table>
left
right
<div>
The TOC container uses fixed IDs (#toc, #toc-action-bar, #toc-list) that the runtime toc module queries for fold/unfold toggling.
#toc
#toc-action-bar
#toc-list
toc
The current render context.
TOC configuration data with optional alignment.
Render a
[[toc]]table of contents block.Non-floating TOC is wrapped in a
<table>for Wikidot layout compatibility. Floating TOC (alignleftorright) uses a<div>with a float class.The TOC container uses fixed IDs (
#toc,#toc-action-bar,#toc-list) that the runtimetocmodule queries for fold/unfold toggling.