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

Make public the wrapper function for creating Marpit plugin #214

Closed
yhatt opened this issue Dec 16, 2019 · 0 comments · Fixed by #217
Closed

Make public the wrapper function for creating Marpit plugin #214

yhatt opened this issue Dec 16, 2019 · 0 comments · Fixed by #217
Labels
enhancement New feature or request

Comments

@yhatt
Copy link
Member

yhatt commented Dec 16, 2019

Marpit has internal helper function to be helpful creating Marpit plugin. It's exposed in @marp-team/marpit/markdown/marpit_plugin and using in some Marp tools but it is private API yet.
https://github.com/marp-team/marpit/blob/master/src/markdown/marpit_plugin.js

We are considering to expose this interface as Marpit.plugin() static function and named export that can use through export { plugin } from '@marp-team/marpit'.

Our plugin ecosystem has compatible with markdown-it, but it would be good that there is a better interface to access Marpit internals.

@yhatt yhatt added the enhancement New feature or request label Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant