diff --git a/gitlab-pages/website/package.json b/gitlab-pages/website/package.json index 75ac51078..0472bbba8 100644 --- a/gitlab-pages/website/package.json +++ b/gitlab-pages/website/package.json @@ -29,7 +29,6 @@ }, "dependencies": { "@docusaurus/plugin-sitemap": "^2.0.0-alpha.37", - "@ligo/syntax": "file:src/@ligo/syntax", - "@ligolang/compact-ligo-ide": "^3.0.3" + "@ligo/syntax": "file:src/@ligo/syntax" } } \ No newline at end of file diff --git a/gitlab-pages/website/src/theme/CodeBlock/index.js b/gitlab-pages/website/src/theme/CodeBlock/index.js index f3e30283a..dd0cd92ed 100644 --- a/gitlab-pages/website/src/theme/CodeBlock/index.js +++ b/gitlab-pages/website/src/theme/CodeBlock/index.js @@ -8,7 +8,6 @@ import React, { useEffect, useState, useRef } from 'react'; import classnames from 'classnames'; import Highlight, { defaultProps } from 'prism-react-renderer'; -import { CompactLigoIde } from '@ligolang/compact-ligo-ide'; const { Prism } = require("prism-react-renderer"); @@ -140,21 +139,6 @@ export default ({ children, className: languageClassName, metastring }) => { }; }, [button.current, target.current]); - // Compact Ligo IDE support - begin - if (languageClassName === 'language-compactLigoIde') { - const theme = isDarkTheme ? 'dark' : 'light'; - const webIdeUrlRegex = /webIdeUrl=(.*)/; - - if (metastring && webIdeUrlRegex.test(metastring)) { - const webIdeUrl = metastring.match(webIdeUrlRegex)[1]; - - return {children} - } - - return {children} - } - // Compact Ligo IDE support -- end - let language = languageClassName && languageClassName.replace(/language-/, '');