MCPcopy Create free account
hub / github.com/editablejs/editable / check

Function check

apps/docs/plugins/remark-smartypants.js:5–9  ·  view source on GitHub ↗
(parent)

Source from the content-addressed store, hash-verified

3const smartypants = require('retext-smartypants')
4
5function check(parent) {
6 if (parent.tagName === 'script') return false
7 if (parent.tagName === 'style') return false
8 return true
9}
10
11module.exports = function (options) {
12 const processor = retext().use(smartypants, options)

Callers 1

transformerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…