Skip to content

Commit

Permalink
chore: fix table of contents in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmarqs committed Feb 3, 2024
1 parent 553feb2 commit db4ccdb
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ yarn add zod-config zod # yarn
- [Combine multiple adapters](#combine-multiple-adapters)
- [Callbacks](#callbacks)
- [Contributing notes](#contributing-notes)
- [On the web](#on-the-web)


## Quick Start
Expand All @@ -60,17 +61,6 @@ From the package we also expose the types `Adapter` and `Config` in case you wan

This library provides some built in adapters to load the configuration from different sources via modules. You can easily import them from `zod-config/<built-in-adapter-module-name>` (see the examples below).

### Table of contents:

- [Default Adapter](#default-adapter)
- [Built In Adapters](#built-in-adapters)
- [Env Adapter](#env-adapter)
- [JSON Adapter](#json-adapter)
- [Combine multiple adapters](#combine-multiple-adapters)
- [Callbacks](#callbacks)
- [Contributing notes](#contributing-notes)
- [On the web](#on-the-web)

### Default Adapter

By default, Zod Config will load the configuration from `process.env`, no need to provide any adapter.
Expand Down Expand Up @@ -128,7 +118,7 @@ const customConfig = await loadConfig({
});
```
### JSON Adapter
#### JSON Adapter
Loads the configuration from a JSON file.
Expand Down

0 comments on commit db4ccdb

Please sign in to comment.