HonKit FAQ

This page gathers common questions and answers concerning the HonKit format and toolchain.

How can I host/publish my book?

Publish to GitHub Pages or Netlify, and more.

Does not reload plugins?

HonKit use file cache per text content file by default.

This file cache check file changes and reload it automatically. In some case, HonKit cannot detect the changes of plugins.

If you want to refresh force, please use --reload flag.

$ honkit build --reload

Why is my build slow?

Use the --profile flag to see where the build spends time.

$ honkit build --reload --profile

It prints the time of each build phase, rendering step, theme helper, plugin hook, and the slowest pages. --profile-output <file> also writes the result as JSON, which you can attach to an issue. Write it outside the book folder (for example --profile-output ../profile.json), or HonKit copies it into the output as an asset on the next build. With --profile, HonKit generates pages one by one to measure each page, so the total time can differ a little from a normal build.

Does HonKit supports RTL/bi-directional text ?

The HonKit format supports right to left, and bi-directional writing. To enable it, you either need to specify a language (ex: ar), or force HonKit to use RTL in your book.json:

{
    "language": "ar",
    "direction": "rtl"
}

With version 3.0 of HonKit, it's automatically detected according to the content. Note that, while the output book will indeed respect RTL, the Editor doesn't support RTL writing yet.

You should always use paths and the .md extensions when linking to your files, HonKit will automatically replace these paths by the appropriate link when the pointing file is referenced in the Table of Contents.

Can I create a HonKit in a sub-directory of my repository?

Yes, HonKits can be created in sub-directories.

Does HonKit supports RTL languages?

Yes, HonKit automatically detect the direction in your pages (rtl or ltr) and adjust the layout accordingly. The direction can also be specified globally in the book.json.


Does HonKit support Math equations?

See following issues.

Can I customize/theme the output?

Yes, both the website and ebook outputs can be customized using themes.

Can I add interactive content (videos, etc)?

HonKit is very extensible. You can use existing plugins or create your own!

results matching ""

    No results matching ""