Markdown test

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac commodo massa, vel aliquet odio. Integer tellus eros, ultricies ut lobortis vitae, pharetra a nulla.

This link is useless. This link has code. This code is bold and italic.

Admonition

Mojo is a young language and there are many features still missing. This code is bold and italic.

Here’s a little advice, and there are many features still missing. This code is bold and italic.

This might crash your computer because there are many features still missing. This code is bold and italic.

This might blow up your house because there are many features still missing. This code is bold and italic.

Code

For example, here’s a basic struct:

struct MyPair:
    var first: Int
    var second: Int

    fn __init__(inout self, first: Int, second: Int):
        self.first = first
        self.second = second

    fn dump(self):
        print(self.first, self.second)

And here’s how you can use it:

fn use_mypair():
    let mine = MyPair(2, 4)
    mine.dump()

For more details, see the page about structs.

List

Otherwise, here are some other resources to check out:

  • If you want to experiment with some code, clone the Mojo repo to try our code examples:

    git clone https://github.com/modularml/mojo.git

    In addition to several .mojo examples, the repo includes Jupyter notebooks that teach advanced Mojo features.

  • To see all the available Mojo APIs, check out the Mojo standard library reference.

    • You can’t use global variables inside functions—they’re only visible to other global variables.

    • For a longer list of things that don’t work yet or have pain-points, see the Mojo roadmap and sharp edges.

Here’s an ordered list:

  1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

  2. Nunc ac commodo massa, vel aliquet odio. Integer tellus eros, ultricies ut lobortis vitae, pharetra a nulla. Etiam egestas risus at ultricies ultricies.

    git clone https://github.com/modularml/mojo.git
  3. Aenean et fringilla lacus, sit amet euismod magna.

    Paragraph.

    1. Vivamus porttitor erat in fringilla aliquet. Nulla eu convallis urna, ac dignissim nisi. Nullam vel enim ut lectus varius ultricies non eget neque. Nunc ut ipsum finibus, sollicitudin nisl blandit, tristique elit.

    2. Aenean et fringilla lacus, sit amet euismod magna.

  4. Aenean et fringilla lacus, sit amet euismod magna.

Level 2

Etiam egestas risus at ultricies ultricies. Aenean et fringilla lacus, sit amet euismod magna. Vivamus porttitor erat in fringilla aliquet. Nulla eu convallis urna, ac dignissim nisi.

Level 3

Nullam vel enim ut lectus varius ultricies non eget neque. Nunc ut ipsum finibus, sollicitudin nisl blandit, tristique elit.

Level 4

Nullam vel enim ut lectus varius ultricies non eget neque. Nunc ut ipsum finibus, sollicitudin nisl blandit, tristique elit.

Level 5

Nullam vel enim ut lectus varius ultricies non eget neque. Nunc ut ipsum finibus, sollicitudin nisl blandit, tristique elit.

Images

Here’s an image:

Some more text.

Buttons

A simple button:

Download Now

Neat.