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

How to add new elements? #2

Open
634750802 opened this issue Oct 14, 2021 · 1 comment
Open

How to add new elements? #2

634750802 opened this issue Oct 14, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@634750802
Copy link
Collaborator

Initial thoughts:

  1. Impl remark plugin (define a new mdast node type)
  2. Define configs in src/slate-markdown/elements
@634750802 634750802 changed the title How to add special elements? How to add new elements? Oct 14, 2021
@634750802
Copy link
Collaborator Author

634750802 commented Oct 17, 2021

An example commit is here a1b107c for #1

@634750802 634750802 pinned this issue Oct 17, 2021
@634750802 634750802 added the documentation Improvements or additions to documentation label Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant