mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-29 13:58:02 +03:00
Remove second default language
This commit is contained in:
parent
fe63e5b7d6
commit
5f423d734b
@ -4,10 +4,8 @@ import { withTheme } from 'styled-components'
|
||||
import SyntaxHighlighter, { registerLanguage } from "react-syntax-highlighter/prism-light"
|
||||
import defaultTheme from 'react-syntax-highlighter/styles/prism/atom-dark'
|
||||
import javascript from 'react-syntax-highlighter/languages/prism/javascript'
|
||||
import elixir from 'react-syntax-highlighter/languages/prism/elixir'
|
||||
|
||||
registerLanguage('javascript', javascript);
|
||||
registerLanguage('elixir', elixir);
|
||||
|
||||
export default withTheme(class Code extends React.Component {
|
||||
static propTypes = {
|
||||
|
Loading…
Reference in New Issue
Block a user