Alternative XML Syntax #110

Closed
h3rald opened this Issue May 3, 2010 · 3 comments

Comments

Projects
None yet
1 participant
Owner

h3rald commented May 3, 2010

Implement the possibility to "fallback" to create an HTML (or XML for all that matters) tag if a macro is not found.

e.g.:

p[This is a paragraph]

  <p>This is a paragraph</p>

or even:

span[@Class[test]contents...]

  <span class="test">contents...</span>

To force XML fallback, it should be possible to prepend a "=" to any macro, e.g.

=code[puts "hello"]

This should be governed by configuration settings, e.g.
language.set = 'glyph' # default
# 'xml', 'bare'
language.options.xml_fallback = true

Owner

h3rald commented May 10, 2010

Working on this.

Owner

h3rald commented May 15, 2010

Removed div macro.

Owner

h3rald commented May 15, 2010

Closed by 51703e0.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment