with-markdown-writer ( quot -- str )
Markdown streams

Prev:<markdown-writer> ( -- markdown-writer )


Vocabulary
io.streams.markdown

Inputs
quota quotation


Outputs
stra string


Word description
Calls the quotation in a new dynamic scope with output-stream rebound to an markdown-writer. When the quotation returns, outputs the accumulated Markdown markup.

Examples
USING: io io.styles io.streams.markdown prettyprint ; [ "Hello" { { font-style bold } } format nl ] with-markdown-writer .
"**Hello**\n\n"


Definition