Dennis Hackethal’s Blog

My blog about coding, philosophy, and anything else that interests me.

Highlighting Arbitrary Passages

Yesterday, I implemented a feature in the discussion forum I am building that I think is pretty cool. You can highlight any arbitrary passage and then link to it:

Image for post

Note that the corresponding range is added to the end of the URL. If you then share this URL with someone else, they will see the same visual effect.

This will be useful for cross referencing ideas.

See for yourself: https://web.archive.org/web/20191209181717/https://diskussion.herokuapp.com/#245…264

If you enjoyed this article, follow me on Twitter for more content like it.


What people are saying

What are your thoughts?

Markdown supported. cmd + enter to submit. You are responsible for what you write.