Skip to content

Instantly share code, notes, and snippets.

@cyhsutw
Last active August 24, 2024 08:56
Show Gist options
  • Save cyhsutw/d5983d166fb70ff651f027b2aa56ee4e to your computer and use it in GitHub Desktop.
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.
@fanjin-z
Copy link

fanjin-z commented Dec 5, 2018

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
Copy link

0xleonz commented Feb 25, 2020

Nice!

@ArefAz
Copy link

ArefAz commented Apr 5, 2021

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

@tmiethlinger
Copy link

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

@cyhsutw
Copy link
Author

cyhsutw commented Mar 5, 2022

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