diff --git a/.github/workflows/generate_toc.yml b/.github/workflows/generate_toc.yml new file mode 100644 index 0000000..f21185d --- /dev/null +++ b/.github/workflows/generate_toc.yml @@ -0,0 +1,21 @@ +name: Generate TOC + +on: + push: + paths: + README.md + branches: + main + +permissions: + contents: write + +jobs: + generate-toc: + name: TOC Generator + runs-on: ubuntu-latest + steps: + - uses: technote-space/toc-generator@v4 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/README.md b/README.md index 0e6aa4a..1a2a9f8 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,8 @@

CodeSnap.nvim

📸 Snapshot plugin with rich features that can make pretty code snapshots for Neovim

+ + ## 🚣Migration If you have installed v0.x before, this chapter will show you what break changes version v1.x introduced.