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