Fix syntax highlight

This commit is contained in:
Michal Vanko 2020-12-09 16:07:31 +01:00
parent cb296c854c
commit e07df7dc81

View File

@ -12,10 +12,15 @@
</script> </script>
<script> <script>
import { onMount } from 'svelte'
import ArticleFooter from '../../components/blog/article-footer.svelte' import ArticleFooter from '../../components/blog/article-footer.svelte'
import '../../../static/prism.js' import Prism from '../../../static/prism.js'
export let post export let post
onMount(() => {
Prism.highlightAll()
})
</script> </script>
<style> <style>