Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 859 Bytes

absorb.md

File metadata and controls

61 lines (40 loc) · 859 Bytes

Absorbing headings

When adding another Markdown file to your summary, you can pull the headings of the included file in the final output by adding a YAML front matter block to the top of the file.

---
absorb: true
---

For example, given the following:

<!-- summary.md -->

- [Installation](install.md)
- [Configuration](config.md)

<!-- config.md -->
---
absorb: true
---

# Configuration

## Adding a new user

To add a new user, ...

## Removing a user

To remove a user, ...
Output
- [Installation](#install)
- [Configuration](#configuration)
  - [Adding a new user](#adding-a-new-user)
  - [Removing a user](#removing-a-user)

# Installation

<!-- ... -->

# Configuration

## Adding a new user

To add a new user, ...

## Removing a user

To remove a user, ...