Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Choices does not support relate markdown #929

Closed
KlavsKlavsen opened this issue Apr 4, 2022 · 1 comment
Closed

Choices does not support relate markdown #929

KlavsKlavsen opened this issue Apr 4, 2022 · 1 comment

Comments

@KlavsKlavsen
Copy link

According to the docs, the Choices support relate markdown - which is documented here https://documen.tician.de/relate/content.html#markup - but if I try to give it this:

         choices:
           - ```python
             def f(x):
             return 5+x
             ```

it fails with: Course content did not validate successfully: 'flows/skills-quiz-general.yml: ScannerError: while scanning for the next token found character '`' that cannot start any token in "", line 80, column 13: - ```python ^' Update not applied.

@KlavsKlavsen
Copy link
Author

KlavsKlavsen commented Apr 4, 2022

Even if I add such a section in the text for the question - it renders, but IMHO incorrectly as it looks like this rendered (also the case in the markdown test page):

A
<pre >  umbreallachart
    image
      tag v1.7.0
</pre> 

the pre html tags really should not be visible and the "block background color' - should form a box - like it does here on github, and not just cover the actual text inside the backticks.

Repository owner locked and limited conversation to collaborators Apr 4, 2022
@inducer inducer converted this issue into discussion #930 Apr 4, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant