# qmd


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

------------------------------------------------------------------------

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L15"
target="_blank" style="float:right; font-size:smaller">source</a>

### meta

``` python

def meta(
    md, # Markdown to add meta to
    classes:NoneType=None, # List of CSS classes to add
    style:NoneType=None, # Dict of CSS styles to add
    kwargs:VAR_KEYWORD
):

```

*A metadata section for qmd div in `{}`*

------------------------------------------------------------------------

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L30"
target="_blank" style="float:right; font-size:smaller">source</a>

### div

``` python

def div(
    txt, # Markdown to add meta to
    classes:NoneType=None, # List of CSS classes to add
    style:NoneType=None, # Dict of CSS styles to add
    kwargs:VAR_KEYWORD
):

```

*A qmd div with optional metadata section*

------------------------------------------------------------------------

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L38"
target="_blank" style="float:right; font-size:smaller">source</a>

### img

``` python

def img(
    fname, # Image to link to
    classes:NoneType=None, # List of CSS classes to add
    style:NoneType=None, # Dict of CSS styles to add
    height:NoneType=None, # Height attribute
    relative:NoneType=None, # Tuple of (position,px)
    link:bool=False, # Hyperlink to this image
    kwargs:VAR_KEYWORD
):

```

*A qmd image*

------------------------------------------------------------------------

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L56"
target="_blank" style="float:right; font-size:smaller">source</a>

### btn

``` python

def btn(
    txt, # Button text
    link, # Button link URL
    classes:NoneType=None, # List of CSS classes to add
    style:NoneType=None, # Dict of CSS styles to add
    kwargs:VAR_KEYWORD
):

```

*A qmd button*

------------------------------------------------------------------------

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L65"
target="_blank" style="float:right; font-size:smaller">source</a>

### tbl_row

``` python

def tbl_row(
    cols:list, # Auto-stringified columns to show in the row
):

```

*Create a markdown table row from `cols`*

------------------------------------------------------------------------

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L71"
target="_blank" style="float:right; font-size:smaller">source</a>

### tbl_sep

``` python

def tbl_sep(
    sizes:int | list=3, # List of column sizes, or single `int` if all sizes the same
):

```

*Create a markdown table separator with relative column size `sizes`*
