# Auto Bookmarks plugin

**URL:** <https://meta.discourse.org/t/auto-bookmarks-plugin/110250>\
**Category:** Plugin\
**Created:** [February 27, 2019, 4:20pm UTC](https://meta.discourse.org/t/auto-bookmarks-plugin/110250 "2019-02-27T16:20:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![acaporrini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/acaporrini/32/132523_2.png) [@acaporrini](https://meta.discourse.org/u/acaporrini)\
**Post date:** [February 27, 2019, 4:20pm UTC](https://meta.discourse.org/t/auto-bookmarks-plugin/110250/1 "2019-02-27T16:20:28Z")

</div>

# discourse-auto-bookmarks

discourse-auto-bookmarks is a Discourse plugin for adding automatic HTML bookmarks to topics and easily get a sharable link which points at specific parts of the text.

## Installation

Follow [Install a Plugin](https://meta.discourse.org/t/install-a-plugin/19157)  
how-to from the official Discourse Meta, using `git clone https://github.com/acaporrini/discourse-auto-bookmarks.git`  
as the plugin command.

## Usage

Hover over any h1,h2,h3,h4,h5,h6 header in your topics, a small bookmark icon will appear:

 ![hover](https://global.discourse-cdn.com/meta/original/3X/5/9/59f3418b0a3dbb6b8a833dae900ef57793b40ae5.png)

Right click the bookmark icon and select “Copy link address”:

 ![copy](https://global.discourse-cdn.com/meta/original/3X/2/c/2cad84f72203029fd79a80f691b6b2a3f3e863e7.png)

Now you can share this bookmark link, it will open the topic exactly at the point where the bookmark is.

## Testing

To run tests in your local environment visit [http://localhost:3000/qunit?qunit\_skip\_core=1&qunit\_single\_plugin=discourse-auto-bookmarks](http://localhost:3000/qunit?qunit_skip_core=1&qunit_single_plugin=discourse-auto-bookmarks)

## Repository

[https://github.com/acaporrini/discourse-auto-bookmarks](https://github.com/acaporrini/discourse-auto-bookmarks)

---

_[View the full topic](https://meta.discourse.org/t/auto-bookmarks-plugin/110250)._
