Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
feat(html): introduce new hast extension point (#324)
Browse files Browse the repository at this point in the history
see  #319
  • Loading branch information
trieloff authored and koraa committed May 10, 2019
1 parent 4952512 commit 4bf9cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/defaults/html.pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const htmlpipe = (cont, payload, action) => {
.after(cache).when(uncached)
.after(key)
.after(debug)
.after(tohast) // start HTML post-processing
.after(tohast).expose('hast') // start HTML post-processing
.after(rewriteLinks).when(production)
.after(addHeaders)
.after(tohtml) // end HTML post-processing
Expand Down

0 comments on commit 4bf9cda

Please sign in to comment.