Examples

test
Examples of rendered markdown and html elements.
Published

January 1, 2020

This post provides examples of rendered markdown and html elements.

Note

Note that there are five types of callouts, including: note, warning, important, tip, and caution.

Tip with Title

This is an example of a callout with a title.

Caution

Caution

Important

Important

Warning

Warning

This is an example of a ‘folded’ caution callout that can be expanded by the user. You can use collapse="true" to collapse it by default or collapse="false" to make a collapsible callout that is expanded by default.

This is a quote

Markdown

  - 1 space
  - 2 spaces
  - 4 spaces

Code

Let there be Rust! let var = 10u32;

def func() -> None:
    """docstring"""
    string = "hello"
    return string
function f(x, y)
    x[1] = 42    # mutates x
    y = 7 + y    # new binding for y, no mutation
    return y
end
let var = vec!["1", "2", "3"]
var = ["1", "2", "3"]
var = ["1", "2", "3"]
var = ["1", "2", "3"]
var uint_8 = 1;
var uint_8 = 1;
pip list | grep jupyter

LaTeX

\(e^x\)

\(x = 1 + y\)

\[ x = 1 + y\]

Embedding Interactive Maps with Deck.gl

Local file

Create deck.gl map and download as html. Save in known directory static/assets/

Remote File (Google Drive)

https://drive.google.com/file/d/[image_id]/view?usp=sharing https://drive.google.com/uc?export=view&id=[image_id]

animated vega-lite

Remote file (Tiny Host)

  • https://tiiny.host

Youtube

Header 1

This is header 1.

Header 2

This is header 2.

Header 3

This is header 3.

Header 4

This is header 4.

Header 5

This is header 5.

Header 6

This is header 6.