1
1
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:
busypeoples 2018-08-04 16:45:32 +02:00
parent fe63e5b7d6
commit 5f423d734b

View File

@ -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 = {