Skip to content

Commit

Permalink
Implement workaround for Astro bug
Browse files Browse the repository at this point in the history
This is a workaround due to an Astro bug. The bug has been fixed, but we're still on an older Astro version, and using a different file extension works fine for now.
  • Loading branch information
tillprochaska committed Jun 2, 2023
1 parent 1a102db commit 5194802
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/common/Mermaid.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Spinner from '@components/common/Spinner.astro';

<script>
import mermaid from 'mermaid';
import themeCSS from './mermaid-theme.css?inline';
import themeCSS from './mermaid-theme.css.txt?raw';

mermaid.initialize({
themeCSS,
Expand Down

0 comments on commit 5194802

Please sign in to comment.