diff options
author | Waylan Limberg <waylan@gmail.com> | 2014-02-16 14:41:13 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2014-02-16 14:41:13 -0500 |
commit | 1144e2a94cf3f78dedda0b88649ce789fb8d1edf (patch) | |
tree | 6474587da2a36a5983adb3ad97ba62489f28f82e /docs/extensions/toc.txt | |
parent | 9a03243ff51ce2e868cfd2de713d7de6ae84140e (diff) | |
download | markdown-1144e2a94cf3f78dedda0b88649ce789fb8d1edf.tar.gz markdown-1144e2a94cf3f78dedda0b88649ce789fb8d1edf.tar.bz2 markdown-1144e2a94cf3f78dedda0b88649ce789fb8d1edf.zip |
Cleaned up some minor issues with recent changes to docs.
Diffstat (limited to 'docs/extensions/toc.txt')
-rw-r--r-- | docs/extensions/toc.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/extensions/toc.txt b/docs/extensions/toc.txt index d13aadb..4d2d3c0 100644 --- a/docs/extensions/toc.txt +++ b/docs/extensions/toc.txt @@ -52,7 +52,7 @@ configuring extensions. The following options are provided to configure the output: -* **marker**: +* **`marker`**: Text to find and replace with the Table of Contents. Defaults to `[TOC]`. @@ -69,20 +69,20 @@ The following options are provided to configure the output: >>> html = md.convert(text) >>> render_some_template(context={'body': html, 'toc': md.toc}) -* **slugify**: +* **`slugify`**: Callable to generate anchors based on header text. Defaults to a built in `slugify` method. The callable must accept one argument which contains the text content of the header and return a string which will be used as the anchor text. -* **title**: +* **`title`**: Title to insert in the Table of Contents' `<div>`. Defaults to `None`. -* **anchorlink**: +* **`anchorlink`**: Setting to `True` will cause the headers link to themselves. Default is `False`. -* **permalink**: +* **`permalink`**: Set to `True` to have this extension generate a Sphinx-style permanent links near the headers (for use with Sphinx stylesheets). |