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.