MarkView

MarkView is a Chrome extention for reading markdown file with an outline view (scrollable and expansible), support Github Flavored Markdown which including table styles (sortable) and code block syntax highlight.

Advanced outline: a neat automatic scroll-spying table of contents

Features

  1. Viewing markdown file in HTML format
  2. Auto reload local file when file is changed
  3. Show outline beside the content in scrollable way
  4. Support Github Flavored Markdown table styles and code highlight.
  5. Highlight the code area for programming languages(eg. ```ruby)

Sample

Tables (click headers to sort)

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1
Left align Right align Center align
This This This
column column column
will will will
be be be
left right center
aligned aligned aligned
Item Catalog Price Quantity Discount Date
Magic Book $10.50 15 11% Feb 15, 2010 10:15 AM
Travel Book $10.50 15 11% Feb 15, 2010 10:15 AM
Magic Arts $500.99 20 22% Feb 15, 2012 11:15 AM
Tablet Electronics $399 40 22.5% Mar 5, 2013 9:15 AM
Laptop Computers $599.99 25 25% Dec 10, 2012 11:15 AM
Ruby Jewelry $999.99 18 44% Jun 15, 2014 6:15 PM

Note: Sort multiple columns by holding down the shift key then clicking other header.

Ruby Code

  def test
    puts "Hello World!"
  end

Code: JavaScript


function initHighlight(block, flags) {
  try {
    if (block.className.search(/\bno\-highlight\b/) != -1)
      return processBlock(block, true, 0x0F) + ' class=""';
  } catch (e) {
    /* handle exception */
  }
}

function myFunction()
{
  var obj = document.getElementById('h01');
  obj.innerHTML = "Hello jQuery";
}
onload = myFunction;

Code: CSS

  #markdown-container {
    display: inline;
    float: left;
    width: 70%;
    padding: 10px 40px 10px 60px;
    line-height: 1.4em;
    font: 13.34px helvetica,arial,freesans,clean,sans-serif;
    color: black;
  }

Code: Go

    package main
    import "fmt"

    func main() {
      fmt.Println("Hello, world.")
    }

Test Block

Note line: download if failed, and "reboot".
Note line: download if failed, and "reboot".
Note line: download if failed, and "reboot".

Email-style angle brackets are used for blockquotes.

And, they can be nested.

Headers in blockquotes

Test Strike Through

abc test

Test List

+ xxx

1. xxx

2. xxx

- xxx
  1. good
  2. better
  3. best
    • abcd
    • efg
  4. wonderful
    • football
    • basketball
  5. great

Test backtick with list

Change Log

1.0.5

1.0.4

1.0.3

1.0.2

1.0.1

1.0.0

License

Copy Right

Wiki

Website