fix(markdown): KaTeX 스타일시트 로드 시 NEXT_PUBLIC_BASE_PATH 연동 - #90
Merged
Conversation
- MarkdownContent에서 KaTeX CSS 링크 삽입 시 NEXT_PUBLIC_BASE_PATH 환경변수를 반영하도록 getKatexStylesheetUrl 함수 적용 - GitHub Pages 서브디렉터리 배포 환경에서 KaTeX 스타일시트 404 방지 - getKatexStylesheetUrl에 대한 단위 테스트(tests/katex-assets.test.ts) 추가
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MarkdownContent컴포넌트에서 KaTeX CSS 링크 삽입 시NEXT_PUBLIC_BASE_PATH환경변수를 반영하도록getKatexStylesheetUrl함수 적용/<repo>/) 배포 환경에서 KaTeX 스타일시트가 404로 실패하지 않고 올바른 서브경로로 로드되도록 보장getKatexStylesheetUrl에 대한 단위 테스트(tests/katex-assets.test.ts) 추가