refactor(theme-classic): move some logic of CodeBlock to theme-common (#5922)

This commit is contained in:
Joshua Chen 2021-11-12 23:43:40 +08:00 committed by GitHub
parent 7281844179
commit 334470b5d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 170 additions and 160 deletions

View file

@ -22,7 +22,11 @@ export {createStorageSlot, listStorageKeys} from './utils/storageUtils';
export {useAlternatePageUtils} from './utils/useAlternatePageUtils';
export {parseCodeBlockTitle} from './utils/codeBlockUtils';
export {
parseCodeBlockTitle,
parseLanguage,
parseLines,
} from './utils/codeBlockUtils';
export {docVersionSearchTag, DEFAULT_SEARCH_TAG} from './utils/searchUtils';