New code highlight spacing

This commit is contained in:
Cagatay Civici 2023-10-15 12:38:39 +03:00
parent 0a416e0545
commit ce649d5360
743 changed files with 3945 additions and 1967 deletions

View file

@ -18,7 +18,8 @@ export default {
code: {
basic: `
<Toast />
<Button label="Show" @click="show()" />`,
<Button label="Show" @click="show()" />
`,
options: `
<template>
<div class="card flex justify-content-center">
@ -35,7 +36,8 @@ export default {
}
}
};
<\/script>`,
<\/script>
`,
composition: `
<template>
<div class="card flex justify-content-center">
@ -51,7 +53,8 @@ const toast = useToast();
const show = () => {
toast.add({ severity: 'info', summary: 'Info', detail: 'Message Content', life: 3000 });
};
<\/script>`
<\/script>
`
}
};
},