Commit f3ba1573 by Don Mitchell

Cache to swap branches

parent b5b11c69
......@@ -659,6 +659,8 @@ class CapaDescriptor(RawDescriptor):
# actually use type and points?
metadata_attributes = RawDescriptor.metadata_attributes + ('type', 'points')
system_metadata_fields = RawDescriptor.system_metadata_fields + ['markdown']
def get_context(self):
_context = RawDescriptor.get_context(self)
_context.update({'markdown': self.metadata.get('markdown', '')})
......
......@@ -3,6 +3,7 @@ metadata:
display_name: Numerical Response
rerandomize: never
showanswer: always
markdown:
data: |
<problem>
<p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment