```
% pandoc -f latex+raw_tex -t markdown
\emph{Hi \foo{there}}
^D
*Hi \foo{there}*
```
```
% pandoc -f latex -t markdown
\emph{Hi \foo{there}}
^D
*Hi*
```
```
% pandoc -f html+raw_html -t markdown
Hi
^D
*Hi *
```
```
% pandoc -f html -t markdown
Hi
^D
*Hi there*
```