EPUB

Documentation

Markdown

Ebook Properties

Part Properties

EPUB

Epub3 is the actual ebook format. It consists of xhtml, images, stylesheets and toc (table of contents). The ebook is just a folder with all the above files zipped to a .epub file.

Creation

To create such an epub archieve you have to create a new project using the NoCodeDesigner and choose book as one of the options. Then all necesarry file and folders will be created for you.

If you already have created a project without choosing the book option you can do the following. Find the project folder on your harddrive. Add the folder parts inside this folder and add the file book.sml into the root folder of the project.

In the parts folder add a file with the name home.sml. This will be your first page. Add markdown content like

# Title
Lorem ipsum dolor

The content of the book.sml will look as follows.

Ebook {
  smlVersion: "1.1"
  name: "Your book title"
  version: "1.0"
  theme: "Epub3"
  creator: "Your name"
  language: "en"

  Part {
    src: "home.md"
  }
}

Ebook

Property Description Default
smlVersion This is the version the programm is using internally. This used to be able to read files from older versions also. In this case 1.1 is used which means the grammar is at version 1 and 1.1
name The name or title of the book.
version The version of the book
theme This is the template name to render the epub content. Epub3
creator Your name or the name of the author.
language The language of the book. At the moment we support en for english and de for German. en