linux - How to convert strings of text with pandoc -


if app has string that's in markdown, '## hello', can use pandoc convert html directly? don't want write file first, of documentation , examples can find shows files.

i want this: pandoc -f markdown -t html '## hello'.

is possible?

note: i'm using pandoc-bin node wrapper. don't think effects question library seems wrap original syntax.