Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yfwz100 opened this issue Jan 31, 2024 · 1 comment
Open

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

yfwz100 opened this issue Jan 31, 2024 · 1 comment

Comments

@yfwz100
Copy link
Contributor

yfwz100 commented Jan 31, 2024

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

See:

constructor(element: HTMLElement, options = {}) {

@Zeng1998
Copy link
Contributor

Zeng1998 commented Feb 4, 2024

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

@yfwz100 yfwz100 changed the title Add types for options in Muya constructor? [Feature] Add types for options in Muya constructor? Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants