i haza website

Writing pages

Editor toolbar options

I Haza Website uses a rich-text editor to create pages. You can use it in full screen mode by closing the sidebar, click the The I Haza Website logo icon in the top left corner to toggle it. The sidebar width can also be adjusted on larger screens by dragging the right edge, and is displayed as a slide out menu on mobile.

The editor has lots of options to help you create content, this page describes them in detail. You can also import existing markdown and html documents and they will be converted into the editor's native format. Pasting markdown text into the editor will ask if you would like it formatted too.

Text formatting

The editor has built-in markdown support, which means you can use the keyboard combinations described below rather than requiring the toolbar for some of the editing options.

Lists, quotes and structure

Pop-up shown when editing linksSelect some text and click the link button to attach a link. A small toolbar appears above the link itself afterward, letting you edit or remove it without reopening the dialog. You can create links to other pages in a project by starting the link with a / character.

Links open in the same tab by default. To make a specific link open in a new tab instead, switch to View source and add target="_blank" rel="noopener noreferrer" to that link's <a> tag, then click Done - this stays in place after edits through the link toolbar button too.

Images and video

Click the Insert media or Link media button in the toolbar to open the media library file browser and pick a file. You can also add new files from the dialog and navigate to other media folders.

Insert will embed an image or video into the page, the link button creates a download link
which works with any file type.

Hover an embedded image or video and click the pencil icon that appears in the top right corner to open its Media Properties:

Tables

Click Insert table to add one at your cursor. Click inside it to bring up a floating toolbar for adding or removing rows and columns.

Emoji

Click the emoji button, or type : followed by a few letters, such as :smile, to bring up a searchable popup as you type. 🙂️

Code blocks

Syntax highlighting menu optionsClick the code block button or type three backticks ``` followed by space or enter to create a code block. You can also name a language before pressing space or enter, to specify the type of code you will be adding. Supported languages: css, javascript, js typescript, ts, xml, html, json, markdown, md, bash, shell, python and
plaintext (to leave a block intentionally unhighlighted). A code block created without a language still gets colored, the editor will guess the language from the code itself.

Code block theme - the palette button next to view source lets you pick which color theme highlighted code uses. This is option is set for the whole project, as files need to be added to support highlighting when published. The theme isn't shown when editing, try using preview mode to view the different themes available.

function example() {
  console.log("This page is using the default theme!");
}

View source

The view source button switches a page into viewing HTML, for anyone who wants to write or paste markup directly. CSS files and templates also open in view source mode with syntax highlighting applied.

A css file showing the color pickerSource mode has a minimal editor toolbar, allowing undo and redo, but it also provides a color picker tool that opens whenever you highlight a color value in a file. It will update the highlighted value when a new color is picked and can also be used to insert new color values at the current cursor placement.

Preview

Click Preview at any time to see the page rendered as it would look once published. This renders the page through any templates you've created so it's a great way to test them too. See templates & page design for more information.

Undo and redo

The undo and redo buttons are available in the toolbar in both rich-text and view source modes. You can also use standard keyboard shortcuts for your system (such as ctrl-z and ctrl-shift-z).

Log in Sign up