-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roles with data / parameters #7
Comments
That's a great question - I feel like this one we should make sure to get everybody's input on, and then agree on a standard for all of the EBP roles. @chrisjsewell @AakashGfude @mmcky what do you think? (I also renamed the issue to include the word "parameters" because I think this fits in a similar category) |
To add to this issue. Roles with multiple attributes that also have content , is also a necessary feature to have. As indicated by @choldgraf in this PR jupyter-book/jupyter-book#837 I thnk in rst, it is achieved by declaring it beforehand to create specialized roles? :- https://docutils.sourceforge.io/docs/ref/rst/roles.html#specialized-roles |
Linking executablebooks/MyST-Parser#69 |
oi I can't believe it's been 6 months since those conversations, I totally forgot about that issue. Looking through the ideas there, what about something like:
And have anything in It piggy-backs on the current rST convention of |
* 💬 Inline comments work * 💬 commentIdFromString * Add container element * blockIdFromString * DTO for comment always has a context
Error on invalid cell types while parsing
I am wondering what the best way to add roles that have multiple attributes that need to be set, but no content. For example, creating a simple example for reactive document like (variables, displays and sliders):
I am looking to suggest a format for the internals of a role, which I don't think are suggested at all by MyST.
Something like:
attribute:value attribute2:value2
?I think the only overlap in functionality would be the
glue
role, but I don't think it has any arguments at the moment?The text was updated successfully, but these errors were encountered: