@xmark/theme-landing-page
v0.11.8
Published
Theme file to be used with @xmark/transform-landing-page
Readme
@xmark/theme-landing-page
xmark plugin to apply styles to structure generated by @xmark/transform-landing-page
Usage
yarn add @xmark/core @xmark/transform-landing-page @xmark/them-landing-pageconst inspect = require('unist-util-inspect');
const XMark = require('@xmark/core');
const transform = require('@xmark/transform-landing-page');
const theme = require('@xmark/theme-landing-page');
const xmark = XMark();
xmark.useTransform(transform, {});
xmark.useTheme(theme, {});
const markdown = `
`;
const hast = xmark.toHAST(markdown);
console.log(inspect(hast));