Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
test
.npmignore
package.json
readme.md

readme.md

@sphido/link

Install

yarn add @sphido/link

Example

const globby = require('globby');
const {getPage} = require('@sphido/core');
const {link} = require('@sphido/link');

(async () => {

	const page = await getPage('/example.html',
		...[
			require('@sphido/frontmatter'),
			require('@sphido/marked'),
			require('@sphido/meta'),
			{link}
		]
	);

	console.log(page.link());
})();
You can’t perform that action at this time.