MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / head3html

Function head3html

SLiCAP/SLiCAPhtml.py:249–265  ·  view source on GitHub ↗

Places a level 3 header on the active HTML page. :param headText: header text :type headText: str :param label: ID of a labelt to be assigned to this header. :type label: str :return: HTML string of this header :rtype: str

(headText, label='')

Source from the content-addressed store, hash-verified

247 return html
248
249def head3html(headText, label=''):
250 """
251 Places a level 3 header on the active HTML page.
252
253 :param headText: header text
254 :type headText: str
255
256 :param label: ID of a labelt to be assigned to this header.
257 :type label: str
258
259 :return: HTML string of this header
260 :rtype: str
261 """
262 label = _addLabel(label, labelType="heading")
263 html = '<h3>' + label + headText + '</h3>\n'
264 html = _insertHTML(ini.html_path + ini.html_page, html)
265 return html
266
267def text2html(txt):
268 """

Callers

nothing calls this directly

Calls 2

_addLabelFunction · 0.85
_insertHTMLFunction · 0.85

Tested by

no test coverage detected