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

Transform between TemplateMark and Slate DOM #338

Open
jeromesimeon opened this issue Sep 22, 2020 · 0 comments
Open

Transform between TemplateMark and Slate DOM #338

jeromesimeon opened this issue Sep 22, 2020 · 0 comments

Comments

@jeromesimeon
Copy link
Member

Is your feature request related to a problem? Please describe.
The ability to create a Slate DOM from a template grammar rather than a contract (i.e., from TemplateMark rather than CiceroMark). The ability to transform the corresponding Slate DOM back to template mark (roundtrip).

Describe the solution you'd like

  • A pair of transforms parallel to the CiceroMark <-> Slate DOM one but for TemplateMark
  • Should share code for the common part of the DOM (i.e., for CommonMark)
  • Should roundtrip

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant