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

ParsedownGravTrait addBlockType and addInlineType enhancements #1062

Merged
merged 1 commit into from
Oct 13, 2016

Conversation

Sommerregen
Copy link
Contributor

This PR extends the API for Grav plugins to access the Parsedown parser directly. First it avoids an exception, when an index is set, but no block type $type exists in the array. And second it allows to register Markdown extensions, which don't have a marker (The built-in code block is such an example, where indentation yields formatting the paragraph as code).

@rhukster rhukster merged commit 50c2ecb into getgrav:develop Oct 13, 2016
@rhukster
Copy link
Member

Looks good!

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.

2 participants