Comments (6)
Styles for equations
As of 2017-06-03, the appearance of "Math Processing Error" at GitHub
has diminished considerably. However, the font size, is rendered inconsistently --
often too small. They may remedy this upstream, but in the meantime,
consider using LaTeX styles:
\displaystyle \textstyle \scriptstyle \scriptscriptstyle
ordered from largest to smallest.
from fecon235.
My understanding from chats is that GitHub could be timing out on rendering LaTeX equations embedded within markdown cells -- and that "Math Processing Error" is about their choking, rather than LaTeX format errors.
from fecon235.
Interestingly, @jdfreder said:
Jan 07 10:20 @rsvp GitHub does not support math rendering IIRC Also, I think their renderer is closed source
https://gitter.im/jupyter/jupyterhub/archives/2016/01/07
Then I remember the difficulty in tracking down the GitHub developer for their (closed?) rendering engine. Why not just adopt the code from http://nbviewer.jupyter.org ?
from fecon235.
@willingc, a Jupyter member, kindly commented in jupyter/help#21 :
Since this looks to be an upstream issue with GitHub since I don't believe that they currently support LaTeX rendering in their service, I'm labeling it as such.
from fecon235.
Interim discussion at Jupyter: jupyter/help#21
where the primary developers are mentioned for further follow-up.
@jasongrout commented: "[T]his is a problem on Github's end,
or at least it needs to be worked on by Github, since we don't see
what they are doing to render the page."
Observed behavior, updated 2016-11-15
Errors still persist in regards to rendering at GitHub,
esp. annoying when superscripts and subscripts are involved.
For some reason, the font size is half of what is expected.
For some lurid examples, see jupyter/nbviewer#452
where some difficulties can be traced to version and type of browser used.
Recommend rendering LaTeX on your local machine for best results,
otherwise the mathematical equations could wrongly appear incoherent.
from fecon235.
Security issues
GitHub member @bkeepers commented on Apr 2, 2014: "Yep. latex just has so many feature that it's impossible for us to deploy it securely right now." github/markup#274 But specifics on security were not discussed.
One year later, we understand that: "GitHub markdown parsing is performed by the SunDown (ex libUpSkirt) library. The motto of the library is "Standards compliant, fast, secure markdown processing library in C". The important word being "secure" there. Indeed, allowing javascript to be executed would be a bit off of the MarkDown standard text-to-HTML contract. Moreover, everything that looks like a HTML tag is either escaped or stripped out." See http://stackoverflow.com/questions/11256433/how-to-show-math-equations-in-general-githubs-markdownnot-githubs-blog
from fecon235.
Related Issues (8)
- To update pre-2016 notebooks, fix broken import and preamble HOT 5
- Is there a setup.py somewhere? can't seem to get this installed/ HOT 1
- pandas deprecation of Exponential Moving Average function ewma HOT 5
- pandas .resample() "how" deprecation as of its 0.19 version. Fix our daily(), monthly(), quarterly() HOT 3
- Disruption of equities data :: pandas_datareader dependency on Yahoo and Google Finance API HOT 36
- Possible disruption of FRED data HOT 1
- Moving to Python 3 > 2019-01-01 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fecon235.