Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

kriss-kross-io/markdown-editor

Repository files navigation

<markdown-editor>

Installation

bower install markdown-editor --save

Usage

<link rel="import" href="bower_components/markdown-editor/markdown-editor.html">

<markdown-editor
    markdown="> **Markdown** is _awesome_!"
    placeholder-text="Type here"
    preview></markdown-editor>

Setup

Prerequisites

Install npm (or install Node):

curl -L https://www.npmjs.com/install.sh | sh

Install bower:

npm install -g bower

Tools

Install polymer-cli:

npm install -g polymer-cli

Start the development server

This command serves the app at http://localhost:8080/components/markdown-editor/ and provides basic URL routing for the app:

polymer serve