← Back to team overview

zim-wiki team mailing list archive

Re: Tweaking the html export file


Hi Dimitrij,

You can create a custom template for your needs.

Here are the first steps.

Menu:> Edit> Templates

In the dialog window select the template "Default" that appears just below "html". Press the [Copy] button.

In the "Copy Template" box, set a new name for the template copy. For example: "NewTemplate".

The name "NewTemplate" should appear in the list of html templates.

Now you can select this new template, click edit and make the changes you want. A text editor such as Notepad or Notepad++ will be required.

Alternatively you can copy and edit the template directly in the system folder.

In Windows Explorer, locate the "templates" folder that must exist in the path:

The changes you want to make must be applied in the section delimited by the tag <style type = 'text/css'>

Certainly to make these changes you will need to get some orientation about HTML and CSS sintaxes. But I believe these changes are simple and you could do it by yourself with some research in support communities such as Stackoverflow.



Em 07/04/2017 07:27, Dimitrij Lisov escreveu:

I'm trying to adjust the output of a html export to match my normal Zim
view and searching for a method to adjust the following:

 1. space between paragraphs
 2. space between titles and checkbox lists
 3. space between normal text and checkbox lists
 4. italic should be grey
 5. strike should be grey
 6. center vertically checkboxes
 7. make checkboxes smaller

My normal Zim view: https://i.imgur.com/MazqOAL.png

Its source file: https://paste.sh/WcADaB3U#hhw7DFrBs8J1rwTL_7CJuJ5x

The current html export output: https://i.imgur.com/XIYFQgT.png

The according export file:

Your help is very appreciated!


Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp