mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 00:47:03 +02:00
chore: minimal es6 refactor
This commit is contained in:
parent
1eef464fc0
commit
05c90a208c
3 changed files with 10 additions and 7 deletions
|
@ -1,11 +1,10 @@
|
|||
/* eslint-disable react/no-danger */
|
||||
|
||||
const React = require('react');
|
||||
const Markdown = require('remarkable');
|
||||
const hljs = require('highlight.js');
|
||||
const prismjs = require('prismjs');
|
||||
|
||||
const anchors = require('./anchors.js');
|
||||
import React from 'react';
|
||||
import Markdown from 'remarkable';
|
||||
import hljs from 'highlight.js';
|
||||
import prismjs from 'prismjs';
|
||||
import anchors from './anchors';
|
||||
|
||||
class MarkdownBlock extends React.Component {
|
||||
content() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue