Skip to content

Conversation

@dannys42
Copy link

@dannys42 dannys42 commented Dec 31, 2021

Add HTML mutation capability to Plugins. This allows Plugins to perform any number of last-minute changes on the raw HTML output. Some possible uses:

  • HTML validation
  • pretty printing
  • minification
  • analytics tracking insertion
  • integration of any other HTML-based tools/filters/etc

@dannys42
Copy link
Author

@JohnSundell Let me know what you think about this approach. I'll add more comments to the public APIs if you think this is the right direction. Let me know if you think it warrants any unit tests as well.

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.

1 participant