0.8.0 • Published 2 years ago

x-marked v0.8.0

Weekly downloads
91
License
MIT
Repository
github
Last release
2 years ago

x-marked GitHub Actions Status

Web Components which renders markdown using marked.

Install

Using npm:

$ npm install x-marked

Usage

Import XMarked and register it as a custom element.

<script type="module">
import XMarked from 'https://unpkg.com/x-marked';

customElements.define('x-marked', XMarked);
</script>

Put <x-marked>.

<x-marked>
# x-marked

Web Components which renders markdown using [marked](https://github.com/markedjs/marked).
</x-marked>

API

highlight attribute/property

Boolean attribute/property to enable highlight.

highlight-theme/highlightTheme attribute/property

String attribute/property to specify the theme of syntax highlight. you can specify it by choosing from PrismJS/prism-themes without .css extension.

License

MIT © Shogo Sensui

0.8.0

2 years ago

0.7.0

3 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.0

4 years ago