# JavaScript on page

**URL:** <https://discourse.gohugo.io/t/javascript-on-page/4166>\
**Category:** support\
**Created:** [September 25, 2016, 8:45pm UTC](https://discourse.gohugo.io/t/javascript-on-page/4166 "2016-09-25T20:45:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![digitalcraftsman](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/digitalcraftsman/32/4142_2.png) [@digitalcraftsman](https://discourse.gohugo.io/u/digitalcraftsman)\
**Post date:** [September 25, 2016, 9:12pm UTC](https://discourse.gohugo.io/t/javascript-on-page/4166/4 "2016-09-25T21:12:51Z")

</div>

You can include regular HTML in you Markdown files. So a `<script>` tag should work. Maybe it can happen that Go templates escape them for security reasons (unless Hugo trusts the user and marks it as safe by default).

---

_[View the full topic](https://discourse.gohugo.io/t/javascript-on-page/4166)._
