Replace build blocks in HTML. Like useref but done right.
Contribution from @vahpetr
Contribution from @khamin
Contribution from @jraoult
Contribution from @asv
file.dirname
is only available in [email protected]
and newer, using path.dirname
to support the older versions.Contribution from @asmgf
keepBlockTags
option may not work properly.