A dependency-light local editor for creating STACK question type XML for Moodle.
Open index.html in a browser. The page runs locally and can export the current question as a .xml file.
Use Render Question in the STACK API panel to preview the current question through the live STACK API. After rendering, answers entered in the preview are validated in real time and can be graded with Grade Answer.
npm test
npm run test:coverageThe test suite focuses on the question model, validation rules, XML escaping/CDATA handling, Moodle XML structure, template defaults, and filename generation.