Dennis Hackethal’s Blog

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

Highlighting Arbitrary Passages

Published · 1-minute read

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?

You are responding to comment #. Clear
Your real name is preferred.
Markdown supported. cmd + enter to comment. You are responsible for what you write. Terms, privacy policy
This small puzzle helps protect the blog against automated spam.

Preview