Code snippet quizz #282
Answered
by
alistairwheeler
alistairwheeler
asked this question in
Q&A
-
Hi, I'm looking at adding some "technical" questions, what would be the best way to add code snippets in a question ? Preferably with some formatting ? Thanks ! |
Beta Was this translation helpful? Give feedback.
Answered by
alistairwheeler
Nov 6, 2023
Replies: 1 comment
-
Ended up figuring out that the LongText type used a v-html for it's helpText content. Therefore, passing content surrounded by |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alistairwheeler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ended up figuring out that the LongText type used a v-html for it's helpText content. Therefore, passing content surrounded by
<pre>
and<code>
tags to the helpText attribute of the Question works great.