mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add MathJax scripts to /app
This commit is contained in:
parent
0859002c0c
commit
69abc55615
1 changed files with 7 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import { deleteHighlightMutation } from '../../../../lib/networking/mutations/de
|
|||
import { mergeHighlightMutation } from '../../../../lib/networking/mutations/mergeHighlightMutation'
|
||||
import { updateHighlightMutation } from '../../../../lib/networking/mutations/updateHighlightMutation'
|
||||
import { articleReadingProgressMutation } from '../../../../lib/networking/mutations/articleReadingProgressMutation'
|
||||
import Script from 'next/script'
|
||||
|
||||
type AppArticleEmbedContentProps = {
|
||||
slug: string
|
||||
|
|
@ -78,6 +79,12 @@ function AppArticleEmbedContent(
|
|||
width: '100vw',
|
||||
}}
|
||||
>
|
||||
<Script async src="/static/scripts/mathJaxConfiguration.js" />
|
||||
<Script
|
||||
async
|
||||
id="MathJax-script"
|
||||
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"
|
||||
/>
|
||||
<VStack
|
||||
alignment="center"
|
||||
distribution="center"
|
||||
|
|
|
|||
Loading…
Reference in a new issue