36b0e304fc
This is based on HTML files with a global YAML comment, currently with "target" as the only allowed key. The tests then do this: - Open a HTML file in data/hints/html - Start hinting - Make sure only one hint is visible - Follow it, and make sure the page mentioned in "target:" is reached Some ideas for the future: - A "scroll" key, to scroll before hinting - A "zoom" key, to zoom - Multiple hints via a list - Checking position of hints? - A mode to manually check the pages (to check hint positions)
14 lines
221 B
HTML
14 lines
221 B
HTML
<!DOCTYPE html>
|
|
|
|
<!-- target: hello.txt -->
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Simple link</title>
|
|
</head>
|
|
<body>
|
|
<a href="/data/hello.txt">Follow me!</a>
|
|
</body>
|
|
</html>
|