enketo-core
enketo-core copied to clipboard
Support choice styling with markdown / span
At the moment, Enketo Express does not support styling choice labels the way that question labels already do. This is supported by ODK Collect.
See the Form styling documentation for Collect and the XLSForm documentation.
Thanks. It's good to have an issue for this to refer to.
I am not in favor of resolving this (though technically very easy) because:
-
It means we'd have to move markdown parsing to the client. The costs in performance will be high. I don't think they outweigh the (I daresay minor) benefit of having this feature.
-
In order to support it on mobile devices for select_multiple/select_one with minimal, we'd have to move away from native HTML
<select>
elements, which I think will be a deterioration in mobile usability of these question types. Excluding those would be tough to explain because the same form would be different on non-touchscreen and touchscreen devices.