# qmd


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

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

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L17"
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
):
```

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

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

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L34"
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
):
```

*A qmd div with optional metadata section*

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

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L44"
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
):
```

*A qmd image*

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

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L64"
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
):
```

*A qmd button*

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

<a
href="https://github.com/AnswerDotAI/nbdev/blob/main/nbdev/qmd.py#L75"
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#L82"
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`*
