Skip to content

Commit

Permalink
chore: remove latex from highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenDittmann committed Aug 19, 2023
1 parent 376866b commit 25c9950
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions apps/demo/src/lib/Fence.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
import javascript from 'highlight.js/lib/languages/javascript';
import xml from 'highlight.js/lib/languages/xml';
import shell from 'highlight.js/lib/languages/shell';
import latex from 'highlight.js/lib/languages/latex';
import markdown from 'highlight.js/lib/languages/markdown';
import json from 'highlight.js/lib/languages/json';
hljs.registerLanguage('javascript', javascript);
hljs.registerLanguage('html', xml);
hljs.registerLanguage('sh', shell);
hljs.registerLanguage('md', markdown);
hljs.registerLanguage('latex', latex);
hljs.registerLanguage('json', json);
export let content: string;
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/src/routes/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ This library brings the power of [Markdoc](https://markdoc.dev/) right into your
</div>
```

```latex
```md
{% callout type="check" %}
Markdoc is open-source—check out its [source](http://github.com/markdoc/markdoc) to see how it works.
{% /callout %}
Expand Down

0 comments on commit 25c9950

Please sign in to comment.