muya icon indicating copy to clipboard operation
muya copied to clipboard

[Feature] Add types for options in Muya constructor?

Open yfwz100 opened this issue 1 year ago • 2 comments

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

yfwz100 avatar Jan 31 '24 05:01 yfwz100

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

Zeng1998 avatar Feb 04 '24 05:02 Zeng1998

codeBlockLineNumbers is not supported yet. and preferLooseListItem is supported, it dose not work?

Jocs avatar Nov 10 '25 14:11 Jocs