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

Function markedInline

app/core/utils.js:1648–1651  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1646}
1647
1648const markedInline = function (text) {
1649 // Like marked, but inline (no wrapper <p></p>); this is an option in newer marked versions
1650 return marked(text).replace(/^<p>|<\/p>$/g, '')
1651}
1652
1653/*
1654 * Get the estimated Hz of the primary monitor in the system.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected