metonym / svelte-highlight

Syntax Highlighting for Svelte using highlight.js
https://svhe.onrender.com
MIT License
253 stars 13 forks source link

SUPPORTED_STYLES.md typo #284

Closed pretzL closed 1 year ago

pretzL commented 1 year ago

In the documentation for Supported Styles, it is stated that to import a CSS StyleSheet, you use the following syntax:

<script>
  import "svelte-highlight/languages/3024.css";
</script>

However, this doesn't work. The correct import is as follows:

<script>
  import "svelte-highlight/styles/3024.css";
</script>
metonym commented 1 year ago

Thanks – fixed!