vuepress-theme-ccds-test
Version:
This is an anime blog theme based on vuepress, the theme is simple, colorful, versatile, and supports customization, providing multiple components to set the theme
17 lines (16 loc) • 629 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveActiveHeaderLinksPluginOptions = void 0;
/**
* Resolve options for @vuepress/plugin-active-header-links
*/
const resolveActiveHeaderLinksPluginOptions = (themePlugins) => {
if ((themePlugins === null || themePlugins === void 0 ? void 0 : themePlugins.activeHeaderLinks) === false) {
return false;
}
return {
headerLinkSelector: 'a.sidebar-item',
headerAnchorSelector: '.header-anchor',
};
};
exports.resolveActiveHeaderLinksPluginOptions = resolveActiveHeaderLinksPluginOptions;