Skip to content

A simple script that numbers the essays of frantic AP Comp students

Notifications You must be signed in to change notification settings

clado/number-essay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

number-essay

Setup

  1. Go to nodejs.org/download and install node.js for your computer
  2. Click `Download Zip` in the corner of this page, and save the zip file on your desktop
  3. Unzip the zip file
  4. Open the file called `essay.html` in a text editor
  5. Copy and paste your essay as directed
    • in between `
      ` and `
      `
    • place `

      ` at the start of every paragraph and `

      ` at the end of every paragraph. Be sure to leave a space between `

      ` and the end of your sentence! (I could probably fix this, but I am too busy/lazy at the moment)
    • Replace all `'` in your paper with `'`. If any other weird things show up in your print preview (step 10), use [this](http://www.ascii.cl/htmlcodes.htm) chart to fix them.
  6. Open `Command Prompt` (Windows) or `Terminal` (Mac/Linux)
  7. Run the following command: `cd Desktop/number-essay-master`
  8. Run this command too: `npm install`
  9. Then this command: `node withpipes.js`
    • You should get a happy message in the terminal telling you that everything worked. If not, you have broken everything and there is no hope of (not really)
  10. Open the file `pipedessay.html` in your web browser of choice (but chrome or firefox are the only acceptable choices (for life, not this specifically))
  11. Print and Enjoy! (Don't forget to write your last name and page number in the corner. I fix one problem to create another, because that's how I role.)
  12. If you have made it this far without failure, you are now an html/node/commandline master!
    1. I made a few changes to make the final text easier to read, but I have yet to hear back from Decker if it's enough or not. If you can actually get this code to work (It's not very user-friendly, sorry), you may risk a lower grade in exasperating her with your crazy essay, unless I fix the formatting later. :)

About

A simple script that numbers the essays of frantic AP Comp students

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published