Skip to content

Latest commit

 

History

History
167 lines (98 loc) · 3.32 KB

Contribute.mdx

File metadata and controls

167 lines (98 loc) · 3.32 KB

import ContentFigure from "../../components/Figure/Figure.jsx"; import constructionImg from "../../assets/images/construction.png"; import EmptyMap from "../../maps/EmptyMap.jsx";

Background

Contributing will require knowledge in Markdown and / or JSX as this is how Interactive Learner's content is built.

Markdown:

The /content folder is where you will find each topic of Interactive Learner.

Editing an existing topic is simply done by making changes to the markdown and submitting a pull request.

Adding a new topic is a bit trickier. Each topic need's it's own file in the Pages folder. Each topic also needs to be routed in App.jsx and added as a card in Home.jsx.

Thank you for supporting this project!

Available Markdown and JSX for You:

Horizontal Rules




Headings

h1 Heading

h2 Heading

h3 Heading

h4 Heading

h5 Heading
h6 Heading

Emphasis

This is bold text

This is bold text

This is italic text

This is italic text

This is italic and bold text

This is italic and bold text

Strikethrough

Lists

Unordered

  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:
      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!

Ordered

  1. Lorem ipsum dolor sit amet

  2. Consectetur adipiscing elit

  3. Integer molestie lorem at massa

  4. You can use sequential numbers...

  5. ...or keep all the numbers as 1.

Start numbering with offset:

  1. foo
  2. bar

Todo list

[x] Wake up
[ ] Eat peanut butter
[ ] Sleep

Math

This text is ≤ than this text.

This text is ≥ than this text.

X2

X2

Symbols

Interactive Learner ©

Tables

Syntax Description Test Text
Header Title Here's this
Paragraph Text And more

Links

link

link

link

link

Maps

Iframes

<iframe style={{ width: "100%" }} url={"https://en.wikipedia.org/wiki/Multivariate_map"} height={600} />

Code

sudo apt get

console.log("hello");

Figures

Images must be saved to the /images folder.

Figure with no title and no credit



Figure with title and no credit

<ContentFigure img={constructionImg} title={"Under Construction"} />



Figure with title and credit

<ContentFigure img={constructionImg} title={"Under Construction"} credit={"Credit: Omar Kawach"} url={"https://duckduckgo.com/"} />