Anthony - that's great. I think I mentioned your fork in an earlier response - have those changes been been pulled into https://github.com/markaby/markaby/ or - if not - are they likely to be? - Dave

Hi there,

I have a Markaby fork that does HTML5

https://github.com/igravious/markaby

Use it like this:

html_five do

.
.
.

end

It recognizes header and footer and all the rest and sets the right incantations in DOCTYPE and the html and head tags. Patches welcome for bits I have missed out on. I've even removed tags that are deprecated, and added attributes that have been added. I've included URLs to a diff file between the HTML4 and 5 spec so it should be easy to build on what I have done. Hop you find it useful and hope it does what you need.

Regards,
Anthony

On Sat, Nov 5, 2011 at 2:22 PM, Nokan Emiro <uzleep...@gmail.com> 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 <footer>) 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 "<footer>" and text "<div data-content=\"xxx\">" 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

Reply via email to