implicit social contract
Comment by danallosso: To what extent does the fact that Hypothesis annotations show up in our feeds (and are thus useful for us tracking our movement through texts) while mere highlights do not, determine usage patterns ?
implicit social contract
Comment by danallosso: To what extent does the fact that Hypothesis annotations show up in our feeds (and are thus useful for us tracking our movement through texts) while mere highlights do not, determine usage patterns ?
js
const { generateFragment } = await import('https://unpkg.com/text-fragments-polyfill/dist/fragment-generation-utils.js');
const result = generateFragment(window.getSelection());
if (result.status === 0) {
let url = `${location.origin}${location.pathname}${location.search}`;
const fragment = result.fragment;
const prefix = fragment.prefix ?
`${encodeURIComponent(fragment.prefix)}-,` :
'';
const suffix = fragment.suffix ?
`,-${encodeURIComponent(fragment.suffix)}` :
'';
const textStart = encodeURIComponent(fragment.textStart);
const textEnd = fragment.textEnd ?
`,${encodeURIComponent(fragment.textEnd)}` :
'';
url += `#:~:text=${prefix}${textStart}${textEnd}${suffix}`;
console.log(url);
}
```html
<style> ::selection { background: #00FF00; } ::highlight(foo) { background: #FF00FF; } </style> <script> getSelection().removeAllRanges(); getSelection().selectAllChildren(document.body); const style = getComputedStyle(document.body, "::highlight(foo)"); console.log(style.backgroundColor); </script> <body>Hello, world!</body>```
In line with the much-requested (and long-longed-for) feature of highlights in different colors (an exhaustive list given in #198), I would like to suggest allowing (automatic) coloring of highlights based on tags with designated patterns (like code:critiques, code:non-ergodicity in psychology, etc.), or alternatively, all tags (i.e., without specific patterns).
Made a quick strawman mockup of what it could look like from the editor side:
i implemented this myself this way:
code syntax highlighting: pasted both his highlighted version (as an image) and unhighlighted version (as text, so that it can be copied/pasted, indexed, whatever)
On the road again...
Although we're using an Omeka Simple Page as our start page, the link I'm using points us to the first page of the Exhibit.
but there are no comments or tags
Is this not a comment on a highlight? And did I not just add tags? Is this article out of date?
implicit social contract
To what extent does the fact that Hypothesis annotations show up in our feeds (and are thus useful for us tracking our movement through texts) while mere highlights do not, determine usage patterns ?
Why highlight? Like annotating, highlighting may seem unimportant if you create thorough, well-constructed briefs, but highlighting directly helps you to brief. It makes cases, especially the more complicated ones, easy to digest, review and use to extract information. Highlighting takes advantage of colors to provide a uniquely effective method for reviewing and referencing a case. If you prefer a visual approach to learning, you may find highlighting to be a very effective tool.
Why highlight?