January 12, 2008 3:27 PM

Save Time, Create Intermediate Previews

You don't have to wait for the entire update process to finish before you can preview your work. Use the draft and make-page actions to create an intermediate preview of your work.

  1. Create the new entry or article with draft.

    nb draft preview.txt
    
    
  2. Create the preview with make-page.

    nb make-page preview.txt preview.html
    
    
  3. When you're satisfied with the preview, initiate the update sequence.

    for an entry:

    nb file preview.txt add
    
    

    for an article (from the articles directory):

    nb query main update
    
    

Posted by n1xt3r | Permanent link | File under: tips-and-tricks | Comments: (0)

0 comments

Comments are closed

If you really, really want to comment, please mail n1xt3r@fastmail.fm