Skip to content

Latest commit

 

History

History
154 lines (124 loc) · 4.04 KB

hello.md

File metadata and controls

154 lines (124 loc) · 4.04 KB
layout title permalink
section
Home
/index/
and anything before the first header is not rendered into the

output notebook by default.

Hello World!

This is a simple markdown page with GitHub code snippets. All this will be translated into a Jupyter notebook using the desired language.

Example

Here is a code sample:

{% github_sample /davidcavazos/md2ipynb/blob/master/examples/code/hello-world.py tag:hello_world %}

{: .output}

Output:

{: .output}

Hello from Python!

{: .language-py}

Run in Colab View on GitHub

{% github_sample /davidcavazos/md2ipynb/blob/master/examples/code/HelloWorld.java tag:hello_world %}

{: .output} Output:

{: .output}

Hello from Java!

{: .language-java}

Run in Colab View on GitHub

{% github_sample /davidcavazos/md2ipynb/blob/master/examples/code/hello-world.go tag:hello_world %}

{: .output} Output:

{: .output}

Hello from Java!

{: .language-go}

Run in Colab View on GitHub

You are all done!

HTML Section

HTML is also supported since Markdown is a superset of HTML

Form view

In "form view", a code cell's contents will be hidden by default in Colab. You can open and close the contents by double clicking it.

#@title A code cell containing `#@title`
# Contents will be hidden in Colab

Or, a code cell containing #@param.

message = "Hello!" #@param {type:"string"}

print(f"message: {repr(message)}")

What's next

Check the README.md for more instructions.