Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git Changelog- H2 Headings not hiding #270

Closed
cosmic-jellyfish opened this issue Jul 21, 2024 · 1 comment
Closed

Git Changelog- H2 Headings not hiding #270

cosmic-jellyfish opened this issue Jul 21, 2024 · 1 comment

Comments

@cosmic-jellyfish
Copy link

cosmic-jellyfish commented Jul 21, 2024

Here's a glance of the config

import { InjectionKey, NolebaseGitChangelogPlugin } from '@nolebase/vitepress-plugin-git-changelog/client';
import '@nolebase/vitepress-plugin-git-changelog/client/style.css';

export default {
  ...DefaultTheme,
  Layout() {
    return h(DefaultTheme.Layout, null, {
      'nav-bar-content-after': () => h(NolebaseEnhancedReadabilitiesMenu),
      'nav-screen-content-after': () => h(NolebaseEnhancedReadabilitiesScreenMenu),
    });
  },
  enhanceApp({ app, router }) {
    if (DefaultTheme.enhanceApp) {
      DefaultTheme.enhanceApp({ app });
    }


    app.component('CustomNote', CustomNote);
    app.use(NolebaseGitChangelogPlugin);


    /*app.provide is targeted to NolebaseGitChangelogPlugin*/
    app.provide(InjectionKey, {
      hideChangelogHeader: true,
      hideContributorsHeader: true,
    });

What exactly have I done wrong? As the H2 headings aren't being hidden

    app.provide(InjectionKey, {
      hideChangelogHeader: true,
      hideContributorsHeader: true,
    });
@nekomeowww
Copy link
Member

Sorry, but this feature haven't gotten released yet.

@nekomeowww nekomeowww closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants