This is a brief addendum to the JSON {{my.token}} post.
Sometimes, you might want to store just text (like comma- or pipe-delimited data) inside a data block. That's easy, too:
Then when you parse it, just skip the JSON parsing:
var plainTextData = document.querySelector("script[type='text/plain']").text
.split(/^/m)
.slice(1,-1)
.join("");