Sha256: 3eb8dbcbcc83409921add033014e12c614b06c172264403897be7673677f4e57

Contents?: true

Size: 675 Bytes

Versions: 4

Compression:

Stored size: 675 Bytes

Contents

{"scopeName":"markdown.rego.codeblock","patterns":[{"include":"#rego-code-block"}],"repository":{"rego-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(rego)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.rego","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.rego"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
github-linguist-9.0.0 grammars/markdown.rego.codeblock.json
github-linguist-8.0.1 grammars/markdown.rego.codeblock.json
github-linguist-8.0.0 grammars/markdown.rego.codeblock.json
github-linguist-7.30.0 grammars/markdown.rego.codeblock.json