mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
Run Prettier
This commit is contained in:
parent
a7b5148e06
commit
fbae29b0ff
29 changed files with 1311 additions and 987 deletions
|
@ -7,8 +7,8 @@
|
|||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
const React = require('react');
|
||||
const Marked = require('./Marked.js');
|
||||
const React = require("react");
|
||||
const Marked = require("./Marked.js");
|
||||
|
||||
class Doc extends React.Component {
|
||||
render() {
|
||||
|
@ -17,9 +17,9 @@ class Doc extends React.Component {
|
|||
className="edit-page-link button"
|
||||
href={
|
||||
this.props.config.editUrl +
|
||||
this.props.language +
|
||||
'/' +
|
||||
this.props.source
|
||||
this.props.language +
|
||||
"/" +
|
||||
this.props.source
|
||||
}
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -30,10 +30,14 @@ class Doc extends React.Component {
|
|||
<div className="post">
|
||||
<header className="postHeader">
|
||||
{editLink}
|
||||
<h1>{this.props.title}</h1>
|
||||
<h1>
|
||||
{this.props.title}
|
||||
</h1>
|
||||
</header>
|
||||
<article>
|
||||
<Marked>{this.props.content}</Marked>
|
||||
<Marked>
|
||||
{this.props.content}
|
||||
</Marked>
|
||||
</article>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue