We just released version 0.7.23 of DoenetML, which will be automatically applied to your activities over the next day or so. Combinging releases from over the summer, we’ve added the following new features to DoenetML (not to mention numerous bug fixes):
- The ability to create a line segment based on slope and/or midpoint. Thanks to @Chrissy_Safranski for the suggestion.
- The ability to Ctrl/Cmd+Click in the editor panel or the viewer panel to scroll the opposite panel to the matching location. Thanks to @Anurag_Katyal for creating this feature!
- A new
<stylePallete>component that you can use to select predefined palettes such as the colorblind friendly Okabe-Ito palette or even the Grumpy Narwhal palette. - An improved
<matchesPattern>component where you can specifyparametersthat must match the same value if repeated. Thanks to @Kris_Hollingsworth1 for the suggestion. - Beginning support for internationalization. Wrap your activity with a
<document lang="..">and Doenet-generated text will be from that language. (So far we just have tentative machine translations.) - A new
<fractionInput>component. Thanks to @Anurag_Katyal for the suggestion. - New boolean operators
<iff>and<implies>. Thanks to @Steve_Frezza for creating these components! - Support for dark mode. Thanks to @Anurag_Katyal for pushing for this.
- Pattern fill with a
fillStyle. Thanks to @Carly_Vollet for the suggestion and to @David_Austin for help on the PreFigure side. - A new
colorInputsSeparatelyattribute to separately color different answer blanks associated to an answer, especially for numerator and denominator of a fraction input. Thanks to @Chrissy_Safranski for the suggestion. - A new
maskLabelattribute to give an opaque background to labels in a graph. Thanks to @Steven_Clontz and @Chrissy_Safranski for the suggestion. - The ability to a
<mathInput>into a<graph>. Thanks to @Carly_Vollet for the suggestion. - We have also worked to reduce the memory requirements of Doenet and speed it up in some cases.