austinvhuang / openmemex

Open source, local-first knowledge platform.
Apache License 2.0
209 stars 9 forks source link

Better MD editor #21

Open blaggacao opened 2 years ago

blaggacao commented 2 years ago

https://github.com/marktext/muya

This project is awesome all around.

Muya is the best embeddable md editor out there.

2 * awesome = ? -> 😊 :+1:

blaggacao commented 2 years ago

You can try out the marktext app to check it's UX and look and feel. Muya is an outfactoring of the MD editor.

austinvhuang commented 2 years ago

Interesting! Currently we have an Ace binding implemented which is boring but well trod.

I see it says - "Muya is still under development and should not be used for production" ... OpenMemex is guilty of overcharging our novelty budget as is :) but I'll check out marktext app and see how it feels.

blaggacao commented 2 years ago

If I had to guess, marktext might be already using muya. Or shortly might. So "not in production" might be a bit of an expectation management thing rather than being accurate : 😊

austinvhuang commented 2 years ago

Cool - I think feasibility might come down to how easy it the API makes it to integrate a rust binding. Ace turned out to be relatively gentle even for a non-rust expert like myself (still pre-alpha, see https://github.com/austinvhuang/openmemex/blob/master/frontend/src/ace.rs and https://github.com/austinvhuang/openmemex/blob/master/frontend/static/ace_bindings.js for both sides of the FFI).

Would be happy to take a PR if you or anyone is interested in taking a stab too. Not sure if you're in the discord already but feel free to come chat more there https://discord.gg/mGy29Smv4g