diff --git a/docs/en/blog.html b/docs/en/blog.html index 789ed00298..8278d60d0e 100644 --- a/docs/en/blog.html +++ b/docs/en/blog.html @@ -16,7 +16,7 @@

Adding Posts #

To publish in the blog, create a file within the blog folder with a formatted name of YYYY-MM-DD-My-Blog-Post-Title.md. The post date is extracted from the file name.

For example, at website/blog/2017-08-18-Introducing-Docusaurus.md:

-
---
+
---
 author: Frank Li
 authorURL: https://twitter.com/foobarbaz
 authorFBID: 503283835
@@ -35,7 +35,7 @@
 
 

Summary Truncation #

Use the <!--truncate--> marker in your blog post to represent what will be shown as the summary when viewing all blog published blog posts. Anything above <!--truncate--> will be part of the summary. For example:

-
---
+
---
 title: Truncation Exmaple
 ---
 
diff --git a/docs/en/commands.html b/docs/en/commands.html
index 1bff0739e5..1b5607a591 100644
--- a/docs/en/commands.html
+++ b/docs/en/commands.html
@@ -14,15 +14,15 @@
 
yarn run start
 

The same script can be invoked using npm:

-
npm run start
+
npm run start
 

To run a particular script, just replace the start command in the examples above with the command associated with your script.

Using arguments #

Some commands support optional arguments. For example, to start a server on port 8080, you can specify the --port argument when running start:

-
yarn run start --port 8080
+
yarn run start --port 8080
 

If you run Docusaurus using npm, you can still use the command line arguments by inserting a -- between npm run <command> and the command arguments:

-
npm run start -- --port 8080
+
npm run start -- --port 8080
 

Configuration #

These scripts are set up under the "scripts" key in your website/package.json file as part of the installation process. If you need help setting them up again, please refer to the Installation guide.

diff --git a/docs/en/installation.html b/docs/en/installation.html index 2d5b63fcab..ea84b7167d 100644 --- a/docs/en/installation.html +++ b/docs/en/installation.html @@ -22,7 +22,7 @@
yarn add docusaurus -dev
 

or

-
npm install --save-dev docusaurus
+
npm install --save-dev docusaurus