Supported Git File Types
This page lists which file types can be previewed directly in the Capable Git browser and macros, and which are not supported.
Markdown
Extensions:
.md,.markdown,.mdxBehavior: Rendered as rich Markdown.
Diagrams
Rendered inline as diagrams where supported.
Mermaid:
.mermaid,.mmdPlantUML:
.plantuml,.pumlGraphviz/DOT:
.dot,.gvD2:
.d2DBML:
.dbmlExcalidraw:
.excalidrawBPMN:
.bpmnBytefield:
.bytefieldERD:
.erdSymbolator:
.symbolatorC4-PlantUML:
.c4plantumlBlockdiag family:
.blockdiag,.actdiag,.seqdiag,.packetdiag,.nwdiag,.rackdiagVega/Vega-Lite:
.vega.json,.vegalite.json
Notes:
Some specialized diagram types may require valid syntax to render. Invalid content will show as plain text or an error.
Code (syntax-highlighted)
Common languages are syntax-highlighted when previewed.
JavaScript/TypeScript:
.js,.jsx,.ts,.tsxPython:
.pyJava:
.javaC/C++:
.c,.cppC#:
.csGo:
.goRust:
.rsRuby:
.rbPHP:
.phpSwift:
.swiftKotlin:
.ktScala:
.scalaShell:
.sh,.bash,.zshSQL:
.sqlR:
.rMATLAB/Octave:
.mPerl:
.plLua:
.luaDart:
.dartVue:
.vue
Configuration and Data
Displayed with appropriate formatting or syntax highlighting.
JSON:
.jsonYAML:
.yaml,.ymlTOML:
.tomlINI/CFG/CONF:
.ini,.cfg,.confENV:
.env
Markup and Stylesheets
HTML:
.html,.htmXML/SVG:
.xml,.svgCSS/SCSS/SASS/LESS:
.css,.scss,.sass,.less
Images
Rendered inline as images.
.png,.jpg,.jpeg,.gif,.webp,.bmp,.ico,.svg
Plain text (fallback)
Files without a recognized type above are displayed as plain text when possible.
Not Supported (will not render inline)
These formats are treated as binary or unsupported and will not preview inline. You can still link to or reference them, but they won’t render inside the page/modal.
Documents:
.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptxArchives:
.zip,.tar,.gz,.bz2,.7z,.rarExecutables/Installers:
.exe,.dll,.dmg,.pkg,.isoWebAssembly:
.wasm
Notes and limitations
Large files or extremely long lines may be truncated for performance.
Private repositories and branches will only render for users who already have access via their own account.
For diagrams, ensure the file contains valid syntax for the declared format.