networkx / nx-guides

Examples and Jupyter Notebooks about NetworkX
https://networkx.org/nx-guides/
Creative Commons Zero v1.0 Universal
188 stars 104 forks source link

Cleanup geometric generator example by removing raw html #24

Closed rossbar closed 3 years ago

rossbar commented 3 years ago

Removes the raw html in geometric graph generator example and replaces it with markdown. The two big areas were:

Most the mathematical expressions were originally written with a combination of unicode characters and <sub>/<sup> tags. LaTeX math is preferable both for readability and font support - all output formats (pdf, html, and .ipynb) support LaTeX math either natively or via extensions like mathjax.

rossbar commented 3 years ago

For comparison's sake, I'm hosting the current version as well:

Notice the improvement in the math rendering and the additional right sidebar, which is populated by the contents of the page (this doesn't work with html headings).