MTML of PowerCMS bundle for Sublime Text 2
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PowerMTMLCompletions.py
README.ja.md
README.md

README.md

About PowerMTML Completions

PowerMTML Completions is autocompletions of PowerCMS for Sublime Text 2. You can use suggestions of "Movable Type Template Tags" after installing MTML Completions .

Instalation

With Package Control

  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Select "Package Control: Install Package" .
  • Select “PowerMTML Completions" when the list appears.

With Git

Please clone into your Sublime Text 2 package directory.

cd /path/to/your/Sublime Text 2/Packages
git clone https://github.com/bit-part/PowerMTML-ST2

Preference

You can change the format of Template Tags.

mtml_prefix

no setting => "mtml_prefix": "MT:" => "mtml_prefix": "MT" =>

mtml_function_tag_type

no setting => "mtml_function_tag_type": "dollar" => <$mt:EntryTitle$> "mtml_function_tag_type": "none" => mt:EntryTitle

Usage

You can use this feature when you input "<" in html or php file. When you set extension as ".mtml" or ".tmpl" , please change Syntax as html.

For modifier, you run "Edit > Show Completions [cntrol + space]" when you input a space and a few calactors.

Example

Example

  • [B]:Block Tag
  • [F]:Function Tag
  • [C]:Conditional Tag

Movable Type is a registered trademark of Six Apart, the Ltd..

PowerCMS is a registered trademark of Alfasado Inc..