Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

we’re tweaking style_jb2.css to render these a little more nicely

cells

hello world
344671125505

and one with some plots; note that there no longer is a need to add a final ; as myst takes care of that for us; it does trigger some sort of warning though

[<matplotlib.lines.Line2D at 0x7f40c4069400>]
<Figure size 640x480 with 1 Axes>

while we’re at it, let’s see a cell with no output

code blocks

we can have inline code in the text that go on, or

# code blocks in Python
print('hello world')
// code blocks in JavaScript
console.log('hello world')
# code blocks in bash
echo hello world
<!-- code blocks in HTML -->
<!DOCTYPE html>
<html>
  <head>
    <title>hello world</title>
  </head>
  <body>
    <h1>hello world</h1>
  </body>
</html>
/* code blocks in CSS */
body {
  background-color: lightblue;
}

and so on and so forth