This renders a markdown text editor with a live preview.
const blogPostMd = await io.input.markdown('Create a blog post')
console.log(blogPostMd)
The label to render above the input.
Default value rendered in input. Default ''
.
The placeholder to render within the input. Default undefined
.
An asynchronous function that takes unknown
input and outputs either true
or an error message string
to show the user.