Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Simple library that lists (href, text, status ) from markdown file.

Notifications You must be signed in to change notification settings

amandaalmeida89/SAP003-md-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Links

Table of Contents


Install

You can get it on npm

$ npm install https://github.com/amandaalmeida89/SAP003-md-links

Then import it with a module

Example

const mdLinks = require("md-links");

mdLinks("/some/example.md", { validate: true })
  .then(links => {
    // => [{ href, text, status }]
  })
  .catch(console.error);

You can use via CLI (Command Line Interface)

$ npm install -g https://github.com/amandaalmeida89/SAP003-md-links

Usage

The executable of our application can be executed as follows through the terminal:

md-links <path-to-file> [options]

Example

$ md-links ./some/example.md --validate

For help of our application

md-links --help

Contribute

All contributions are welcome.

Fork the repo on GitHub Clone the project to your own machine Install the tools necessary for development: npm install Make your changes and test it: npm test Commit it to your own branch Push your work back up to your fork Submit a pull request with full remarks documenting your changes

About

Simple library that lists (href, text, status ) from markdown file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published