Lines Matching full:toc
37 marker. The marker defaults to `[TOC]` so the following document:
40 [TOC]
50 <div class="toc">
63 Table of Contents is available as an attribute (`toc`) on the Markdown class.
68 >>> md = markdown.Markdown(extensions=['toc'])
70 >>> page = render_some_template(context={'body': html, 'toc': md.toc})
99 `data-toc-label` attribute is defined on the header, then the contents of that
106 [TOC]
110 ## `markdown.markdown(text [, **kwargs])` { #markdown data-toc-label='markdown.markdown' }
115 <div class="toc">
128 in the context of a Table of Contents. The `data-toc-label` is not included in
132 from the `data-toc-label` attribute.
137 See [Extensions](index.md) for general extension usage. Use `toc` as the name
146 Text to find and replace with the Table of Contents. Defaults to `[TOC]`.
155 CSS class(es) used for the `<div>` containing the Table of Contents. Defaults to `toc`.
189 >>> from markdown.extensions.toc import TocExtension
231 markdown.markdown(some_text, extensions=['toc'])