DoenetML-authored custom components #1272
StevenClontz
started this conversation in
Ideas
Replies: 0 comments
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.
-
Pitch: authors (i.e. not developers) should be able to write custom components in DoenetML itself.
This is possible via the existing
<module/>. See https://beta.doenet.org/activityViewer/1dWuAB4RgZo98NquDzh8xaSo what I'm proposing is a way for authors to create and share these custom modules. This allows for the extension of DoenetML to new domains without needing programming expertise (as long as the custom component can be reasonably expressed in existing DoenetML).
Bonus points if we can extend module to work like this:
<module componentName="foo"/>creates a new tag<foo/>which can be used in the same way as<module copy="$foo"/><module name="customP"><moduleContent name="content"/><p>$content</p></module>to make<module copy="$customP">bar</module>work as<p>bar</p>.Beta Was this translation helpful? Give feedback.
All reactions