Skip to content

Commit

Permalink
Docs: Add table of contents to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Nov 30, 2021
1 parent a008edc commit e6cdca6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ Provide configurable cookie consent banner with predefined LMC defaults. The UI

The package is a wrapper around [Cookie Consent] by [Orest Bida].

## Table of contents

1. [Basic usage](#basic-usage)
1. [Loading the plugin](#loading-the-plugin)
1. [Manage features depending on given consent](#manage-features-depending-on-given-consent)
1. [Configuration](#configuration)
1. [Configuration options](#configuration-options)
1. [Theming](#theming)
1. [Development and contributing](#development-and-contributing)

## Basic usage

Make assets load faster by placing pre-connect headers right after `<meta charset>` in your `<head>`:
Expand Down Expand Up @@ -379,6 +389,8 @@ If your project does _not_ use Spirit, you still may adjust exposed CSS custom p
}
```
[👀 See dark mode example][examples-theming]
## Development and contributing
### Local development
Expand Down

0 comments on commit e6cdca6

Please sign in to comment.