Socket
Socket
Sign inDemoInstall

remark-lint-no-undefined-references

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-no-undefined-references

remark-lint rule to warn when references to undefined definitions are found


Version published
Weekly downloads
122K
increased by11.26%
Maintainers
2
Weekly downloads
 
Created

What is remark-lint-no-undefined-references?

The `remark-lint-no-undefined-references` package is a plugin for `remark-lint` that checks for undefined references in Markdown files. It helps ensure that all reference links in your Markdown documents are defined, preventing broken links and improving document integrity.

What are remark-lint-no-undefined-references's main functionalities?

Check for undefined references

This feature checks for any undefined references in a Markdown file. The code sample demonstrates how to use `remark-lint-no-undefined-references` with `remark` to process a Markdown string and report any undefined references.

const remark = require('remark');
const lint = require('remark-lint');
const noUndefinedReferences = require('remark-lint-no-undefined-references');

remark()
  .use(lint)
  .use(noUndefinedReferences)
  .process('[undefined]: https://example.com', function (err, file) {
    console.error(report(err || file));
  });

Other packages similar to remark-lint-no-undefined-references

Keywords

FAQs

Package last updated on 24 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc