MCPcopy Create free account
hub / github.com/Relento/lego_release / add_header

Method add_header

util/html.py:40–47  ·  view source on GitHub ↗

Insert a header to the HTML file Parameters: text (str) -- the header text

(self, text)

Source from the content-addressed store, hash-verified

38 return self.img_dir
39
40 def add_header(self, text):
41 """Insert a header to the HTML file
42
43 Parameters:
44 text (str) -- the header text
45 """
46 with self.doc:
47 h3(text)
48
49 def add_images(self, ims, txts, links, width=400):
50 """add images to the HTML file

Callers 3

html.pyFile · 0.80
save_imagesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected