markdownReader
markdownReader is a extention for chrome, used for reading markdown file.
Features:
- Reading markdown file
- Auto reload local file when file is changed
- Highlight the code area
- Show outline beside the content
- Support extension: Tasklist, table, LaTeX
- Toggle raw mode and markdown mode by double Click
Install
- Install plugin: https://chrome.google.com/webstore/detail/markdown-reader/gpoigdifkoadgajcincpilkjmejcaanc
- Open plugin center: chrome://extensions/, check "Allow access to file URLs"
- Drag md file to chrome
Demo
Tasklist:
- This task is done
- This task is done too
- This is still pending
Inline Code:
Inline code: var code = 'test';
Block Code:
| Left-Aligned | Center Aligned | Right Aligned |
| :------------ |:---------------:| -----:|
| **col 3 is** | some wordy text | $1600 |
| ~~col 2 is~~ | centered | $12 |
| zebra stripes | are neat | $1 |
function test() {
console.log("notice the blank line before this function?");
}
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
Table:
Left-Aligned | Center Aligned | Right Aligned |
---|---|---|
col 3 is | some wordy text | $1600 |
centered | $12 | |
zebra stripes | are neat | $1 |
LaTeX:
Inline LaTeX:
Block LaTeX:
Escaped LaTeX:
License
markdownReader is released under the MIT license:
The MIT License
Copyright (c) 2014-2017 Yanis Wang < [email protected] >
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Thanks
- showdown.js: https://github.com/showdownjs/showdown
- Katex: https://github.com/Khan/KaTeX
- highlightjs: https://highlightjs.org/
- GitHub: https://github.com/