Octothorpes on Bear

How to hashtag your Bear blog

Overview

This page will be updated as a reference as we enable more features on Bear and for the Octothorpe protocol.

Details

All you need to do is add a couple lines of HTML and/or Javascript on your page. Paste the following into the header of your blog:

<script async="" defer="" type="module" data-register="https://bearblog.octothorp.es/" data-plugins="linkfill" src="https://bearblog.octothorp.es/tag.js"></script>

You can find where to do that at https://bearblog.dev/YOUR-BLOG-NAME-HERE/dashboard/directives/ which you get to in the Settings menu of your dashboard

You have to have a paid Bear account, to to do that because free accounts can't use javascript or add header directives.

Once that's been added to the head of your blog, you can put octothorpes anywhere in your post by writing

<octo-thorpe>hashtag</octo-thorpe>

and it'll turn into this:

hashtag

That sends it to the server, and also serves as an embedded list that will update whenever anyone else uses the same hashtag.

You can do it without javascript too

While you need the JS mentioned above to make Ocothorpes work on Bear, you can write them with just regular html.

<a rel="octo:octothorpes" href="https://bearblog.octothorp.es/~/demo">demo</a>

This creates a link to the page on the server for that octothorpe and tells the server to add it for the page containing that link. Here it is in action.

demo