Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nested ordered list #41

Closed
bjtho08 opened this issue Apr 22, 2024 · 1 comment
Closed

Add support for nested ordered list #41

bjtho08 opened this issue Apr 22, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bjtho08
Copy link
Contributor

bjtho08 commented Apr 22, 2024

Currently, only unordered lists are supported. I would like support for ordered lists.

The end result would be something like this:

% The code block below
```toc
title: # Table of Contents
style: nestedOrderedList
```
% results in the following toc
# Table of Contents
1. First heading
2. Second Heading
    1. First Sub-Heading
    2. Second Sub-heading
3. Third Heading

% given these headings in the document
# First heading
# Second Heading
## First Sub-Heading
## Second Sub-heading
# Third Heading
@bjtho08 bjtho08 added the enhancement New feature or request label Apr 22, 2024
@johansatge
Copy link
Owner

Supported in 1.4.0, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants