
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
marked-linkify-it
Advanced tools
marked using linkify-it for urls
import { marked } from "marked";
import markedLinkifyIt from "marked-linkify-it";
// or UMD script
// <script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js"></script>
// <script src="https://cdn.jsdelivr.net/npm/marked-linkify-it/lib/index.umd.js"></script>
const schemas = {};
const options = {};
marked.use(markedLinkifyIt(schemas, options));
marked("example.com");
// <p><a href="http://example.com">example.com</a></p>
schemassee https://github.com/markdown-it/linkify-it#api
Note: #add() doesn't work with this extension
markedLinkifyIt.add('@', {...}) // Doesn't work, you need to pass a schema manually
Instead do:
const schemas = {
'@': {
validate: function (text, pos, self) {
// ...
},
normalize: function (match) {
// ...
}
}
};
optionssee https://github.com/markdown-it/linkify-it#api
linkify options plus the following additional options:
tldsString|String[]
replace or add tlds for fuzzy links/
tldsKeepOldBoolean; Default: false
true to add domains instead of replacing domain list.
FAQs
marked extension to use linkify-it for autolinks
The npm package marked-linkify-it receives a total of 11,841 weekly downloads. As such, marked-linkify-it popularity was classified as popular.
We found that marked-linkify-it demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.