MCPcopy Index your code
hub / github.com/hackmdio/codimd / checkInContainerSyntax

Function checkInContainerSyntax

public/js/index.js:3094–3098  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3092}
3093
3094function checkInContainerSyntax () {
3095 // if line starts with :::, it's in container syntax
3096 var line = editor.getLine(editor.getCursor().line)
3097 isInContainerSyntax = (line.substr(0, 3) === ':::')
3098}
3099
3100function matchInContainer (text) {
3101 var match

Callers 1

index.jsFile · 0.85

Calls 1

getLineMethod · 0.80

Tested by

no test coverage detected