fix: support php language in diff view

This commit is contained in:
KevIsDev 2025-03-03 09:24:39 +00:00
parent 4404f4a5c0
commit b01874205e

View File

@ -556,7 +556,7 @@ const InlineDiffComparison = memo(({ beforeCode, afterCode, filename, language }
useEffect(() => {
getHighlighter({
themes: ['github-dark', 'github-light'],
langs: ['typescript', 'javascript', 'json', 'html', 'css', 'jsx', 'tsx'],
langs: ['typescript', 'javascript', 'json', 'html', 'css', 'jsx', 'tsx', 'python', 'php'],
}).then(setHighlighter);
}, []);