Ask coding questions

← Back to all posts
How to embed a link into an assignment
mbillingsley (2)

I'd like to include links when I create assignments, links to web pages with background information or reference sheets, etc.

How can I do this? The HTML markup seems to be limited to heading, blockquite, code block, inline code, bold, italic, underline, unordered lists, ordered lists, and images.

Is there any way to edit the raw HTML of an assignment?

Commentshotnewtop
Geocube101 (294)

You can use the <a> element to create a link or an 'href=""' attribute

mbillingsley (2)

@Geocube101
I include this line in an assignment I'm creating:
<a href="https://docs.python.org/3/reference/">Click on this link to access the Python 3 reference</a>

Here's what the student sees:
<a href="https://docs.python.org/3/reference/">Click on this link to access the Python 3 reference</a>

I'd like to actually create a link. Ideas?

Geocube101 (294)

@mbillingsley So they are seeing the code instead of the result?

Geocube101 (294)

@mbillingsley Your giving them the link to the result page and it's showing code?