contribute-foss icon indicating copy to clipboard operation
contribute-foss copied to clipboard

Auto-update TOC?

Open LinuxForEveryone opened this issue 6 years ago • 2 comments

Does anyone know of a way we can have the Table of Contents auto-update when a new app / link / etc is added to an existing section of applications.md?

LinuxForEveryone avatar Jun 08 '19 12:06 LinuxForEveryone

Github Pages sort of does this. It renders Markdown to a HTML website via Jekyll, so contribute-foss would be a full featured static website. But as far as I am concerned, it would need some eye candy for that

thefenriswolf avatar Jun 09 '19 08:06 thefenriswolf

I use VS Code and these extensions, which seems to auto-update MarkDown ToC when saving: DavidAnson.vscode-markdownlint yzane.markdown-pdf yzhang.markdown-all-in-one

Highly recommend using these, too: eamodio.gitlens esbenp.prettier-vscode jdforsythe.add-new-line-to-files medo64.render-crlf streetsidesoftware.code-spell-checker

As for auto-pulling a heading from another file, not sure how to do that.

TeamLinux01 avatar Jun 10 '19 16:06 TeamLinux01