````
% pandoc -t native
```yaml {#id}
some: code
```
^D
[ CodeBlock ( "id" , [ "yaml" ] , [] ) "some: code" ]
````

````
% pandoc -t native
```yaml {.class #id}
some: code
```
^D
[ CodeBlock
    ( "id" , [ "yaml" , "class" ] , [] ) "some: code"
]
````

<!-- Inline code sections at the start of the line should not be mistaken for code blocks -->
````
% pandoc -t native
```ab```
^D
[ Para [ Code ( "" , [] , [] ) "ab" ] ]
````

````
% pandoc -t native
```ab```{.class}
^D
[ Para [ Code ( "" , [ "class" ] , [] ) "ab" ] ]
````

<!-- Illegal language identifiers should be treated as inline code for now -->
````
% pandoc -t native
``` foo}{.bar}
test
```
^D
[ Para [ Code ( "" , [] , [] ) "foo}{.bar} test" ] ]
````