Re: Markaby + HTML5

2011-11-05 Thread Bartosz Dziewoński
2011/11/5, Jenna Fox :
> If you add the line '@auto_validation = false' to the beginning of your
> layout, markaby aught to stop minding if you use things unspecified in
> xhtml. I'm not too sure if that will let you use unknown tags, or just
> unknown attributes.
>
> If you have any trouble getting unknown tags to work, try using the tag!
> method:
>
> tag! 'footer', arg, arg, arg…
>
> effectively is a more explicit and direct version of:
>
> footer arg, arg, arg…
>
> Hope that helps! Hopefully we'll have a html5-friendly markaby soon. :)
>
> —
> Jenna
>
>
> On 05/11/2011, at 11:22 PM, Nokan Emiro wrote:
>
>> Hi,
>>
>> this is not really a Camping question, but a Markaby one, so
>> please don't be angry, please!  :)
>>
>> How can I use HTML5 tags (for example ) and HTML5
>> compliant attributes (for example data-content="xxx") in Markaby?
>> It throws an error when I try this.  I've workarounded it with
>> text ""   and  text ""  but this
>> isn't the nicest solution.  How would you do these?
>>
>> u.
>>
>>
>> ___
>> Camping-list mailing list
>> Camping-list@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/camping-list
>
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>


-- 
-- Matma Rex
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: Markaby + HTML5

2011-11-05 Thread Jenna Fox
If you add the line '@auto_validation = false' to the beginning of your layout, 
markaby aught to stop minding if you use things unspecified in xhtml. I'm not 
too sure if that will let you use unknown tags, or just unknown attributes.

If you have any trouble getting unknown tags to work, try using the tag! method:

tag! 'footer', arg, arg, arg…

effectively is a more explicit and direct version of:

footer arg, arg, arg…

Hope that helps! Hopefully we'll have a html5-friendly markaby soon. :)

—
Jenna


On 05/11/2011, at 11:22 PM, Nokan Emiro wrote:

> Hi,
> 
> this is not really a Camping question, but a Markaby one, so
> please don't be angry, please!  :)
> 
> How can I use HTML5 tags (for example ) and HTML5
> compliant attributes (for example data-content="xxx") in Markaby?
> It throws an error when I try this.  I've workarounded it with
> text ""   and  text ""  but this
> isn't the nicest solution.  How would you do these?
> 
> u.
> 
> 
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list

___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Markaby + HTML5

2011-11-05 Thread Dave Everitt

Hi Nokan

for current efforts in this direction, see here:
https://github.com/markaby/markaby/issues/18
and here:
https://github.com/markaby/markaby/pull/26

and note:
https://github.com/igravious/markaby/commit/8be76d138228a32500f96140afca79bf95751e40

Or even:
https://github.com/zimbatm/miniby
but note "Miniby is just a small experiment I did over my trip to  
london. Some ideas I wanted to try-out while implementing a Markaby  
clone. Don’t expect no support of future development :-)"


DaveE


this is not really a Camping question, but a Markaby one, so
please don't be angry, please!  :)

How can I use HTML5 tags (for example ) and HTML5
compliant attributes (for example data-content="xxx") in Markaby?
It throws an error when I try this.  I've workarounded it with
text ""   and  text ""  but this
isn't the nicest solution.  How would you do these?


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Markaby + HTML5

2011-11-05 Thread Nokan Emiro
Hi,

this is not really a Camping question, but a Markaby one, so
please don't be angry, please!  :)

How can I use HTML5 tags (for example ) and HTML5
compliant attributes (for example data-content="xxx") in Markaby?
It throws an error when I try this.  I've workarounded it with
text ""   and  text ""  but this
isn't the nicest solution.  How would you do these?

u.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list