Skip to content
Browse files

add a bit more to the sample, add some small style changes to fit a d…

…ocument a bit better for h1s
  • Loading branch information...
1 parent 8c8fb55 commit 7f8b3d6e64debe1069c6339f3d20658dcc826226 @jmoiron committed
Showing with 28 additions and 0 deletions.
  1. +1 −0 redtape/assets/basic.jinja
  2. +27 −0 sample.md
View
1 redtape/assets/basic.jinja
@@ -17,6 +17,7 @@
<link href="{{ stylesheet }}" rel="stylesheet">
{% endfor %}
{%- endif %}
+ <style>.container { width: 740px; margin-top: 2em; } h1 { margin-bottom: 12px; }</style>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
View
27 sample.md
@@ -1,6 +1,10 @@
+# Sample Document
+
Here is a line
Here's another line in the same paragraph.
+## Code
+
This is a fenced codeblock:
```js
@@ -8,4 +12,27 @@ var foo;
function bar() { console.log("Hello, world!"); }
```
+Or something better:
+
+```python
+#!/usr/bin/env python
+
+from redtape import script
+
+def main():
+ script.main()
+
+if __name__ == '__main__':
+ main()
+```
+
We can highlight it in a number of ways.
+
+<span style="display: block;" class="alert alert-info">We can even include HTML markup, since markdown allows it! This has the added
+benefit of working quite well and being pretty awesome. As you can see, we can
+use all of twitter bootstrap's classes in here. Fortunately, [links](http://twitter.com) work
+inside spans, so use spans with `style="display: block;"` to have markdown
+syntax inside block elements.
+</span>
+
+Unfortunately, while we're inside other markup, simple markdown stuff like [a link](http://google.com) won't function. Would be nice if it did though.

0 comments on commit 7f8b3d6

Please sign in to comment.
Something went wrong with that request. Please try again.