Closed shotaronowhere closed 2 years ago
I'll look into this. If we support it we probably won't just suddenly start interpreting existing questions as markdown as it may be possible to game it to confuse people about the meaning of questions. At first thought what we might do is one of:
is_markdown: true
field to the question json and interpret as markdown if we see it set (defaulting to false
if it's not there)formatting: markdown
(defaulting to say formatting: text
if we don't see it)description
or description_markdown
In all these cases you'll need to pass a new template ID when you ask the question, so we won't change the behaviour of eg template 0
which is the current yes/no template.
Questions may refer to ipfs hosted documents / rules which contain long content ids which do not display well in the UI.
The question formatting should support markdown so (long) URLs can be represented by (short) hyperlinks and more generally to allow more format customization and better question display.