RealityETH / reality-eth-monorepo

Monorepo containing reality.eth contracts, UI code and everything else.
39 stars 20 forks source link

Question Display: Support Markdown #83

Closed shotaronowhere closed 2 years ago

shotaronowhere commented 2 years ago

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.

edmundedgar commented 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:

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.