{% highlight "js" %}
function myFunction() {
return true;
}
{% endhighlight %}
{% highlight "js" %}
let multilineString = `
this is the first line
this is the middle line
this is the last line
`;
{% endhighlight %}
{% highlight "js 1,3" %}
let multilineString = `
this is the first line
this is the middle line
this is the last line
`;
{% endhighlight %}
{% highlight "js 1,3" %}
alert("test");
let multilineString = buildSchema(`
this is the first line
this is the middle line
this is the last line
`);
alert("test");
{% endhighlight %}
{% highlight "js" %}
module.exports = function({collections}) {
return `
${collections.post.map((post) => `- ${ post.data.title }
`).join("\n")}
`;
};
{% endhighlight %}
{% highlight "js 1,3" %}
module.exports = function({collections}) {
return `
${collections.post.map((post) => `- ${ post.data.title }
`).join("\n")}
`;
};
{% endhighlight %}
{% highlight "typescript" %}
function myFunction() {
return true;
}
{% endhighlight %}
{% highlight "ts" %}
function myFunction() {
return true;
}
{% endhighlight %}