[Feature request] Filter doctoc by number of lines in a file

twitter logo github logo ・1 min read

It would be great if there are any Javascript devs who want to fix issues in this repo such as this one that I just filed! https://github.com/thlorenz/doctoc/issues/152.

Filter doctoc, by default, to not add a ToC to files that are below 30 lines (20 lines would fit on a page on most screens); scrolling 10 lines is just about as easy as clicking on a link, then add a flag to change this number of lines.

twitter logo DISCUSS (2)
markdown guide

Just wanted to share that you can embed github issues with this syntax:

{% github https://github.com/thlorenz/doctoc/issues/152 %}

Also, feel free to drop this project in our open source thread:

Classic DEV Post from Aug 22 '19

Where in the world do you DEV?

Show off where in the world you DEV from!

James Ray profile image
The above profile pic is old, hair is short now :) https://about.me/james.ray and other social links there are likely to be relatively up-to-date

👋 Hey dev.to reader.

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️