import FlowChart from "./FlowChart.vue";
import Presentation from "./Presentation.vue";
import "./styles/container.styl";
const enhanceApp = ({ Vue }) => {
    if (MARKDOWN_ENHANCE_OPTIONS.align || MARKDOWN_ENHANCE_OPTIONS.enableAll)
        void import("vuepress-plugin-md-enhance/client/styles/align.styl");
    if (MARKDOWN_ENHANCE_OPTIONS.footnote || MARKDOWN_ENHANCE_OPTIONS.enableAll)
        void import("vuepress-plugin-md-enhance/client/styles/footnote.styl");
    if (MARKDOWN_ENHANCE_OPTIONS.tex || MARKDOWN_ENHANCE_OPTIONS.enableAll) {
        void import("vuepress-plugin-md-enhance/client/styles/tex.styl");
        void import("katex/dist/katex.min.css");
    }
    if (MARKDOWN_ENHANCE_OPTIONS.flowchart || MARKDOWN_ENHANCE_OPTIONS.enableAll)
        Vue.component("FlowChart", FlowChart);
    if (MARKDOWN_ENHANCE_OPTIONS.presentation ||
        MARKDOWN_ENHANCE_OPTIONS.enableAll)
        Vue.component("Presentation", Presentation);
};
export default enhanceApp;
