diff --git a/README.md b/README.md index 43012cb..58e84cb 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ - [CSS Styling](#css-styling) - [Custom CSS Class and ID](#custom-css-class-and-id) - [Using Unordered/Ordered lists](#using-unorderedordered-lists) + - [Using divs as list elements](#using-divs-as-list-elements) + - [Using a flat list](#using-a-flat-list) - [Alternative Tools](#alternative-tools) ## Installation @@ -162,6 +164,8 @@ toc: sublist_class: '' item_class: toc-entry item_prefix: toc- + div_list: false + flat_list: false ``` ### TOC levels @@ -296,7 +300,7 @@ toc: list-style-type: upper-alpha; } -.my-sublist-class: { +.my-sublist-class { list-style-type: lower-alpha; } ``` @@ -305,6 +309,110 @@ This will produce: ![screenshot](https://user-images.githubusercontent.com/7675276/85813980-a0ea5a80-b719-11ea-9458-ccf9b86a778b.png) +### Using divs as list elements + +By default, the table of contents is generated using `