Skip to content

Commit

Permalink
add options.html page for promoting MarkView
Browse files Browse the repository at this point in the history
  • Loading branch information
swcool committed Dec 11, 2013
1 parent c2302c3 commit 286a535
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ More see in [Wiki](https://github.com/swcool/markdownViewer/wiki)

# Change Log

## 1.0.9
- add options.html for promoting Markview
## 1.0.8
- Support Github like table styles.
- Update the screenshot
Expand Down
Binary file added images/promo-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"manifest_version": 2,
"name": "Markdown Viewer ",
"version": "1.0.8",
"version": "1.0.9",
"description": "View markdown file in Chrome.",
"icons": {
"128": "images/favicon.png",
"16": "images/favicon.png",
"48": "images/favicon.png"
},
"permissions": ["tabs", "\u003Call_urls\u003E"],
"options_page": "options.html",
"content_scripts": [{
"js": ["prettify.js", "markdownviewer.js","marked.js"],
"matches": ["*://*/*.md", "file://*/*.md", "*://*/*.markdown", "file://*/*.markdown", "*://*/*.mdown", "file://*/*.mdown", "*://*/*.mkdn", "file://*/*.mkdn", "*://*/*.mkd", "file://*/*.mkd", "*://*/*.text", "file://*/*.text", "*://*/*.mdtext", "file://*/*.mdtext", "*://*/*.mdtxt", "file://*/*.mdtxt"],
Expand All @@ -17,8 +18,10 @@
"web_accessible_resources": [
"markdownviewer.css",
"prettify.css",
"images/top-icon.png",
"images/source-s-icon.png",
"images/bottom-icon.png"
"options.html",
"images/top-icon.png",
"images/source-s-icon.png",
"images/bottom-icon.png",
"images/promo-1.png"
]
}
32 changes: 32 additions & 0 deletions options.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!doctype html>

<head>
<title>MarkView</title>

<style>
h1, h3 { color: blue;}
body {
font-family: sans-serif;
position: absolute;
top: 10px;
left: 50px;
padding-bottom: 20px;
}
</style>

</head>

<body>
<h1>About MarkView</h1>
<div>
<img src="images/promo-1.png"/>
</div>
<div>
<h3>MarkView Information</h3>
<ul>
<li><a href="http://shaneweng.com/blog/view-markdown-file-with-markview/", target="_blank">Basic Features and Test Sample</a></li>
<li><a href="http://shaneweng.com/blog/markview-membership-features/", target="_blank">Advance Features and Test Samples</a></li>
</ul>
</div>
</body>
</html>

0 comments on commit 286a535

Please sign in to comment.