add example for dynamically compile html