Markdown CFML Syntax
Markdown CFML Syntax adds CFML and ColdFusion highlighting to fenced Markdown code blocks in both the editor and Markdown preview.

Features
- Highlights CFML fences in the Markdown editor through TextMate grammar injection
- Highlights CFML fences in Markdown preview through a bundled
markdown-it and highlight.js integration
- Supports CFScript, tag-based CFML, and mixed CFML content
- Recognizes
cfml, coldfusion, cfscript, cfc, and cfm fence identifiers
- Applies theme-aware preview styles for light and dark VS Code themes
Usage
```cfml
component {
public string function greet(required string name) {
return "Hello, #arguments.name#!";
}
}
```
```cfscript
variables.message = "Preview highlighting works here too.";
```
```coldfusion
<cfset result = len("CFML")>
```
Requirements
For editor-side grammar injection, install the CFML extension by kamasamak:
Preview highlighting is bundled with this extension and does not require additional setup.
Installation
Install from the Marketplace:
code --install-extension EdgeInformation.markdown-cfml-syntax
License
MIT. See LICENSE.
Changelog
Release notes are tracked in CHANGELOG.md.
| |