Open mmcky opened 4 years ago
So looking at myst_parser test suite index
directives and roles are implemented.
However I am not sure what would be compatible myst
syntax to specify multiple entires such as the example in the sphinx docs
.. index::
single: execution; context
module: __main__
module: sys
triple: module; search; path
The execution context
---------------------
...
The translator currently writes:
```{index}
single: execution; context
...
which is invalid syntax as the `single:` is not parsed as an argument.
@chrisjsewell any suggestions on passing multiple arguments in `myst`?
There is currently not syntax that works for multiple arguments. See https://github.com/executablebooks/meta/discussions/155
I have improved compatibility with the current myst parser through #79
So the extension will write multiple arguments but currently the parser will skip them and issue a warning. I think this is a good solution for now.
It looks like
index
directive is not supported at present inmyst_parser
.Check with @chrisjsewell if this needs to be added or if it can pass through to
sphinx
as asphinx node