Replies: 3 comments 3 replies
-
have you tried just running?
|
Beta Was this translation helpful? Give feedback.
0 replies
-
sorry should have mentioned that: Using
produces the following /Users/matthewmckay/repos-collab/lecture-python-programming.myst/source/python_essentials.md:274: WARNING: Directive 'index': 1 argument(s) required, 0 supplied
single: Python; IO |
Beta Was this translation helpful? Give feedback.
2 replies
-
I was thinking we could have a line continuation marker, something like:
with content (if any in the future is needed) demarcated by a line break
and with
or
but not sure if that will cause issues on the parser side and the last example is a little confusing with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Sphinx the
index
generating directive has the ability to use multiple arguments such as:.. index:: single: execution; context module: __main__ module: sys triple: module; search; path
https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-index
I am not sure how to specify this use of multiple arguments in
myst
. As far as I am aware arguments need to be on the same line as the directive such as@chrisjsewell is there a way to specify multiple options at the moment?
I also note that in myst we use a similar syntax to specify options (albeit within the yaml headers only).
I don't see this as a big issue -- just something to be aware of. I think the
yaml
demarcators are a clear indicator that your specifyingoptions
.Beta Was this translation helpful? Give feedback.
All reactions