VSharapov / INDEXmd

An index.html to render your README.md
0 stars 1 forks source link

INDEX.md

A boilerplate .html file that renders your README.md

Demo

https://vsharapov.github.io/INDEXmd/?text-width=readable

How to add this to your repo:

Just save this .html file to your repo's directory

Stuff you might wanna mess with:



This a test of all markdown possibilities:


Headings

h1 Heading 1

h2 Heading 2

h3 Heading 3

h4 Heading 4

h5 Heading 5
h6 Heading 6

Horizontal Rules





Emphasis

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough (non-spec)


Links

link text

link with title

This is an example inline link.

This link has no title attribute.


Blockquotes

Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.


Lists

Unordered

Ordered

Numers in sequence

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa

Numers not in sequence

  1. You can use sequential numbers...
  2. ...or keep all the numbers as 1.

Start numbering with offset:

  1. foo
  2. bar

Images

Alt text Alt text

External via inline HTML

Like links, Images also have a footnote style syntax

Alt text

With a reference later in the document defining the URL location:


Tables

(non-spec)

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

Right aligned columns

Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

Code

Inline code

Indented code

// Some comments
line 1 of code
line 2 of code
line 3 of code

Block code "fences"

Sample text here...

Syntax highlighting (non-spec)

var foo = function (bar) {
  return bar++;
};

console.log(foo(5));