PfisterFactor / bear-equation-render

A little Electron app I hacked together to display ASCIIMath equations in the Bear notetaking app for Mac OS
MIT License
41 stars 2 forks source link

Awesome! #1

Open saivan opened 6 years ago

saivan commented 6 years ago

First off, Awesome app! Thanks heaps for it. Will be great to use till they finally get around to adding latex or asciimath to bear.

How hard do you think it would be to just find any asciimath inside the note between some delimiters and just replace it all for the corresponding math? It seems that you must have access to the note somehow, but I'm not sure if you can see the note in plain text :p

Thanks again!

PfisterFactor commented 6 years ago

Wouldn't be too hard to do, bear's API exposes a way to get the note in plaintext. I'll try throwing together a little feature for it when I get time. There's a few things I wanna improve but haven't had time with school and work. Notably resizing the window haha

saivan commented 6 years ago

Awesome, thats pretty awesome. Also, bear does support svg imports. Might be a good idea to import things as svgs, that will get rid of the blurriness and such :P Also, perhaps an option to specify the line height. Might make a pr if I get some time too.

PfisterFactor commented 6 years ago

Oh it supports svg? That's an awesome idea haha! I threw the app together in a night so most of the codebase is hacked together. But if I can get around to it sometime I'll definitely try to implement it. And if you ever do make a PR feel free to message me if you need help understanding my 3am coding haha

saivan commented 6 years ago

will do!