Skip to content

Instantly share code, notes, and snippets.

@cyhsutw
Last active October 20, 2025 06:05
Show Gist options
  • Select an option

  • Save cyhsutw/d5983d166fb70ff651f027b2aa56ee4e to your computer and use it in GitHub Desktop.

Select an option

Save cyhsutw/d5983d166fb70ff651f027b2aa56ee4e to your computer and use it in GitHub Desktop.
Grabbed from https://github.com/odewahn/ipynb-examples, converted to v3 for GitHub to render.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DolphinDream

Copy link
Copy Markdown

Does GitHub support math markdown like this in comments ? if so, do you need to activate it somehow?

@fanjin-z

fanjin-z commented Dec 5, 2018

Copy link
Copy Markdown

Does GitHub support math markdown like this in comments ? if so, do you need to activate it somehow?

No, but ipython notebook supports MathJax (basic features of LaTex) and GitHub supports notebook natively. He wrote markdown inside a notebook cell, which is quite a clever trick.

@0xleonz

0xleonz commented Feb 25, 2020

Copy link
Copy Markdown

Nice!

@ArefAz

ArefAz commented Apr 5, 2021

Copy link
Copy Markdown

Thanks! It helped me to get started with tex writing in my jupyter notebooks.

@tmiethlinger

Copy link
Copy Markdown

Just to clarify: Can I use this somehow to show Latex formulae in the README.md of my repos?

@cyhsutw

cyhsutw commented Mar 5, 2022

Copy link
Copy Markdown
Author

Just to clarify: Can I use this somehow to show Latex formulae in the README.md of my repos?

No, this will only work with .ipynb files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment