psy e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 년 전
..
classes e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 년 전
languages e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 년 전
tests e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 년 전
README.md e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 년 전
manifest.xml e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 년 전
start.php e48014c2e0 moved from https://github.com/epsylon/Elgg-Lorea-Hydra 6 년 전

README.md

Elgg Customizable Markup Language

Overview

ECML is a lightweight markup language for inserting content into posts and comments. It uses square brackets to set off its tags like so:

[youtube src="http://www.youtube.com/watch?v=kCpjgl2baLs"]

Each tag consists of a keyword and an optional set of attributes. This plugin is responsible for parsing the tags. Other plugins handle rendering specific tags into HTML.

Developers

A plugin can register for a custom keyword by registering for the 'render:<keyword>', 'ecml' plugin hook where <keyword> is the name of the keyword. Any attributes are passed in the $params array for the plugin hook. The handler is expected to use the keyword and attributes to generate HTML and return it to replace the tag in the final web page.