++ Options for HTML preview/export

*Start browser after export*
Starts the current web browser after exporting one or more HTML pages or an XML document.

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

*Attrs. to (not) include in preview*
Enter here a regular expression of the properties you want to allow to be shown in the HTML 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.

*Attrs. to (not) include in export*
Same as above, but for the HTML export.

*Shows 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.

*Shows pics as links in export*
Same for HTML export.
In the export dialog, you can temporarily override this setting for one export.

*Table of contents*
Choose if you want a table of contents in tree form, list form or not at all, see WikiExport#*Additional# options*
In the export dialog, you can temporarily override this setting for one export.

*Title of toc*
Set the title of the table of contents according to your language. The default is "Table of Contents". For German it could be e.g. "Inhaltsverzeichnis".

*Single page separator lines*
Set the number of separator lines to separate wiki pages in a single HTML page on export.

*Preview renderer*
You can choose the renderer for the HTML preview (not all may be available):

    * Internal: Internal standard renderer. Not very capable, but it
      doesn't need external components
    * IE: Uses Internet Explorer (Windows only).
    * Mozilla: Uses Mozilla/Gecko rendering component if installed
      (Windows only). You can download it here:
      http://www.iol.ie/~locka/mozilla/control.htm
    * Webkit: Needs pyGtk and pyWebkitGtk libraries (probably Linux only).
      See [Webkit].

Changes of this setting only have an effect for newly opened WikidPad windows.

The external renderers can use CSS-files for preview, see [Cascading style sheets].

    *Important remarks*
    * Using IE, Mozilla or Webkit as renderers means that any 
      weaknesses of these browser(component)s (esp. regarding 
      ecurity) become part of WikidPad. If e.g. a wiki page
      contains dangerous scripts in JavaScript they might be
      executed when showing the page.
	* If you chose Mozilla and the component is not installed,
      WikidPad will crash when opening a new window (or when
      restarting WikidPad). If this happens, try to start WikidPad
      again. It uses then the internal renderer instead
      automatically.

*Show iframes inside IE preview*
If you chose IE renderer above you can set if an iframe (this is like a browser window in the browser window) should show its contents inside the preview or if your external default browser is started for this. This option may also work with Mozilla renderer but is currently untested.

*Use vi keys in Webkit preview*
Activates some vi-like shortcut keys to navigate in Webkit renderer. See [Webkit].


+++ HTML header settings

++++ Attributes of "<body>"-tag
The following settings for HTML export/preview can all be overridden by attributes for a particular wiki and for a particular page. These settings (either in options dialog or as attributes) only have an effect when exporting a set of HTML pages, not when exporting a single page containing multiple wiki words. For HTML preview only some of the settings have an effect at all.


*Link color*
Specify the color of a link in preview/HTML export by pressing the little "..." button to start the color dialog or by entering a numeric HTML color (e.g. "#000000" for black) in the text field. Leaving the field empty chooses the default color.

The attribute to override this for a single page is "html.linkcolor". To set it for a whole wiki, use "global.html.linkcolor". Both attributes take a numeric HTML color as value.


*Active link color*
Color of a link while hovering over it with the mouse or while mouse is pressed (depends on browser). Doesn't work for preview. Attribute to override: "html.alinkcolor". 

*Visited link color*
Color of an already visited link. Doesn't work for preview. Attribute to override: "html.vlinkcolor". 

*Text color*
Color of normal text. Attribute to override: "html.textcolor".

*Background color*
Color of background. Attribute to override: "html.bgcolor".

*Background image*
Link (URL) to a background image. Doesn't work for preview. Attribute to override: "html.bgimage". 



++++ 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.
