widcardw / obsidian-asciimath

Asciimath support for Obsidian (based on asciimath-parser)
MIT License
29 stars 3 forks source link

Bar does not span entire argument #7

Closed Cookie04DE closed 1 year ago

Cookie04DE commented 1 year ago

Consider the following AsciiMath: bar(A uu B) = bar(A) nn bar(B) AsciMath.org renders it like this: AsciMath rendering showing bar spans entire argument The plugin however renders it like this: Obsidian render showing only small bar not covering entire argumet As you can see the plugin rendered version does not draw the bar over the entire argument of the bar command.

widcardw commented 1 year ago

Oops, since the peogram will change bar into \bar, while changing overline into \overline, (alias ol). I did not strictly follow the rules of asciimath.org, so some rules are in consistent. For more information, please refer to https://asciimath.widcard.win

Cookie04DE commented 1 year ago

Thanks for your response and your time. Could you elaborate on the status of this issue? I checked asciimath.widcard.win, and it still renders the provided ascii math code in the wrong way. Is this a "won't fix" or did you fix it and not yet update the website?

widcardw commented 1 year ago

Yes, it is a "won't fix". You can use ol or overline instead.