Original motivation was to process Markdown documents in a way that would make it easier to read as a plain text. On an ebook reader or a piece of paper the links are useless and look ugly.
npm install remark-remove-links
Say we have the following file,
Imagine section titles and URLs a bit longer though.
## TOC--## section 1Section may include some .## section 2More content.
And our script,
example.js, looks as follows:
var vfile =var remark =var removeLinks =
node example yields:
## TOC- section 1- section 2## section 1Section content may include some links.## section 2More content.
Plugin to remove all links, references, and definitions.
This project has a Code of Conduct. By interacting with this repository, organisation, or community you agree to abide by its terms.
MIT © Michael Chris Lopez