@xmark/theme-shower-ribbon
xmark plugin to apply styles to structure generated by @xmark/transform-shower-ribbon
Usage
yarn add @xmark/core @xmark/transform-shower @xmark/them-shower-ribbon
const inspect = require('unist-util-inspect');
const XMark = require('@xmark/core');
const transform = require('@xmark/transform-shower');
const theme = require('@xmark/theme-shower-ribbon');
const xmark = XMark();
xmark.useTransform(transform, {});
xmark.useTheme(theme, {});
const markdown = `
`;
const hast = xmark.toHAST(markdown);
console.log(inspect(hast));