% Auto-generated: do not edit by hand
\name{markdown}

\alias{markdown}

\title{Markdown component}

\description{
A custom re-worked version of dcc.Markdown. Uses v6 of react-markdown and applies five plugins to the markdown component by default: - remark-gfm - remark-slug - remark-highlight.js - remark-math - rehype-katex
}

\usage{
markdown(children=NULL, id=NULL, className=NULL, dedent=NULL,
loading_state=NULL, style=NULL)
}

\arguments{
\item{children}{Character | list of characters. A markdown string (or array of strings) that adhreres to the CommonMark spec}

\item{id}{Character. The ID of this component, used to identify dash components
in callbacks. The ID needs to be unique across all of the
components in an app.}

\item{className}{Character. Class name of the container element}

\item{dedent}{Logical. Remove matching leading whitespace from all lines.
Lines that are empty, or contain *only* whitespace, are ignored.
Both spaces and tab characters are removed, but only if they match;
we will not convert tabs to spaces or vice versa.}

\item{loading_state}{Lists containing elements 'is_loading', 'prop_name', 'component_name'.
those elements have the following types:
  - is_loading (logical; optional): determines if the component is loading or not
  - prop_name (character; optional): holds which property is loading
  - component_name (character; optional): holds the name of the component that is loading. Object that holds the loading state object coming from dash-renderer}

\item{style}{Named list. User-defined inline styles for the rendered Markdown}
}

\value{named list of JSON elements corresponding to React.js properties and their values}

