Replies: 1 comment
-
You can get a <template>
<vue-monaco-editor @beforeMount ="handleBeforeMount" />
</template>
<script lang="ts" setup>
import { shallowRef } from 'vue'
const monacoRef = shallowRef()
const handleBeforeMount = monaco => (monacoRef.value = monaco)
</script> And then, refer to the monaco editor documentation to set up custom languagea and prompts. You can refer the code in this link. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I register a custom language and activate it ?
Beta Was this translation helpful? Give feedback.
All reactions