Skip to content

CodeBlock

Using this component:

from miniappi.content.v0 import CodeBlock
CodeBlock(...)

Attributes

attribute type description required
code string None True
language string:
  • 'bash'
  • 'javascript'
  • 'python'
  • 'java'
  • 'c'
  • 'cpp'
  • 'rust'
  • 'r'
  • 'sql'
  • 'scala'
  • 'html'
  • 'json'
  • 'yaml'
  • 'markdown'
None True