```
% pandoc -f html -t markdown-raw_html-bracketed_spans-native_spans
^D
-   foo
-   bar
-   baz
```
```
% pandoc -f html -t markdown-raw_html-bracketed_spans-native_spans
^D
-   foo
-   bar
    -   subbar
-   baz
```
```
% pandoc -f html -t markdown
^D
-   foo
-   [bar]{#id}
-   baz
```
```
% pandoc -f html -t markdown
^D
-   foo
-   
    bar
    
-   baz
```