markdown-to-html-cli
Version:
Command line tool generates markdown as html.
22 lines • 624 B
JavaScript
import { cssCornersFork } from './github-corners-fork.css.js';
export const githubCornersForkStyle = cssCornersFork;
export function githubCornersFork(opts) {
const { href } = opts;
if (!href) {
return;
}
return {
type: 'element',
tagName: 'a',
properties: {
'aria-label': 'Fork me on Github',
title: 'Fork me on GitHub',
target: '__blank',
className: 'github-fork-ribbon',
'data-ribbon': 'Fork me on GitHub',
href,
},
children: []
};
}
//# sourceMappingURL=github-corners-fork.js.map