1.1.6 • Published 10 years ago
nyxml v1.1.6
NYXml
Lite markup for styx forum posts
Syntax
prefix editor option = value options... > content
Prefixes
_ : Underline
^ : Bold
/ : Italics
- : Strike through
> : Nest element
Rules and Options
pg : text paragraph
txsFont size : pxcolColor of font : hexbgcBackground color : hex
h1 : Large header
txsFont size : pxcolColor of font : hexbgcBackground color : hexalnAlignment : left / right / mid
h2 : Medium header
txsFont size : pxcolColor of font : hexbgcBackground color : hexalnAlignment : left / right / mid
h3 : Small header
txsFont size : pxcolColor of font : hexbgcBackground color : hexalnAlignment : left / right / mid
ig : Image
srcImage source : urlhgtHeight of image : pxwdtWidth of image : px
hr : Horizontal Rule
wdtWidth of rule : %hgtHeight of rule : px
sl : Start a list
typType of list : num / point
le : List element
el : End a list
Global
set : Sets up global formatting
content should be left blank or replaced with a rule
Usage Example
Set default formatting
//This will apply the css as default to all elements
set txs=20>
//This will apply the css as default to only h2
set col=#f00>h2Nest an element
sl>
le>
le>
>h1>Yop
>el