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

Add env argument to render method #118

Merged
merged 3 commits into from
Jan 13, 2019
Merged

Add env argument to render method #118

merged 3 commits into from
Jan 13, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jan 12, 2019

To make compatibility with markdown-it's render method, we added env argument to pass into Marpit.render().

We need this for #112, to output the slide deck as array.

marpit.render('# Markdown', { outputAsArray: true })

@yhatt yhatt merged commit c2456cb into master Jan 13, 2019
@yhatt yhatt deleted the render-env branch January 13, 2019 06:46
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

Successfully merging this pull request may close these issues.

1 participant