Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/markdoc/markdoc
/ validator.test.ts
File
validator.test.ts
src/validator.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
Markdoc, { nodes } from
'../index'
;
2
import
type
{ Config, ValidationError } from
'./types'
;
3
4
function
validate(string, config) {
Callers
nothing calls this directly
Calls
2
toDeepEqualSubset
Method · 0.80
validate
Function · 0.70
Tested by
no test coverage detected