MCPcopy Create free account
hub / github.com/codecombat/codecombat / markdownIt

Method markdownIt

app/views/courses/TeacherClassView.js:1066–1069  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

1064 }
1065
1066 markdownIt (content) {
1067 if (!content) { return '' }
1068 return DOMPurify.sanitize(marked(content))
1069 }
1070 }
1071 TeacherClassView.initClass()
1072 return TeacherClassView

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected