An open API service indexing awesome lists of open source software.

https://github.com/ryanseddon/markdown-component

A Web Component to parse markdown to html
https://github.com/ryanseddon/markdown-component

Last synced: about 1 month ago
JSON representation

A Web Component to parse markdown to html

Awesome Lists containing this project

README

        

# Markdown component

A simple markdown component that uses the Showdown.js library

## How to use

This web component uses the Polymer library.

1. Make sure you have `polymer.min.js` included in your page
2. Import component ``
3. Simply put markdown inside the `` element
4. ?????
5. Profit $$$

```html

# Markdown

Some text

## Heading level 2

Some more text with a [link](http://www.thecssninja.com/)

```

## Made as part of talk

I did a talk on Web Components and created a whole bunch of components to dog food the talk itself. See master repo [web-components](https://github.com/ryanseddon/web-components).