diff --git a/docs/pages/glossary/index.vue b/docs/pages/glossary/index.vue index 99f7cd33b..2a3babc43 100644 --- a/docs/pages/glossary/index.vue +++ b/docs/pages/glossary/index.vue @@ -27,7 +27,12 @@ - {{ term.term }} + + {{ term.term }} + + {{ term.note }} {{ term.description }} @@ -75,6 +80,18 @@ return termList(this.filterText); }, }, + methods: { + anchor(term) { + // standarize url + return `#${term.term + .toLowerCase() + .split(' ') + .join('_') + .replace('(', '') + .replace(')', '') + .replace(',', '')}`; + }, + }, };