Skip to content

Commit

Permalink
feat[#18]: add support for Markdown headings in URL to link to a spec…
Browse files Browse the repository at this point in the history
…ific section
  • Loading branch information
muhdsalm committed Jul 21, 2024
1 parent 5f70d9a commit 7180ec1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/ArticleView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export default defineComponent({
(c) => c.shortName === this.collectionName
);
document.getElementById(window.location.hash.slice(1))?.scrollIntoView({behavior: 'smooth'});
this.setEditUrl(collectionConfig);
},
methods: {
Expand Down

0 comments on commit 7180ec1

Please sign in to comment.