import { replaceLink } from "https://dotland.deno.dev/x/pagic@v1.6.3/src/utils/filepath.ts";
input: foo/bar.md output: foo/bar.html
input: README.md output: index.html
input: https://github.com/xcatliu output: https://github.com/xcatliu
import { replaceLink } from "https://dotland.deno.dev/x/pagic@v1.6.3/src/utils/filepath.ts";
input: foo/bar.md output: foo/bar.html
input: README.md output: index.html
input: https://github.com/xcatliu output: https://github.com/xcatliu