Readme.md 652 B

123456789101112
  1. # Text Fragments — TypeScript implementation
  2. This is an implementation of (most of) the [WICG’s Text Fragments draft specification: <https://wicg.github.io/scroll-to-text-fragment/>][spec].
  3. It implements the spec line by line, in order to help serve as a reference implementation and to help test the specification. No attempt is made to e.g. increase efficiency.
  4. A polyfill is provided to use text fragments in browsers and other HTML viewers that do not support this feature natively.
  5. Try it out in the [playground][]!
  6. [spec]: https://wicg.github.io/scroll-to-text-fragment/
  7. [playground]: https://temp.treora.com/text-fragments-ts/demo.html