update style for markdown test - static-site-scripts - static site generator sh… | |
git clone git://git.codemadness.org/static-site-scripts | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e534bbba4dcf9ea18fcecf9115c34957cb2594c6 | |
parent 0da97548a31e9d61b1ff571ac5ada8ba0e4aff57 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Mon, 16 Dec 2013 21:05:15 +0100 | |
update style for markdown test | |
Signed-off-by: Hiltjo Posthuma <[email protected]> | |
Diffstat: | |
M site/output/style.css | 5 +---- | |
A site/pages/markdown-test.md | 61 +++++++++++++++++++++++++++++… | |
A site/pages/markdown-test.sh | 11 +++++++++++ | |
3 files changed, 73 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/site/output/style.css b/site/output/style.css | |
@@ -35,14 +35,11 @@ h1 a:hover, h2 a:hover, h3 a:hover { | |
table tr td { | |
padding: 2px 10px 2px 0px; | |
} | |
-pre, code { | |
+code { | |
border: 1px dashed #777; | |
background-color: #eee; | |
padding: 5px; | |
- display: block; | |
overflow-x: auto; | |
-} | |
-code { | |
white-space: nowrap; | |
word-wrap: normal; | |
} | |
diff --git a/site/pages/markdown-test.md b/site/pages/markdown-test.md | |
@@ -0,0 +1,61 @@ | |
+simple tests | |
+------------ | |
+ | |
+first paragraph. | |
+testing surround: _emph_ then **strong** and `code`. | |
+ | |
+`\`escaped backticks\``. | |
+ | |
+`x = *y * 6;` | |
+ | |
+horizontal rule: | |
+ | |
+- - - | |
+ | |
+ | |
+blocks and entities | |
+------------------- | |
+ | |
+preformatted block: | |
+ .'''' .'.'. | | | |
+ '''. | ' | | | | |
+ '''' ' ' "" | |
+ | |
+quoted text: | |
+> When in doubt, | |
+> use brute force. | |
+ | |
+list: | |
+* Make each program do one thing well. | |
+* Expect the output of every program to become the input to another, | |
+as yet unknown, program. | |
+* Design and build software, even operating systems, to be tried early, | |
+ideally within weeks. | |
+* Use tools in preference to unskilled help to lighten a programming task. | |
+ | |
+list in list: | |
+* a | |
+ * b | |
+ 1. c | |
+ 2. d | |
+ * e | |
+* f | |
+ | |
+entity: &, <, > | |
+ | |
+code: | |
+ int powerof2(unsigned int n) { | |
+ return !((n - 1) & n) && n > 0; | |
+ } | |
+ | |
+links | |
+----- | |
+ | |
+[suckless](http://suckless.org) | |
+ | |
+inline html | |
+----------- | |
+ | |
+<center> | |
+ ABC | |
+</center> | |
diff --git a/site/pages/markdown-test.sh b/site/pages/markdown-test.sh | |
@@ -0,0 +1,11 @@ | |
+#!/bin/sh | |
+title="Markdown test" | |
+description="description here" | |
+id="markdown-test" | |
+url="${id}.html" | |
+tags="tags, comma, separated" | |
+keywords="keywords, comma, separated" | |
+categories="Category name" | |
+timestamp="2013-01-02" | |
+author="author" | |
+#content="custom stuff" |