docxplate icon indicating copy to clipboard operation
docxplate copied to clipboard

Two levels ul list

Open mantoze opened this issue 3 years ago • 1 comments

Hi,

Is it possible make two levels ul/ol list? I have data:

	type Ddd struct {
		Doc      string
		Pastabos []string
	}
	type TemplateData struct {
		DocPastabos         []Ddd
	}

	data := TemplateData{
		DocPastabos: []Ddd{
			{
				Doc: "sdfsdf",
				Pastabos: []string{
					"dfdfdf", "sdfsdfsdf",
				},
			},
			{
				Doc: "sdfwerwerwesdf",
				Pastabos: []string{
					"dfdwerwefdf", "sdfertertertsdfsdf",
				},
			},
		},
	}

I get this result in docx:

image

I need this result:

image

mantoze avatar Jan 09 '22 11:01 mantoze