feat(theme): show unlisted/draft banners in dev mode (#10376)

Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
This commit is contained in:
ozaki 2024-08-08 20:48:42 +02:00 committed by GitHub
parent c58fcbdecd
commit 95ab9f8ee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 411 additions and 140 deletions

View file

@ -43,6 +43,7 @@ export const ThemeClassNames = {
codeBlock: 'theme-code-block',
admonition: 'theme-admonition',
unlistedBanner: 'theme-unlisted-banner',
draftBanner: 'theme-draft-banner',
admonitionType: (type: string) => `theme-admonition-${type}`,
},