Closed dobarx closed 1 month ago
TOC can now be placed anywhere inside document and it will be invoked last and content placed on top.
can both of these be configured? For the cases where TOC should render for a specific section (not the whole doc) and be placed in a specific location, instead just on the top of the doc.
With depends_on
, for example, we could define a scope for TOC. As for the location, maybe we need place_at_the_top_of_the_doc
(or something) bool flag, that defaults to true, but can be see to false with TOC placed inline.
apologies if some of this is covered, I haven't looked through the code yet!
TOC can now be placed anywhere inside document and it will be invoked last and content placed on top.
can both of these be configured? For the cases where TOC should render for a specific section (not the whole doc) and be placed in a specific location, instead just on the top of the doc.
With
depends_on
, for example, we could define a scope for TOC. As for the location, maybe we needplace_at_the_top_of_the_doc
(or something) bool flag, that defaults to true, but can be see to false with TOC placed inline.apologies if some of this is covered, I haven't looked through the code yet!
Ahh, so then I should turn off content placement at top for it and keep original one? As for the scope it should be based on scope
variable that can either be document
or section
Fixes:
text
into separate title, text, code, blockquote
blocks. #133 Fixes: