mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Bits
This commit is contained in:
@@ -214,7 +214,7 @@ function RenderCodeImpl(props: RenderCodeImplProps) {
|
||||
renderSVG
|
||||
? (patchSvgString(fitScreen, blockCode) || 'No SVG code')
|
||||
: renderPlantUML
|
||||
? (patchSvgString(fitScreen, plantUmlHtmlData) || (plantUmlError as string) || 'No PlantUML rendering.')
|
||||
? (patchSvgString(fitScreen, plantUmlHtmlData) || (plantUmlError ? `PlantUML Error: ${plantUmlError.message}` : 'No PlantUML code'))
|
||||
: highlightedCode,
|
||||
}}
|
||||
sx={{
|
||||
|
||||
Reference in New Issue
Block a user