GithubHelp home page GithubHelp logo

marketingpipeline / toc-generator-action Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 594 KB

A Github Action to generate a table of contents in your README

License: MIT License

Dockerfile 85.38% Shell 14.62%
github-action github-actions github-workflow github-workflows readme table-of-contents table-of-contents-generator toc-generator toc-generator-action github

toc-generator-action's Introduction

TOC-Generator-Action

A Github Action to generate table of contents in your README
Show your support!

Example and usages

Preview Table Of Contents


How to generate Table Of Contents:

WARNING: Only 1 table of contents can be generated in a README - if you use more than one you WILL face problems.

To generate tables of contents automatically use anywhere in your README.md file a comment like so

<!-- toc -->

<!-- tocstop -->



View Example Workflow Usage

- uses: actions/checkout@v2
- uses: MarketingPipeline/TOC-Generator-Action@main


- name: Commit and Push Updated Table Of Contents
  run: |
     git config --global user.name "github-actions[bot]"
     git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
     git add README.md
     git commit -m "Updated Table Of Contents"
     git push

Example workflow file

Contributing GitHub

Want to imrpove this action? Create a pull request with described in detail with your changes! If approved you will be added to the list of contributors of this awesome project!

See also the list of contributors who participate in this project.

License GitHub

This project is licensed under the MIT License - see the LICENSE.md file for details.

toc-generator-action's People

Contributors

daniijal avatar github-actions[bot] avatar marketingpip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.