Home / File/ mdx.astro.tmLanguage.json — astro Source File

mdx.astro.tmLanguage.json — astro Source File

Architecture documentation for mdx.astro.tmLanguage.json, a json file in the astro codebase.

Entity Profile

Source Code

{
  "scopeName": "source.mdx.astro",
  "injectionSelector": "L:source.mdx",
  "patterns": [
    {
      "include": "#mdx_fenced_code_block_astro"
    }
  ],
  "repository": {
    "mdx_fenced_code_block_astro": {
      "begin": "(?:^|\\G)[\\t ]*([`~]{3,})(?:[\\t ]*((?:astro|(?:.*\\.)?(?:astro)))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)",
      "beginCaptures": {
        "1": {
          "name": "punctuation.definition.markdown"
        },
        "2": {
          "name": "entity.name.function.markdown"
        }
      },
      "end": "(^\\1)\\s*$",
      "endCaptures": {
        "3": {
          "name": "punctuation.definition.markdown"
        }
      },
      "name": "markup.code.astro.mdx",
      "patterns": [
        {
          "begin": "(^|\\G)(\\s*)(.*)",
          "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
          "patterns": [
            {
              "begin": "^\\s*---\\s*$",
              "end": "^\\s*---\\s*$",
              "beginCaptures": {
                "0": {
                  "name": "punctuation.definition.tag.xi.begin.t"
                }
              },
              "endCaptures": {
                "0": {
                  "name": "punctuation.definition.tag.xi.end.t"
                }
              },
              "contentName": "mdx.embedded.astro.frontmatter",
              "patterns": [
                {
                  "include": "source.tsx"
                }
              ]
            },
            {
              "contentName": "mdx.embedded.astro",
              "include": "source.astro"
            }
          ]
        }
      ]
    }
  }
}

Frequently Asked Questions

What does mdx.astro.tmLanguage.json do?
mdx.astro.tmLanguage.json is a source file in the astro codebase, written in json.
Where is mdx.astro.tmLanguage.json in the architecture?
mdx.astro.tmLanguage.json is located at packages/language-tools/vscode/syntaxes/mdx.astro.tmLanguage.json (directory: packages/language-tools/vscode/syntaxes).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free