approach0 / search-engine

A math-aware search engine.
http://approach0.xyz
MIT License
346 stars 50 forks source link

"hint" -> "hints", remove displaystyle #15

Closed lmffeexd closed 7 years ago

w32zhong commented 7 years ago

Hi, thanks for fixing this error introduced from last commit. However, there are still some minor issues in this commit and I have further fixed these:

  1. There are some trailing spaces and spaces that are not aligned nicely.
  2. You have to use double backslash to "escape" the single backslash into literal backslash. (See the other query examples, they are doing the same thing too)

Also, in case user thinks this is a math-only search engine, I prefer the demonstrated query to be mixed with both math expression and normal term instead of just one single math expression. Therefore I add another keyword "value" into the query.

So, I will close this PR and use the amended commit 6bb26fd0796b572e5cbfa05a5ba5c43a2dde21f5 instead.

w32zhong commented 7 years ago

New code has been pulled to server.

lmffeexd commented 7 years ago

Thanks. Is there anyway by which you can enable \displaystyle for that?

w32zhong commented 7 years ago

@lmffeexd Not really, I actually tried to do \displaystyle in "quiz" title, but since it does not fit into one line, the typeset when used with typed.js looks really bad.