shikijs / twoslash

You take some Shiki, add a hint of TypeScript compiler, and 🎉 incredible static code samples
https://shikijs.github.io/twoslash/
MIT License
1.08k stars 53 forks source link

11ty plugin seemingly not doing anything #163

Closed smth closed 2 years ago

smth commented 2 years ago

I'm trying the Eleventy integration, and having followed the setup instructions I'm finding that my code blocks are completely unaffected. For example:

    ```scss
    .item {
        --accent-colour: #{$green};
    }
Will end up as:
<pre><code class="language-scss">.item {
    --accent-colour: #{$green};
}
</code></pre>


I'm not getting any errors.
I'm using 11ty v1.0.2.
Tried Node v12 and v16.
smth commented 2 years ago

Ignore this. There was a typo in my .eleventy.js. I'm now getting the error in this issue.