Type:
{question.type.replaceAll("_", " ")}
Difficulty:
{question.difficulty}
Content:
{typeof question.content === "string"
? question.content
: JSON.stringify(question.content, null, 2)}
{question.author && (
Author:
{question.author.name || "Unknown"}
)}
{question.knowledgePoints && question.knowledgePoints.length > 0 && (
Tags:
{question.knowledgePoints.map(kp => (
{kp.name}
))}
)}