1 parent eb9b683 commit c7ed0a4Copy full SHA for c7ed0a4
1 file changed
app/pages/ocr.vue
@@ -78,7 +78,8 @@ function clear() {
78
79
async function copyAsTypst() {
80
try {
81
- const typstCode = convertToTypst(latexCode.value)
+ let typstCode = convertToTypst(latexCode.value)
82
+ typstCode = wrapCode(typstCode, '$...$')
83
await navigator.clipboard.writeText(typstCode)
84
toast?.add({
85
title: t('typstCode') + ' ' + t('copied'),
0 commit comments