← Back to team overview

zim-wiki team mailing list archive

use of headingsection in export template

 

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

Follow ups