Giter VIP home page Giter VIP logo

outliner's Introduction

Outliner

After reading about document outlines in this post http://html5doctor.com/document-outlines/ and spending a bit of time browsing http://140byt.es entries I thought I could try to write a document outliner in 140 bytes. Well, I haven't done that yet, but I'd still like to. I spent a little bit of time doing some sketchy hacking http://jsfiddle.net/dylanfm/AbpXZ/ and then thought I'd move it to a Github repo and try to get it to follow the spec http://dev.w3.org/html5/spec/Overview.html#outlines - once that is done, I'll see if I can make it tiny.

So, for the time being this is rough and incomplete. Hopefully it'll become something worth a look soon. Maybe a bookmarklet can come out of it.

Plans

  1. Set up some tests - try to make them comprehensive and covering the document outline algorithm (I'll need to get the tests checked to make sure they're correct).
  2. Focus on developing the outline generator bit, ignoring the existing code for displaying the generated outline.
  3. Once that works correctly and the tests pass, try to get it small.
  4. Investigate making a bookmarklet.

Goals

  • No CoffeeScript or external dependencies (I feel like I've ignored just plain ol' JS lately).
  • Play with some ES5 things.
  • Make something remotely useful.
  • Make a bookmarklet (for the 1st time).

outliner's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.