I'm doing some CSS styling for readability at 
http://wiki.github.com/ffi/ffi/windows-examples
and while the inline CSS with textile appears to be working, it's
horribly non-DRY.

What would be really cool is to be able to create a wiki page-specific
stylesheet using something similar to YAML front-matter.

For example, if the textile submitted content starts with 3 hyphens
like the following example, the content delimited by the hyphens is
hoisted into an internal stylesheet in the style tag of head.

---
h1 {color: blue}
#myred { font-family: funky, size: 20px; color: red;}
---

h1. Some Title

Not sure how the GitHub wiki machinery works, but hopefully the front-
matter could be extracted from the Textile and then both parts sent on
for further processing.

Jon

--

You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.


Reply via email to