Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code blocks don't get rendered in multiple-choice questions, answers, or feedback #1217

Open
illicitonion opened this issue Dec 3, 2024 · 0 comments

Comments

@illicitonion
Copy link
Member

{{<multiple-choice
question="What does the command `grep -ril \"langurs\" /animals/primates` do?"
answers="List the files under /animals/primates which contain the word langurs, only in lower case. | List the files under /animals/primates which contain the word langurs, in any case, ignoring binary files like images. | List the files under /animals/primates which contain the word langurs, in any case."
feedback="Not quite - check the meaning of `-i`. | Not quite - if we wanted to ignore binary files we'd need to pass `-I` (capital i) as well | Right! `-r` means all files under the directory, `-i` means case insensitive, and `-l` means just list the file names."
correct="2"
>}}

Right now this doesn't render the `-surrounded text as code. This isn't the end of the world, I can ditch the codefences, but it's a little annoying because -I is clearly differentiated from -l when rendered as a code font but -l and -I look identical when rendered as a regular font (so I had to add a "(capital i)" note).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants