notice the lack of a comma between kernel_name and chunk_name
def f(x): ...
```
In all three, the chunk_name argument is optional.
I prefer the first option because it matches Python's syntax and it seems more consistent to always separate with a comma.
It's also easier to parse than RMarkdown's syntax, where the kernel and chunk name are not separated by commas, but the rest are.
We need to choose an API for code chunks options.
Currently implemented
notice the lack of a comma between kernel_name and chunk_name
In all three, the
chunk_name
argument is optional.I prefer the first option because it matches Python's syntax and it seems more consistent to always separate with a comma. It's also easier to parse than RMarkdown's syntax, where the kernel and chunk name are not separated by commas, but the rest are.