Skip to contents

Pages and export

page_template()
Page template
bb_page()
Page
bb_document()
Document
page_layout()
Page layout report
export_pdf()
Export pages to PDF

Layout

bb_stack()
Stack blocks vertically
bb_cols()
Place blocks side by side
bb_box()
Box around a block
bb_spacer()
Empty space
bb_fixed()
Fix a block's height
bb_full_bleed()
Mark a block as full bleed

Text

bb_text()
Text block
span() link()
Inline text runs
text_style()
Define a text style

Content

bb_plot()
Plot block
bb_image()
Image block
bb_grob()
Grob block
as_block()
Turn content into a block

Tables

bb_table()
Table
cell()
Table cell with its own style
table_style() table_style_grid()
Table style

Marks and legends

bb_status()
Status icon
bb_dot()
Dots and other small marks
bb_legend()
Inline legend
legend_key()
Legend key

Page chrome

bb_banner()
Banner
banner_style()
Banner style
bb_section_header()
Section header
section_header_style()
Section header style
bb_running_header() bb_page_footer()
Running header and page footer
header_line_style() footer_line_style()
Header and footer line styles
bb_placeholder()
Placeholder panel

Styles and fills

box_style() box_style_panel()
Define a box style
line_style()
Define a line style
gradient_fill() stripe_fill()
Gradient and stripe fills

Theme

bb_theme()
Define a theme
bb_set_theme() bb_get_theme() with_theme()
Get or set the active theme

Measuring and custom blocks

measure_block()
Measure a block
text_width()
Width of a string in a text style
text_gpar()
Graphical parameters for a text style
with_measure_device()
Evaluate code on bodybuildr's measuring device
new_block()
Build a custom block