Skip to content

v1.1.0

Choose a tag to compare

@azu azu released this 13 Oct 11:33
· 12 commits to main since this release

Features

trusted function prevent the escaping by markdown-function

import { mdLink, trusted } from "markdown-function"
const markdown = `## ${mdLink({ text: trusted("**TITLE**"), url: "https://example.com" })};
console.log(markdown); // => "## [**TITLE**](https://example.com)