0.1.7 • Published 12 years ago
ivy-markup v0.1.7
ivy-markup
Ivy markup language is based on three famous notations:
How to use it on the page?
Minified version:
<script src=".../ivy.min.js"></script>
<script>
var html = ivy('*Hello*, _world_!');
</script>
Developing version:
<script src=".../src/parser.js"></script>
<script src=".../src/renderer.js"></script>
<script src=".../src/tags.js"></script>
<script src=".../src/index.js"></script>
<script>
var html = ivy('*Hello*, _world_!');
</script>
How to try it?
Want more?
How to create minified version?
- Open http://closure-compiler.appspot.com/home
- Paste the closure-compiler instruction below into the compiler textbox
- Click "Compile"
- Download the created ivy.min.js file
Closure-compiler instruction:
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
// @output_file_name ivy.min.js
// @code_url https://raw.github.com/AlexAtNet/ivy-markup/master/src/parser.js
// @code_url https://raw.github.com/AlexAtNet/ivy-markup/master/src/tags.js
// @code_url https://raw.github.com/AlexAtNet/ivy-markup/master/src/renderer.js
// @code_url https://raw.github.com/AlexAtNet/ivy-markup/master/src/index.js
// ==/ClosureCompiler==
(C) 2012 Alex Netkachov alex.netkachov@gmail.com