From: Dan Brown Date: Thu, 4 May 2023 22:39:41 +0000 (+0100) Subject: Adjusted include tag location text X-Git-Url: http://source.bookstackapp.com/website/commitdiff_plain/3f2265f4b924504c0c31e33c571e50875b712ebd Adjusted include tag location text --- diff --git a/content/docs/user/reusing-content.md b/content/docs/user/reusing-content.md index ca68823..549cb06 100644 --- a/content/docs/user/reusing-content.md +++ b/content/docs/user/reusing-content.md @@ -60,13 +60,20 @@ In the WYSIWYG editor you can force an ID by going into the source code view and In the markdown editor you can simply insert HTML with an ID to ensure it does not change: -#### Finding the source of reused content? -If you would like to edit the content from `{{@5}}`, you can find the content by adding the number behind site/link/ -like this: [https://demo.bookstackapp.com/link/5](https://demo.bookstackapp.com/link/5) -``` +```markdown # Old Content Copyright BookStack Enterprises 2020 # Revised with ID -``` \ No newline at end of file +``` + +### Locating Include Tag Target + +In some cases, you may come across an include tag and want to locate the page that the tag is targeting to include content from. +You can do this by making use of BookStack page direct links, which follow the format `/link/`. +Take the numeric ID (Located after the `@` but before the `#` if existing) from the include tag then use it as the `` +in that described URL format and you'll be taken to the source page. + +As an example if you had the include tag `{{@5#bkmrk-chapter-a}}`, you'd go to the URL path `/link/5`. +A full example URL, using our demo instance, would be: [https://demo.bookstackapp.com/link/5](https://demo.bookstackapp.com/link/5) \ No newline at end of file