From 1ac2655a7a31e82478050aa925189cedba95dfbc Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 30 Oct 2017 22:48:27 +0000 Subject: [PATCH] Deploy website Deploy website version based on 32d8aa8eb6d80252665aad379ff36942ce012d75 --- docs/en/api-pages.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/api-pages.html b/docs/en/api-pages.html index baedc83bc2..1c834bee4f 100644 --- a/docs/en/api-pages.html +++ b/docs/en/api-pages.html @@ -13,12 +13,12 @@

If you wish to use your own components inside the website folder, use process.cwd() which will refer to the website folder to construct require paths. For example, if you add a component to website/core/mycomponent.js, you can use the require path, "process.cwd() + /core/mycomponent.js".

Provided Components

Docusaurus provides the following components in CompLibrary:

-

CompLibrary.Marked

-

A React component that parses Markdown to html.

+

CompLibrary.MarkdownBlock

+

A React component that parses markdown and renders to HTML.

Example:

-
const Marked = CompLibrary.Marked;
+
const MarkdownBlock = CompLibrary.MarkdownBlock;
 
-<Marked>[Markdown syntax for a link](http://www.example.com)</Marked>
+<MarkdownBlock>[Markdown syntax for a link](http://www.example.com)</MarkdownBlock>
 

CompLibrary.Container

A React container component using Docusaurus styles. Has optional padding and background color attributes that you can configure.