I think this plugin is now reasonable working, so let me introduce nodebb-plugin-magicblock officially 
NodeBB MagicBlock plugin
NodeBB Plugin for macros, format, embeding.
Updates
- v0.1.8 :
hackIframely
. One can enable nodebb-plugin-iframely only in {{..}}
without modifications of the iframely plugin. ( see a npm page )
- v0.1.7 had a bug.
Links
Summary
Magic
{{ Any Link }}
{{ http://i.imgur.com/HxvheyR.jpg }}
{{ http://imgur.com/gallery/BxHKr }}

- image, imgur gallery are built in, and you can add more or override them.
- Control iFramely by
hackIframely: true
in YAML ( see a npm page )
Coloring
{{#red This is red letters}}
{{#red#green This is red letters on green background}}

Class
{{.myclass Any Text or Link }}
{{.fa.fa-fw.fa-inbox}}

Customizable Macros
{{br}} -> <br/>
{{ ALERT(info): This Info Box }}
{{ ALERT: This is default alert Box }}
{{ PANEL(success): Body Only Panel }}
{{ PANEL(warning, This is title): Panel with title }}

Nested Block
{{ALERT: These are {{#blue blue letters}} In the Alert Box}}
{{ALERT: This is {{ALERT(info): an Another Alert Box}} in the Alert Box }}
Installation
npm install nodebb-plugin-magicblock
History
- current version : v.0.1.3
Acknowledge