Re:Show HN: Markdown + LaTeX math in the browser
by csense on Saturday February 02, 2013 @04:57AM
(#5155650)
I tested it on Chromium (the FOSS version of Google Chrome), and in that browser, the math uses a much smaller font than the Firefox version. (Firefox looks "right.")
I'm using Linux Mint 14 (the most recent version), the default version of Chromium from the distribution's repo; all packages are up-to-date, and I don't have any browser extensions or any intense customization.
Re:Show HN: Markdown + LaTeX math in the browser
by ianstormtaylor on Saturday February 02, 2013 @03:43AM
(#5155552)
Oh nice, didn't make the connection that you were the maintainer ;)
Yeah id-ing of heading elements is something I really wish we had for our docs (https://segment.io/docs) because we have to break out of markdown for every header to make them linkable.
I just wish I knew enough to be able to contribute. That was my problem with Stylus too...
Re:Show HN: Markdown + LaTeX math in the browser
by cpursley on Friday February 01, 2013 @07:52PM
(#5154552)
This is cool. I wanted to do a blog post on some real estate appraisal topics, which requires math examples. Is this open source? Where I can I find socrates.io - it goes straight to the interface.
Re:Show HN: Markdown + LaTeX math in the browser
by jey on Saturday February 02, 2013 @12:11AM
(#5155249)
Interesting. Looks like it maps TeX directly to HTML, so it must support fewer constructs? Or what are the downsides? Being 10x faster and 10x smaller without any drawbacks seems too good to be true.
Re:Show HN: Markdown + LaTeX math in the browser
by jessriedel on Saturday February 02, 2013 @02:37PM
(#5157028)
"TeX-based" is the operative term here. The syntax is somewhat different true TeX (so it would drive people who use TeX regularly crazy, like me). And I don't believe it has the same abilities.
Re:Show HN: Markdown + LaTeX math in the browser
by quaz3l on Sunday February 03, 2013 @12:27AM
(#5158759)
I've been working on something just like this! It is a mashup of Ghost<john.onolan.org/ghost/>, and a editor like this. If you was to see the uncompleted version its here: http://quaz3l.github.com/ghost/g-admin/posts.html
Re:Show HN: Markdown + LaTeX math in the browser
by kanatzidis on Friday February 01, 2013 @08:52PM
(#5154766)
Oh man, this is really cool. Great job. I'm the co-founder of http://SpanDeX.io (which I see someone already commented about) and we love seeing this kind of stuff. Great to see LaTeX getting implemented in a really useful way!
Re:Show HN: Markdown + LaTeX math in the browser
by hyperbovine on Saturday February 02, 2013 @10:28AM
(#5156168)
I wish it had better support for live editing, but this is really a limitation of MathJax / TeX in general. Still, I wonder if it might be possible to improve the experience a bit by e.g. only updating when I close a $$ block, etc.
http://alexeev.org/gmailtex.html
P.S.: This Socrates thing is pretty fantastic. Is there a keyboard shortcut for switching to the compiled view?
I'm using Linux Mint 14 (the most recent version), the default version of Chromium from the distribution's repo; all packages are up-to-date, and I don't have any browser extensions or any intense customization.
http://i.imgur.com/9eeSvlU.png
Firefox 19/OSX Lion
Also auto-id-ing heading elements so they can be hash-linked to? That's another of my marked requests.
Marked has a pretty big todo list right now. Those are on it somewhere.
> Also auto-id-ing heading elements so they can be hash-linked to?
This is actually requested less than I expected it to be, but I think I do want to add something for it in the future.
Yeah id-ing of heading elements is something I really wish we had for our docs (https://segment.io/docs) because we have to break out of markdown for every header to make them linkable.
I just wish I knew enough to be able to contribute. That was my problem with Stylus too...
https://github.com/justinvh/Markdown-LaTeX
It generates inline/base64-encoded images with a small file-cache for the generated images. Try it out!
Otherwise, nice and simple.