Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/essentialkaos/mdtoc

Utility for generating table of contents for markdown files
https://github.com/essentialkaos/mdtoc

golang markdown utility

Last synced: about 1 month ago
JSON representation

Utility for generating table of contents for markdown files

Awesome Lists containing this project

README

        


Codacy badge
GitHub Actions CI Status
GitHub Actions CodeQL Status

InstallationUsageCI StatusContributingLicense


`mdtoc` is simple utility for generating table of contents for markdown files.

### Installation

#### From source

To build the MDToc from scratch, make sure you have a working [Go 1.22+](https://github.com/essentialkaos/.github/blob/master/GO-VERSION-SUPPORT.md) workspace ([instructions](https://go.dev/doc/install)), then:

```
go install github.com/essentialkaos/mdtoc@latest
```

#### Prebuilt binaries

You can download prebuilt binaries for Linux and macOS from [EK Apps Repository](https://apps.kaos.st/mdtoc/latest):

```
bash <(curl -fsSL https://apps.kaos.st/get) mdtoc
```

### Usage

### CI Status

| Branch | Status |
|------------|--------|
| `master` | [![CI](https://kaos.sh/w/mdtoc/ci.svg?branch=master)](https://kaos.sh/w/mdtoc/ci?query=branch:master) |
| `develop` | [![CI](https://kaos.sh/w/mdtoc/ci.svg?branch=develop)](https://kaos.sh/w/mdtoc/ci?query=branch:develop) |

### Contributing

Before contributing to this project please read our [Contributing Guidelines](https://github.com/essentialkaos/contributing-guidelines#contributing-guidelines).

### License

[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)