imfenghuang1k downloadsAnimating code blocks with markdown and code syntax highlighting with beautiful themes.
Obsidian Magic Move is a Obsidian (https://obsidian.md) plugin for animating code blocks. It based on shiki-magic-move.
Safe modeBrowse button to browse plugins and search for Magic Move, or open this link obsidian://show-plugin?id=magic-move in your browserInstall buttonobsidian-magic-move folder from the zip to your vault's plugins folder <vault>/.obsidian/plugins/ (Note: .obsidian folder may be hidden, you need to show it firstly)Reading Mode~~~markdown:magic-move
```vue
import { defineComponent } from 'vue'
export default defineComponent({
data: () => ({
count: 1
}),
computed: {
double() {
return this.count * 2
}
},
})
```
```vue
import { ref, computed } from 'vue'
const count = ref(1)
const double = computed(() => count.value * 2)
```
~~~
You can set the duration, stagger, lineNumbers animation option and select any theme you like in the settings tab. All settings are effective immediately.