Here is a list of tasks to do (moved to CHANGELOG.md once done).
- Support Paragraph Formatting sub-DSL in
html_to_glimmer
converter - Support
html_to_glimmer
option to render attributes having dash (-
) using underscore instead of quoted dash attribute (e.g.input(data_name: 'John')
instead ofinput('data-name': 'John')
) - Support script-local glimmer config option to auto convert xml attribute underscores to dashes (e.g.
html(attribute_underscore: '-') { div(data_bind: 'name') {"Sean"} }
) (similar to global glimmer config optionGlimmer::Config.xml_attribute_underscore = '-'
, but applies locally only ) - Fix issue with declaring two sibling divs with unopen empty content (no
{}
) ending up with the latter one nested under the former one - Fix issue with using
super
instead ofsuper()
in Opal, which expectssuper()
- Support Rails with Glimmer DSL for XML as a server-side templating language alternative to ERB (e.g. file extension .glmr or .html.rb). This is in response to: AndyObtiva/glimmer#11
- Consider supporting building a string right away (without need for to_s or to_html)
- Build a tool called glimmerize that takes HTML and transforms it to Glimmer XML syntax
- handle/encode special characters such as #, {, }, and .
- CDATA support
- Include a command that converts HTML or XML into Glimmer DSL for XML syntax in Ruby.