Giter VIP home page Giter VIP logo

mark-down's Introduction

<mark-down>

===================

This component is no longer actively maintained. Please use marked-element instead :)

See the component page for more information.

Install

Install the component using Bower:

$ bower install robdodson/mark-down --save

Or download as ZIP.

Usage

  1. Import Web Components' polyfill:
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
  1. Import Custom Element:
<link rel="import" href="bower_components/mark-down/mark-down.html">
  1. Start using it!
<mark-down>This is **awesome**</mark-down>

Playing With Your Element

If you wish to work on the element in isolation, I recommend that you use Polyserve to keep the bower dependencies in line. You can install it via:

npm install -g polyserve

And you can run it via:

polyserve

Once running, you can preview the element at http://localhost:8080/components/mark-down/.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License © Rob Dodson

mark-down's People

Contributors

hugo avatar jeffposnick avatar mbleigh avatar nevir avatar peterwmwong avatar robdodson avatar vandeurenglenn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mark-down's Issues

Update Polymer version to #^1.0.0

Almost all Polymer elements support up to 1.2.3, but this element explicitly requires Polymer 1.0.0. An example bower install with various Polymer elements and this element:

image

Remove use of `configure`

PSA: we are going to (soon) remove the general configure function, which was the predecessor to value in properties, and is pretty much an unnecessary duplicate API at this point. Configuring default property values should be moved to properties: { prop: { value: ... } }. It also looks like a pattern emerged to bind event listener functions to instance methods in configure; this can just be done in created instead.

better documentation

How about a line explaining how to install it. Where is it? Can I use bower? What's it called?

Tools that are poorly documented might as well not exist. Why build a homeless shelter and then lock the door?

Code blocks are not rendered correctly.

I prepared a simple example here which illustrates the problem.

Instead of of rendering the whole HTML code I get:

  
 
<meta charset="utf-8">
<title>HTML5 Template</title>
 
 
<p>hello world</p>

Moreover the less / greater signs are rendered as &lt; / &gt;

r = (x &lt; y) + (y &gt; z);

Demo is broken

The demo site does not currently work, which I would assume means that the element itself does not work because of the error that is showing in ShadowRenderer.js on line 601?
screen shot 2014-07-25 at 10 49 51 am

VanillaJS version

Is this plugin going to remain Polymer-specific for the foreseeable future or do you have an outlook of converting it to a VanillaJS component?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.