Skip to content

Commit

Permalink
🆕 Post page with support HTML and Markdown format and with meta info.
Browse files Browse the repository at this point in the history
  • Loading branch information
easimonenko committed Jan 4, 2017
1 parent d3c18ba commit 9433d9b
Show file tree
Hide file tree
Showing 4 changed files with 283 additions and 92 deletions.
3 changes: 2 additions & 1 deletion elm-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"elm-lang/http": "1.0.0 <= v < 2.0.0",
"elm-lang/navigation": "2.0.1 <= v < 3.0.0",
"elm-lang/virtual-dom": "2.0.1 <= v < 3.0.0",
"evancz/elm-markdown": "3.0.1 <= v < 4.0.0"
"evancz/elm-markdown": "3.0.1 <= v < 4.0.0",
"jinjor/elm-html-parser": "1.1.3 <= v < 2.0.0"
},
"elm-version": "0.18.0 <= v < 0.19.0"
}
1 change: 1 addition & 0 deletions sample/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
@import "alert.css";
@import "breadcrumbs.css";
@import "page.css";
@import "post.css";
18 changes: 18 additions & 0 deletions sample/css/post.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.post-info {
border-left-color: gray;
border-left-style: solid;
border-left-width: 2pt;
padding-left: 1em;
}

.post-author {
font-weight: 600;
}

.post-date {
font-weight: 600;
}

.post-abstract {
font-style: italic;
}
Loading

0 comments on commit 9433d9b

Please sign in to comment.