Skip to content

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

Merged
balupton merged 1 commit into
docpad:masterfrom
dogfeet:patch-priority
Jan 2, 2012
Merged

Plugin priority does not appear to work, which can be disabling#115
balupton merged 1 commit into
docpad:masterfrom
dogfeet:patch-priority

Conversation

@pismute
Copy link
Copy Markdown
Contributor

@pismute pismute commented Dec 23, 2011

No description provided.

@balupton
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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