Releases · azu/markdown-function

v2.0.0

What's Changed

Breaking Changes

  • refactor: migrate to dual package by @azu in #4

CI

  • CI: update ubuntu-18.04 to ubuntu-latest by @azu in #2

Full Changelog: v1.1.1...v2.0.0

v1.1.1

v1.1.0

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)

v1.0.2

Bug Fixes

  • no handlong invalid url (e800ce0)

v1.0.1