Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "shiki", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "shiki", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "a20dccbdb72c05af8821204d6b1a3cd437245459" | ||
"gitHead": "0b905494cd14c2e7ec00c0a11f9f099fd251850b" | ||
} |
@@ -5,14 +5,2 @@ export { getTheme, loadTheme } from 'shiki-themes' | ||
export { renderToHtml } from './renderer'; | ||
export { IThemedToken } from './themedTokenizer'; | ||
const shiki = require('shiki') | ||
shiki.getHighlighter({ | ||
theme: 'nord' | ||
}).then(highlighter => { | ||
console.log(highlighter.codeToHtml(`console.log('shiki');`, 'js')) | ||
}) | ||
// <pre class="shiki" style="background-color: #2e3440"><code> | ||
// <!-- Highlighted Code --> | ||
// </code></pre | ||
export { IThemedToken } from './themedTokenizer'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42703
1090