Use specific highlighters instead of including all of them. Halves the bundle size

This commit is contained in:
Tom MacWright
2016-03-17 18:29:30 -04:00
parent 8e102dd27d
commit e04af8a627
3 changed files with 41 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import React from 'react';
import remark from 'remark';
import remarkHTML from 'remark-html';
import remarkHighlight from 'remark-highlight.js';
import remarkHighlight from '../highlight';
import PureRenderMixin from 'react-pure-render/mixin';
import { postHighlight } from '../../custom';