Skip to content

Commit 5d8d5f2

Browse files
andresgitrubentalstra
authored andcommitted
🎨 feat: add copy-tex to improve copying KaTeX (danny-avila#7308)
When selecting equations and using copy paste, uses the correct latex code. Co-authored-by: Ruben Talstra <[email protected]>
1 parent adceab4 commit 5d8d5f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎client/src/main.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import './style.css';
66
import './mobile.css';
77
import { ApiErrorBoundaryProvider } from './hooks/ApiErrorBoundaryContext';
88
import 'katex/dist/katex.min.css';
9+
import 'katex/dist/contrib/copy-tex.js';
910

1011
const container = document.getElementById('root');
1112
const root = createRoot(container);

0 commit comments

Comments
 (0)