@ctx-core/highlight.js
TypeScript icon, indicating that this package has built-in type declarations

5.2.185 • Public • Published

@ctx-core/highlight.js

Install

npm i @ctx-core/highlight.js

Usage in Sapper

<script>
	import { stores } from '@sapper/app.mjs'
	import { refresh__initHighlighting } from '@ctx-core/highlight.js'
	import hljs from 'highlight.js'
	const { page } = stores()
	$: {
		$page, refresh__initHighlighting(hljs)
	}
</script>

/@ctx-core/highlight.js/

    Package Sidebar

    Install

    npm i @ctx-core/highlight.js

    Weekly Downloads

    295

    Version

    5.2.185

    License

    Apache-2.0

    Unpacked Size

    3.44 kB

    Total Files

    10

    Last publish

    Collaborators

    • btakita