HTML 文章目录生成 | HTML article directory generation
这是一个自动给文章生成目录的一段javascript脚本函数,由一个无业的自由人开发 | This is a javascript script function that automatically generates a table of contents for articles. It was developed by an unemployed freelancer.
它的使用方法很简单,因为它内置了一个函数,你只需要调用它即可 | It's easy to use because it has a built-in function and you just need to call it
generateCatalog('.article', '.dir');