MCPcopy Create free account
hub / github.com/PageBot/PageBot / sectionCss

Method sectionCss

Lib/pagebot/contexts/htmlcontext/htmlbuilder.py:454–457  ·  view source on GitHub ↗

Add named section marker in CSS output. TODO: Make optional if compact CSS is needed.

(self, title)

Source from the content-addressed store, hash-verified

452 self.addCss(self.RESET_CSS)
453
454 def sectionCss(self, title):
455 """Add named section marker in CSS output.
456 TODO: Make optional if compact CSS is needed."""
457 self.addCss(self.SECTION_CSS % title)
458
459 # S A S S
460

Callers 1

XXXbuild_scssMethod · 0.80

Calls 1

addCssMethod · 0.95

Tested by

no test coverage detected