Skip to content

Extracts link from a section inside a markdown file and stores them into a json file

License

Notifications You must be signed in to change notification settings

mipmip/github-action-markdown-link-extract-to-json

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github action markdown link extract to json

Extracts link from a section inside a markdown file and stores them into a json file

Inputs

in-file

Required Input filename with markdown.

out-file

Required Output filename in which links are store as json.

section

Optional Section to parse in stead of whole document.

Example usage

uses: actions/github-action-markdown-link-extract-to-json@v1.1
with:
  in-file: README.md
  out-file: './links.json'
  section: '## Links'

Example Implementation

This is action is developed for Quiqr Community Templates. It helps converting all links to templates from the README into a json-file which is used by the Quiqr Desktop application. Open the workflow to see how it works.

Quiqr - Hugo Websites for everyone

Contribute

Issues and PR's are welcome. Be polite.

About

Extracts link from a section inside a markdown file and stores them into a json file

Resources

License

Stars

Watchers

Forks

Packages

No packages published