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

Plugin priority does not appear to work, which can be disabling #115

Merged
merged 1 commit into from
Jan 2, 2012
Merged

Plugin priority does not appear to work, which can be disabling #115

merged 1 commit into from
Jan 2, 2012

Conversation

pismute
Copy link
Contributor

@pismute pismute commented Dec 23, 2011

No description provided.

@balupton
Copy link
Member

Sweet! Thanks for taking the initiative. Can you provide any proof that it works? (Yes yes, I know docpad should have unit tests... but well...) Totally okay if not, it'll just speed up the process a bit :)

@pismute
Copy link
Contributor Author

pismute commented Dec 29, 2011

Yes if you want ascending. Next is my result( pluginsArray's order ) at render event. I'm not sure you want ascending.

{"name":"totaldocuments","priority":500}, {"name":"relations","priority":500}, {"name":"autoupdate","priority":500}, {"name":"buildr","priority":500}, {"name":"cleanUrls","priority":500}, {"name":"authenticate","priority":500}, {"name":"tool","priority":500}, {"name":"markdown","priority":700}, {"name":"coffee","priority":700}, {"name":"roy","priority":700}, {"name":"markdown-prettify","priority":701}, {"name":"html2jade","priority":725}, {"name":"less","priority":725}, {"name":"jade","priority":725}, {"name":"stylus","priority":725}, {"name":"haml","priority":725}, {"name":"sass","priority":725}, {"name":"eco","priority":750}

I want prettified html for markdown's code block. so I added markdown-pretiffy plugin. It have to be called after markdown plugin.

Thank you for My English. --;

balupton added a commit that referenced this pull request Jan 2, 2012
Plugin priority does not appear to work, which can be disabling
@balupton balupton merged commit b020ada into docpad:master Jan 2, 2012
balupton added a commit that referenced this pull request Jan 2, 2012
@balupton
Copy link
Member

balupton commented Jan 2, 2012

Released in v2.6.0, out now.

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

Successfully merging this pull request may close these issues.

2 participants