fix highlighting on posts and pages
This commit is contained in:
parent
7e838f31ec
commit
5a94ee35e6
3 changed files with 11 additions and 5 deletions
|
|
@ -6,7 +6,6 @@ import {
|
|||
withRouter
|
||||
} from 'react-router-dom';
|
||||
|
||||
import hljs from 'highlight.js';
|
||||
import 'highlight.js/styles/github-gist.css';
|
||||
|
||||
import { Container, Row, Column } from './skeleton';
|
||||
|
|
@ -67,10 +66,6 @@ class App extends Component {
|
|||
|
||||
componentDidMount() {
|
||||
document.title = this.title;
|
||||
|
||||
// Auto-highlight all <pre><code> blocks
|
||||
hljs.initHighlightingOnLoad();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue