|
@@ -217,8 +217,8 @@ const FigureModalContent = () => {
|
|
|
'\\begin{figure}',
|
|
'\\begin{figure}',
|
|
|
'\t\\centering',
|
|
'\t\\centering',
|
|
|
`\t\\includegraphics${widthArgument}{${path}}`,
|
|
`\t\\includegraphics${widthArgument}{${path}}`,
|
|
|
- `\t${captionCommand}` || null,
|
|
|
|
|
- `\t${labelCommand}` || null,
|
|
|
|
|
|
|
+ `\t${captionCommand}`,
|
|
|
|
|
+ `\t${labelCommand}`,
|
|
|
`\\end{figure}${suffix}`,
|
|
`\\end{figure}${suffix}`,
|
|
|
],
|
|
],
|
|
|
view.state,
|
|
view.state,
|