Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nschloe
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
The State of Math in Markdown
(nschloe.github.io)
2 points
by
nschloe
3y ago
|
1 comments
2.
▲
by
nschloe
3y ago
I've compiled a neat little comparison on what math in Markdown can and can't do on different platforms. TLDR: Don't use GitHub if you're serious.
3.
▲
by
nschloe
4y ago
An interesting take, thanks for the input! As a layman (pretty much), I had always a bit frowned upon reST since I never got used to syntax. That was probably because Markdown was already so popular when I started using it. One little remar
4.
▲
by
nschloe
4y ago
This is great news! It's not working for me quite yet, but I'm refreshing my browser every 5 minutes. Next stop: Proper inline math.
5.
▲
by
nschloe
4y ago
The big advantage of using code blocks is that is guarantees that their sanitizer doesn't mess with the contents. This is a pretty big plus. Also, you can of course still have mermaid code blocks; just don't put `mermaid` after th
6.
▲
by
nschloe
4y ago
I agree: If you're choosing dollar signs for your math delimiters, you can't expect them to work as regular dollar signs anymore; just like backticks. > sounds like the parsing operations are done in the wrong order. Indeed! &g
7.
▲
by
nschloe
4y ago
Probably pandoc protects whatever is inside $...$ or $$...$$. GitHub doesn't. I would be curious to know how pandoc handles the other failing cases.
8.
▲
by
nschloe
4y ago
Well, it _is_ (La)TeX syntax. With the exception that there, if you want a dollar sign, you have to type \$. But yeah, the syntax isn't made for Markdown.
9.
▲
Math on GitHub: Following Up
(nschloe.github.io)
123 points
by
nschloe
4y ago
|
44 comments
10.
▲
by
nschloe
4y ago
In May, GitHub added native math support. Unfortunately, it left lots to be desired. Six weeks later, I'm taking another look. Have the major issues been fixed? (Spoiler: No.)
11.
▲
by
nschloe
4y ago
It was actually a config issue that they fixed now. Some issues remains, but mostly on MathJax's side (e.g., https://github.com/mathjax/MathJax/issues/2877 ).
12.
▲
by
nschloe
4y ago
Author here. Thanks for the comment! The main problems pointed out in the blog post are problems in _parsing_ the Markdown+TeX pages. The output could be MathML indeed, but this is an issue they could always fix later.
13.
▲
by
nschloe
4y ago
Author here. That is interesting! Have you tried it on the examples in the blog post? I'd be curious to see.
14.
▲
by
nschloe
4y ago
Author here. I've been a managing editor for scientific journals for a number of years, and I can tell that -- while $ is still popular -- (almost) nobody uses $$ anymore. So I wouldn't say this is "where people already are&q
15.
▲
by
nschloe
4y ago
The difference between GitHub and pandoc with GitHub-flavored Markdown as input is that pandoc doesn't sanitize as aggressively as GitHub does. For example, pandoc doesn't remove the backslash-escapes before non-letters as in `\{`
16.
▲
by
nschloe
4y ago
Author here. Thanks for all the great input! I don't mean to argue for \(...\) and \[...\] in Markdown; it was just a side note I had added to satisfy the LaTeX purists such as myself. :) I hope I've clarified this in the text now
17.
▲
by
nschloe
4y ago
Author here. You're right, the big dreams always turn out smaller in real life when they come true, right? I'm hoping that the popularity of GitHub will aid a shift of publication style though. :)
18.
▲
by
nschloe
4y ago
Author here. One problems is that the parser doesn't work harder yet, and it will be difficult even for GitHub to make it so. The $-syntax is familiar to TeXies indeed, but if the cost is that math won't ever work properly, I
19.
▲
by
nschloe
4y ago
Author here. Thanks for the hint! I had indeed overlooked that. I have updated the article accordingly.
20.
▲
by
nschloe
4y ago
Author here. The main idea of using code blocks for math is to protect its content from being messed with. Markdown parsers do that by default, so that's how it's "natural". As you mention, the drawback is that you can&#
21.
▲
by
nschloe
4y ago
Blog post author here. The kerning is probably a problem with their font config that can hopefully be fixed. I don't think -- and that's me personal estimation -- that people will write tons of `a\,=\,b` to work around the bad ker
22.
▲
by
nschloe
4y ago
Author here. > Did Github ever solicit feedback from the community for this feature? Was there ever a beta before they rolled it out? There actually was a closed preview for this, but it wasn't long and the feedback I gave them (whi
23.
▲
by
nschloe
5y ago
Thanks!
24.
▲
by
nschloe
5y ago
Thanks!
25.
▲
by
nschloe
5y ago
tiptop stands on the shoulders of giants here. Textual (for displaying) and psutil (for fetching the data) do a great job, and tiptop's job is more or less down to intercepting some exceptions that occur only on Windows or so.
26.
▲
Show HN: tiptop
(github.com)
24 points
by
nschloe
5y ago
|
8 comments
27.
▲
by
nschloe
5y ago
I wrote this little top-like command-line system monitor, tiptop. I think it looks pretty neat and you might like it too. Install with $ pip install tiptop Let me know what you think!