Skip to content

Demo#

Note

This is a demo of the markdown syntax used in this documentation. It is not part of the site.

my_file.py
1
2
3
4
5
6
7
import numpy as np
import matplotlib.pyplot as plt

x = np.linspace(0, 2 * np.pi, 400) # (1)!
y = np.sin(x ** 2)
plt.plot(x, y)
plt.show()
  1. This is a comment in the code block.
#include <stdio.h>

int main(void) {
  printf("Hello world!\n");
  return 0;
}
#include <iostream>

int main(void) {
  std::cout << "Hello world!" << std::endl;
  return 0;
}
Click to expand

??? makes for collapsible content