Skip to content

Commit

Permalink
Merge pull request #451 from trilitech/remove-katex
Browse files Browse the repository at this point in the history
Remove katex math library
  • Loading branch information
timothymcmackin authored Sep 20, 2024
2 parents 25c9796 + 9883325 commit 9843b63
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 252 deletions.
11 changes: 0 additions & 11 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// @ts-nocheck
// Note: type annotations allow type checking and IDEs autocompletion

const math = require('remark-math');
const katex = require('rehype-katex');

// script-src causes development builds to fail
// But unsafe-eval should NOT be in production builds
// Also, put GTM first because sometimes the ';' in the escaped single quotes causes the browser to think it's the end
Expand Down Expand Up @@ -65,8 +62,6 @@ const config = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/', // Serve the docs at the site's root
remarkPlugins: [math],
rehypePlugins: [katex],
showLastUpdateTime: true,
},
blog: false,
Expand Down Expand Up @@ -159,12 +154,6 @@ const config = {
//... other Algolia params
},
}),
stylesheets: [
{
href: '/css/katex.min.css',
type: 'text/css',
},
],
};

module.exports = config;
238 changes: 0 additions & 238 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
"prism-react-renderer": "1.3.5",
"react": "18.2",
"react-dom": "18.2",
"rehype-katex": "7.0.0",
"remark-math": "6.0.0",
"slick-carousel": "1.8.1"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 9843b63

Please sign in to comment.