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

adds solution button flag/documentation #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

graciemcguire
Copy link
Contributor

Fixes #10
Adds solution button flag that links to cooresponding solution branch on assignments. When generating the HTML for a Canvas lesson it's benefitial to provide a link to the solution code so students can compare their answers. This adds the option to generate that HTML via github-to-canvas

Adds solution button flag that links to cooresponding solution branch on assignments. When generating the HTML for a Canvas lesson it's benefitial to provide a link to the solution code so students can compare their answers. This adds the option to generate that HTML via github-to-canvas
@hoffm386
Copy link
Contributor

For

<img id='solution-img' title='Solution' alt='View Solution' />

how does the 'solution-img' image actually get added? Do we need a separate PR on the Canvas assets?

@ihollander
Copy link
Contributor

For

<img id='solution-img' title='Solution' alt='View Solution' />

how does the 'solution-img' image actually get added? Do we need a separate PR on the Canvas assets?

Yes, we'd need to pick an appropriate icon for the solution link and then update the Canvas CSS. Here's one option:

image

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

Successfully merging this pull request may close these issues.

Solution button option
3 participants