Metupy IntelliSense
Official IntelliSense & Syntax Highlighting for Metupy (.pym) file format
Project by PalembangPy Community
Description
Metupy IntelliSense is a Visual Studio Code extension that provides full syntax highlighting, code snippets, and language support for .pym files — the native content format of Metupy Static Site Generator.
Features
- Syntax Highlighting for .pym file format
- Frontmatter key-value highlighting
- Template variables
{{ }} and logic tags {% %}
- Comment support
{# #}
- Embedded Markdown and Python syntax
- Auto-closing pairs and smart indentation
- Custom file icon for
.pym files
Installation
Install from VS Code Marketplace
Open Command Palette (Ctrl+Shift+P) and run:
ext install PalembangPyCommunity.metupy-intellisense
Manual Installation
- Download the .vsix file from Releases page
- Open VS Code → Extensions → Install from VSIX...
- Select the downloaded file
- Restart VS Code
Install Metupy from PyPI
Install Metupy
Run this command in your terminal:
pip install metupy
Verify Installation
metupy --version
Quick Start
Create a New Project
metupy init my-site && cd my-site
Create Content File
Create a file named index.pym inside content folder:
title: Welcome to Metupy
author: Your Name
date: 2026-08-28
---
# Welcome to Metupy
This is my first Metupy site!
Start Development Server
metupy dev
Build for Production
metupy build
.pym file uses simple structure:
key: value
another_key: another value
---
Your content here with {{ variables }} and {% logic %}
Syntax Reference
- Variables:
{{ variable_name }}
- Logic:
{% for item in list %} ... {% endfor %}
- Condition:
{% if condition %} ... {% endif %}
- Comment:
{# This is a comment #}
- Frontmatter:
key: value above --- separator
About Metupy
Metupy is a fast, modern static site generator built with Python. It supports .pym, .md, .rst, and .py file formats. No Node.js required.
License
MIT License — PalembangPy Community