Files
skills-here-run-place/node_modules/@shikijs/langs/dist/markdown-nix.mjs
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

6 lines
946 B
JavaScript

const lang = Object.freeze(JSON.parse("{\"fileTypes\":[],\"injectTo\":[\"text.html.markdown\"],\"injectionSelector\":\"L:text.html.markdown\",\"name\":\"markdown-nix\",\"patterns\":[{\"include\":\"#nix-code-block\"}],\"repository\":{\"nix-code-block\":{\"begin\":\"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(nix)(\\\\s+[^`~]*)?$)\",\"beginCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"},\"5\":{\"name\":\"fenced_code.block.language\"},\"6\":{\"name\":\"fenced_code.block.language.attributes\"}},\"end\":\"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$\",\"endCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"}},\"name\":\"markup.fenced_code.block.markdown\",\"patterns\":[{\"begin\":\"(^|\\\\G)(\\\\s*)(.*)\",\"contentName\":\"meta.embedded.block.nix\",\"patterns\":[{\"include\":\"source.nix\"}],\"while\":\"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)\"}]}},\"scopeName\":\"markdown.nix.codeblock\"}"))
export default [
lang
]