feat: show index
This commit is contained in:
parent
1a9b7e61e2
commit
6e9077f240
@ -19,7 +19,9 @@ const props = defineProps({
|
||||
</script>
|
||||
<template>
|
||||
<ul>
|
||||
<li v-for="s in bib">
|
||||
<li v-for="(s, index) in bib">
|
||||
[{{ index }}]
|
||||
|
||||
<template v-if="typeof s.author !== 'undefined' && s.author !== ''">
|
||||
<span class="author">{{ s.author }}</span>,
|
||||
</template>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "slidev-addon-bibliography",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "Slidev addon to provide bibliography sources for presentations.",
|
||||
"scripts": {
|
||||
"dev": "slidev example.md",
|
||||
|
Loading…
x
Reference in New Issue
Block a user