# Goldmark: Javascript does not render

**URL:** <https://discourse.gohugo.io/t/goldmark-javascript-does-not-render/22627>\
**Category:** support\
**Created:** [January 3, 2020, 3:00pm UTC](https://discourse.gohugo.io/t/goldmark-javascript-does-not-render/22627 "2020-01-03T15:00:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pat-s](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pat-s/32/2475_2.png) [@pat-s](https://discourse.gohugo.io/u/pat-s)\
**Post date:** [January 3, 2020, 3:00pm UTC](https://discourse.gohugo.io/t/goldmark-javascript-does-not-render/22627/1 "2020-01-03T15:00:15Z")

</div>

Previously I had the following javascript content within a `.md` post and it rendered just fine with the `blackFriday` markdown renderer:

```auto
<script src="https://bibbase.org/show?bib=https%3A%2F%2Fapi.zotero.org%2Fusers%2F4816857%2Fcollections%2F35DMSIF4%2Fitems%3Fkey%3DHKGMmOtRP5yfzX8wL1j6F8bu%26format%3Dbibtex%26limit%3D100&jsonp=1"></script>

```

However, with `goldmark` I only get a blank space, not even an error.  
Does `goldmark` not support JS? If it does, how can I get it working?

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [January 3, 2020, 3:02pm UTC](https://discourse.gohugo.io/t/goldmark-javascript-does-not-render/22627/2 "2020-01-03T15:02:42Z")

</div>

> [@pat-s](#):
>
> how can I get it working?

Enable “unsafe” in the config. See docs.

---

<div class="post-metadata">

**Author:** ![pat-s](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pat-s/32/2475_2.png) [@pat-s](https://discourse.gohugo.io/u/pat-s)\
**Post date:** [January 3, 2020, 3:08pm UTC](https://discourse.gohugo.io/t/goldmark-javascript-does-not-render/22627/3 "2020-01-03T15:08:23Z")

</div>

Thanks. Apparently I had `unsafe = true` but the config.toml was misconfigured so it was not picked up 😕
