Coder Social home page Coder Social logo

MathJax formatting issue about fsnotes HOT 7 CLOSED

tryonkus avatar tryonkus commented on August 15, 2024
MathJax formatting issue

from fsnotes.

Comments (7)

tryonkus avatar tryonkus commented on August 15, 2024

The entire note renders correctly here:

6. Mermaid and MathJax

Mermaid example

Documentation: https://mermaidjs.github.io

sequenceDiagram
    participant Alice
    participant Bob
    Alice->>John: Hello John, how are you?
    loop Healthcheck
        John->>John: Fight against hypochondria
    end
    Note right of John: Rational thoughts <br/>prevail!
    John-->>Alice: Great!
    John->>Bob: How about you?
    Bob-->>John: Jolly good!

MathJax example

Documentation: https://www.mathjax.org

Please choose: View > Preview MathJax

When $$((a \ne 0))$$, there are two solutions to $$ax^2 + bx + c = 0$$ and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

from fsnotes.

tryonkus avatar tryonkus commented on August 15, 2024

Curiouser and curiouser . . .

From the MathJax documentation:

The default math delimiters are $$...$$ and \[...\] for displayed mathematics, and \(...\) for 
in-line mathematics. Note in particular that the $...$ in-line delimiters are not used by default. 

Yet, FSNotes uses $ as an in-line delimiter and doesn't recognize the standards. Is this a GitHub flavored MathJax? I'm a bit of a newbie. The GitHub renderer seems to recognize $ and \$ both as a dollar sign character.

https://docs.mathjax.org/en/latest/input/tex/delimiters.html#tex-delimiters

Also, this page seems to say that MathJax does support $...$ in some cases:
https://docs.mathjax.org/en/latest/input/tex/differences.html

from fsnotes.

tryonkus avatar tryonkus commented on August 15, 2024

If I type

The costs are $40 dollars and $30 dollars.

it renders as

Screenshot 2024-04-20 at 6 21 06 PM

from fsnotes.

tryonkus avatar tryonkus commented on August 15, 2024

Not any criticism here—I just like playing with new software, and I'm good at breaking stuff. My nephew is a software tester, and I may have missed my calling (I'm in IT support and admin).

from fsnotes.

glushchenko avatar glushchenko commented on August 15, 2024

If I type

The costs are $40 dollars and $30 dollars.

it renders as

Screenshot 2024-04-20 at 6 21 06 PM

Yes.

Believe me, I know a lot more FSNotes problems, and not just in the parser. Pull requests would be much more useful, but no.

from fsnotes.

tryonkus avatar tryonkus commented on August 15, 2024

If I were a programmer, I’d be happy to dive in and debug. Sadly, I’m better at finding bugs than fixing them. I think it’s a great app, and I’m pushing some of the more obscure features.

from fsnotes.

glushchenko avatar glushchenko commented on August 15, 2024

If I were a programmer, I’d be happy to dive in and debug. Sadly, I’m better at finding bugs than fixing them. I think it’s a great app, and I’m pushing some of the more obscure features.

I am aircraft engines engineer, but occasionally i write the code. If you have ideas on how to improve the code, welcome to pull requests.

Thanks for the feedback, but i can't devote any more time to this task, sorry.

from fsnotes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.