Skip to content

Instantly share code, notes, and snippets.

@cyhsutw
Last active August 31, 2023 05:43
Show Gist options
  • Star 52 You must be signed in to star a gist
  • Fork 12 You must be signed in to fork a gist
  • 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DolphinDream
Copy link

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

@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.

@leonzii
Copy link

leonzii 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