You can write a Leanpub book using the Visual Editor writing mode. In this section we'll show you how to create a book and generate your first preview.

Once you have successfully generated your first preview, you'll know everything you know to get started writing in the Visual Editor writing mode.

You'll find more information and detailed instructions on the "Getting Started" page for your book; you'll be shown how to get to that page at the end of these instructions.

Creating a Book in Visual Editor Writing Mode

Go to to create a book in the Visual Editor.

Next, type a title for your book into the "TITLE" box. You can change your title later.

Click in the "BOOK URL" box. Leanpub will automatically suggest a URL for your book's web page on Leanpub. You can change this URL at any time.

Scroll down and you will see "MAIN LANGUAGE USED IN YOUR BOOK." You can select a language from the drop-down. Like the other settings, you can change this at any time.

Scroll down and you will see the "BOOK THEME" options. "Business" will be selected by default. The Book Theme is just a set of standard formatting options conventional for books on these subjects. You are not required to choose any particular option. You can change your Book Theme at any time.

For this tutorial, we selected the "Fiction" Book Theme.

In the section below, you will be presented with various Writing Mode options. For this tutorial, select "In your browser on Leanpub."

If you scroll down, you will see that the "In our Visual Editor" option is selected by default.

When you scroll down, you will see the subscription plan options. By default, "Free" will be selected. If you have a paid Leanpub account already, you will see that plan selected automatically.

Select a plan.

Scroll down and, if you are not signed in to a Leanpub account, you will see an option to enter information to create a new account. You will also see an option to sign in, if you already have a Leanpub account.

To create a new account, fill in the relevant information.

Finally, click the blue button to finish creating your new Visual Editor book.

You will now be taken directly to the Visual Editor, where you will see some default content.

You type directly into the Visual Editor here, to write your book. 

Creating a Preview

Click on "Write" at the top, and you will see your Book Tools menu. It will look something like this:

Click on "Preview or Publish" in the menu, and you will see something like this:

Select "Preview' in the column to the right, and you will go to the "Preview" page for your book:

Click the "Create Preview" button. You will go to a page like this, where you will see a progress bar at the top:

When the preview process is complete, you will see download links for the preview, in a variety of formats:

Click on the links to see what your book looks like in the various formats.

Writing in Your Book

To write in our Visual Editor, click on the "Write" item in the Author menu for your book here:

`Author > Books > [Your Book Title] > Write`

When you go to the Visual Editor, you will find some default content, and you will see that the cursor is blinking. Type this:

Hello, world!

Go back to the preview page for your book at:

`Author > Books > [Your Book Title] > Preview or Publish > Preview`

The next time you create a preview, it will reflect the changes you have made.

In the next step of this tutorial, we will show you how you can change the sections that are included in your book.

Go back to the Visual Editor.

Click the word "Menu" you will see at the top left.

If this is a new book, you will see that we have provided three default chapters:

Chapter 1
Chapter 2
Chapter 3

First, let's delete a section. Hover your mouse over `Chapter 3`. Then, click on the red X that you will see. This will delete the chapter. (You may need to refresh your web page, or leave it and come back, to see the change.)

The next time you create a preview, you will see that this chapter is no longer included in your book.

Next, let's change the name of a chapter.

In the menu on the left, click on `Chapter 2`. Then, at the top of the Visual Editor, select the words `Chapter 2` and type:


This book is **done** and ready for *the world to see*, hooray!

The menu at the top left will now show this list of files:

Chapter 1
Chapter 2

Go back to the preview page for your book at:

`Author > Books > [Your Book Title] > Preview or Publish > Preview`

The next time you create a preview, it will reflect the changes you have made.

**Congratulations!** You've completed the Getting Started tutorial for writing a book in Leanpub using the Leanpub Visual Editor.

Next Steps

Next, we recommend you explore the Overview page for your book:

`Author > Books > [Your Book Title] > Book Info > Overview`

On the Overview page, you can see all the pages you need to get your book set up on Leanpub, like "Upload Book Cover" and the "Book Details" page, where you can explain what your book is about to potential readers.

If you have any questions or can't find anything, please search our Help Center for authors here: [](

Happy writing!

Did this answer your question?