Package Exports
- nyxml
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nyxml) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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