marktext / muya

📄 Future markdown editor for web browser applications development
MIT License
615 stars 54 forks source link

[Feature] Add types for options in Muya constructor? #149

Open yfwz100 opened 7 months ago

yfwz100 commented 7 months ago

I think the types is placed in types.ts but it's not referenced.

See: https://github.com/marktext/muya/blob/eb064daae58587d39706cbc35fa94f2f959d66aa/packages/index.ts#L58

Zeng1998 commented 7 months ago

BTW. I have found that some options are unavailable now, like codeBlockLineNumbers, preferLooseListItem.