← Back to team overview

zim-wiki team mailing list archive

Re: use of headingsection in export template

 

Hi Jaap,
Thanks, I will check that out

Paulo



On Sunday, November 9, 2014 11:42 AM, Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx> wrote:
 


Hi Paulo,

This function is used in the "S5" template. There we use it to create a slide out of each H1 heading.

Regards,

Jaap




On Sun, Nov 9, 2014 at 11:24 AM, Paulo van Breugel <p_vanbreugel@xxxxxxxxx> wrote:

Hi, 
>
>Can somebody provide an example or explanation how to use the headingsection (below excerpt from relevant section from help page) in an html export template?
>
>.headings(max_level)	Split the page content by headings

 	headingsection
		.level		Heading level
 		.heading	Heading text
 		.body		Content below this heading
 		.content	Content including the heading 
>
>
>What I am trying to figure out if this provides a way to treat the text under a specific header as a separate block in the html page. This could then serve to create a two-column html page for example.
>
>
>Paulo
>
>
>
>
>
>_______________________________________________
>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
>
>

References