Skip to content

bit-part/PowerMTML-ST2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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 => <mt:EntryTitle /> "mtml_prefix": "MT:" => <MT:EntryTitle /> "mtml_prefix": "MT" =>

mtml_function_tag_type

no setting => <mt:EntryTitle /> "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..

About

MTML of PowerCMS bundle for Sublime Text 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages