Skip to content

Conversation

1nhann
Copy link

@1nhann 1nhann commented Mar 27, 2022

test.md :

# One

```python
#!/bin/python
print("hello world")
```

## two
hello world

### Three
hello world

# Test
test

## Hello
hi

type ./cli.js test.md --number :

root@ubuntu:~/markdown-toc# ./cli.js test.md --number
  1. [One](#one)
    1. [two](#two)
      1. [Three](#three)
  2. [Test](#test)
    1. [Hello](#hello)

@1nhann
Copy link
Author

1nhann commented Mar 27, 2022

add a parameter called number , when it is true , the number bullet will be used.

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

Successfully merging this pull request may close these issues.

1 participant