parent nodes: HtmlCss | Intro2ViewingAndEditing | ThisWiki | WorkSpace | WorkSpaceGeneral | WpOptionsHtmlPreview

The Preview

Contents:
The Preview
General
Excluding page attibutes
Preview renderer
Settings
Options

Back

General

Wikidpad translates texts and other Wikidpad elements on a page into html and uses that to show the page in preview. The previewer in fact is a small web browser. It shows the page as it will approximately look in the (real) browser after publishing (exporting) it to html.

Top

Excluding page attibutes

Normally not only the page text is shown in preview, but also all the attributes that are on it. Some attributes can be usefull in preview, some however - like "tree_position" - really aren't. The option: "Props. to yes/no include in preview" (See: "Settings" below) allows to control which attributes should or shouldn't be shown in preview.

In the option input field enter a regular expression of the properties that are to be shown in preview. The RE is tested against a "normalized" property where the brackets are removed and key and value are separated by ": ". So even if the property is in the page written as "[camelCaseWordsEnabled=false]", the RE is tested against "camelCaseWordsEnabled: false".

If you e.g. want to show the "alias" properties only, enter "alias: .* ". Other properties will then be hidden in the preview. The empty text field matches everything.

If you want to show all properties except those matching the RE, tick the checkbox to the left of the "not".

If you press the "Ok" button of the options dialog, but the dialog doesn't vanish, instead this text field is red, then the RE contains an error and must be corrected first.

Top

Preview renderer

Under Windows you can choose the renderer for the HTML preview:
Changes of this setting only have an effect for newly opened WikidPad windows. After changing this setting, Wikidpad will have to be restarted.

Mozilla and IE renderer use a CSS-file located in the configuration directory (see "Help" menu -> "About" and scroll to the end to find out where it is), subfolder ".WikidPadGlobals", file "wikipreview.css".
Top

Settings

Options

Font name for html preview
Enter the desired font name for the HTML preview. Clicking on the "..." button shows a list of available fonts.

Show pics as links in preview
If this option is checked, links to image URLs (those ending with .png, .gif or .jpg) are shown like other links in the preview. If it is unchecked, the images (if available) are shown.

Props. to yes/no include in preview
A regular expression for the properties to be shown in HTML preview or not. See ThePreview.

Preview renderer
Under Windows you can choose the renderer for the HTML preview. See ThePreview and HtmlFormatting.

Top
Link color

Active link color

Visited link color

Text color

Background color

Background image

Doctype
Sets the DOCTYPE to use in the header of an HTML file. You should only modify it if you understand what it is doing.

Top
previous: Back
parents:  HtmlCss, Intro2ViewingAndEditing, ThisWiki, WorkSpace, WorkSpaceGeneral, WpOptionsHtmlPreview
attributes: [tree_position: 5]
[help.status: done]