-
Notifications
You must be signed in to change notification settings - Fork 0
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
multi-part examples should be organized by group #23
Comments
In "pure" CLDF Markdown, there's no way for the renderer to know multiple examples belong together if they are coded as individual links (i.e. the second block above). But |
What do you mean by grouping key? |
should be rendered as group, because both have the label |
Ah, I see. Since you need to be able to add a title to the entire multi-part example I will probably just go with some variation of the block notation above (so that arguments can be passed), and preprocess it into a single |
The current way to render a multi-part example is
[ex](example-1,example-2)
(or[](ExampleTable#cldf:__all__?ids=example-1,example2)
).This setup may not be intuitive for some writers, it's not possible to pass example-specific parameters (title, comment...), and I've found myself getting lost in the comma-separated list. S. Nordhoff suggested using a group with individual examples inside; I think something along these lines would make sense:
Thought on this @xrotwang?
The text was updated successfully, but these errors were encountered: