khufu.code.code module

code(content='', inline=True, scroll=False)[source]

Generate a code section

Key Arguments

  • content – the content of the code block

  • inline – inline or block?

  • scroll – give the block a scroll bar on y-axis?

Return

  • code – the code section