Skip to main content

Features of CodeHarborHub Documentation

Diagrams

npm install --save @docusaurus/theme-mermaid
Example Mermaid diagram
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```

Tabs

Example Tabs
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs>
<TabItem value="apple" label="Apple" default>
This is an apple 🍎
</TabItem>
<TabItem value="orange" label="Orange">
This is an orange 🍊
</TabItem>
<TabItem value="banana" label="Banana">
This is a banana 🍌
</TabItem>
</Tabs>

This is an apple 🍎

Interactive code editor

npm install --save @docusaurus/theme-live-codeblock
Example Live Code Block
```jsx live
function Clock(props) {
const [date, setDate] = useState(new Date());
useEffect(() => {
const timerID = setInterval(() => tick(), 1000);

return function cleanup() {
clearInterval(timerID);
};
});

function tick() {
setDate(new Date());
}

return (
<div>
<h2>It is {date.toLocaleTimeString()}.</h2>
</div>
);
}
```
Live Editor
function Clock(props) {
  const [date, setDate] = useState(new Date());
  useEffect(() => {
    const timerID = setInterval(() => tick(), 1000);

    return function cleanup() {
      clearInterval(timerID);
    };
  });

  function tick() {
    setDate(new Date());
  }

  return (
    <div>
      <h2>It is {date.toLocaleTimeString()}.</h2>
    </div>
  );
}
Result
Loading...

Multi-language support code blocks

function helloWorld() {
console.log("Hello, world!");
}

Add Apple Style Window

http://hello.com/intro/

Highlighting with metadata string

import React from 'react';

function MyComponent(props) {
if (props.isBar) {
return <div>Bar</div>;
}

return <div>Foo</div>;
}

export default MyComponent;

Line numbering

import React from 'react';

function MyComponent(props) {
if (props.isBar) {
return <div>Bar</div>;
}

return <div>Foo</div>;
}

export default MyComponent;

npm2yarn

npm install @docusaurus/remark-plugin-npm2yarn

warning

warning

Beware of the dark side.

danger

danger

I find your lack of faith disturbing.

info

info

Luke, I am your father.

success

success

The Force will be with you, always.

Admonitions

caution

This is a caution admonition

note

This is a note admonition

tip

This is a tip admonition

important

This is an important admonition

The table of contents for this page, serialized:

[
{
"value": "Diagrams",
"id": "diagrams",
"level": 2
},
{
"value": "Tabs",
"id": "tabs",
"level": 2
},
{
"value": "Interactive code editor",
"id": "interactive-code-editor",
"level": 2
},
{
"value": "Multi-language support code blocks",
"id": "multi-language-support-code-blocks",
"level": 2
},
{
"value": "Add Apple Style Window",
"id": "add-apple-style-window",
"level": 2
},
{
"value": "Highlighting with metadata string",
"id": "highlighting-with-metadata-string",
"level": 2
},
{
"value": "Line numbering",
"id": "line-numbering",
"level": 2
},
{
"value": "npm2yarn",
"id": "npm2yarn",
"level": 2
},
{
"value": "warning",
"id": "warning",
"level": 2
},
{
"value": "danger",
"id": "danger",
"level": 2
},
{
"value": "info",
"id": "info",
"level": 2
},
{
"value": "success",
"id": "success",
"level": 2
},
{
"value": "Admonitions",
"id": "admonitions",
"level": 2
}
]

The front matter of this page:

  • id: features
  • sidebar_position: 2
  • title: Features of CodeHarborHub Documentation
  • sidebar_label: Features
  • description: This documentation is intended to help you get started with CodeHarborHub and to provide you with a comprehensive guide to the features and functionality of the platform. This is a place to learn about technology, programming, web development, data science, and more.
  • tags: featurescodeharborhubdocumentationtechnologyprogrammingweb developmentdata sciencecollaborationlearningteachingcodedataprojectstutorialsresourcesversion controlissue trackinggitgithubcollaborationlearningtechnologyprogrammingweb developmentdata science

Features of CodeHarborHub Documentation

This documentation is intended to help you get started with CodeHarborHub and to provide you with a comprehensive guide to the features and functionality of the platform. This is a place to learn about technology, programming, web development, data science, and more.

featurescodeharborhubdocumentationtechnologyprogrammingweb developmentdata sciencecollaborationlearningteachingcodedataprojectstutorialsresourcesversion controlissue trackinggitgithubcollaborationlearningtechnologyprogrammingweb developmentdata science