diff --git a/src/.vuepress/components/WhatsNew.vue b/src/.vuepress/components/WhatsNew.vue index 4c74d024..ed1dbdff 100644 --- a/src/.vuepress/components/WhatsNew.vue +++ b/src/.vuepress/components/WhatsNew.vue @@ -24,7 +24,10 @@ export default { async mounted() { try { const { data } = await this.$store.dispatch("getStableReleaseData"); - this.$data.whatsNew = marked(data.body); + this.$data.whatsNew = marked(data.body).replace( + /\(@(.*?)\)/g, + "(@$1)" + ); } catch (e) { console.error(e); }