This is a repository for housing extensions, customizations, and extra tools that can be used with Carnap, including
- Custom CSS Stylesheets for assignments,
- JavaScript extensions that can be applied to assignments, and
- scripts and other simple tools for interacting with the Carnap Server's REST API.
The JavaScript and CSS extensions housed here can be added directly to a Carnap
assignment, using a CDN like jsDelivr, and listing the
relevant CDN-provided URL in the css, base-css or js fields of the
assignment's metadata block.
Here's a table of the current contents of this repository, and URLs (where applicable) that you can use to include the relevant extensions in your assignments:
Here's what each of these does:
This is a JavaScript extension that calculates the available point total for a
given assignment and inserts it into each span with the class pointspan. So,
you can show your students how many points an assignment is worth by including
such a span (in pandoc, you can include the span as raw html, or as
[pointsgohere]{.pointspan}.
This is a stylesheet that hides the point values for problems that have a custom point value.
This is a stylesheet that takes the first deduction playground occurring in given assignment, and resizes and positions it to occupy the entire browser viewport. You can use it to create a "whiteboard" document for doing demonstrations in class or creating instructional videos.
This is a stylesheet that conceals the navigation bar header and copyright-notice footer, and also minimizes some whitespace, in order to make carnap's assignments look reasonable when embedded in canvas via an iframe.