Neptune's Personal Maid

    @yuiblog/markdown
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.5 • Public • Published

    @yuiblog/markdown

    NPM version NPM downloads CircleCI

    Markdown renderer for YuiBlog.

    Install

    yarn add @yuiblog/markdown

    CDN: UNPKG | jsDelivr (available as window.MarkdownRenderer)

    Usage

    <template>
      <markdown-renderer :markdown="markdown" />
    </template>
    
    <script>
    import "prismjs"; // You must import "prismjs" in your application.
    
    import "prismjs/components/prism-csharp"; // If you want to use languages other than built-in, import it.
    import MarkdownRenderer from '@yuiblog/markdown'
    
    export default {
      components: {
        MarkdownRenderer
      },
      data: () => {
        return {
          markdown: "Your markdown here."
        }
      }
    }
    </script>
    
    <style lang="scss" scoped>
    // import theme
    @import "~prismjs/themes/prism-okaidia.css";
    @import "~@yuiblog/dist/markdown.css";
    </style>

    License

    MIT © Mikazuki Fuyuno

    Keywords

    none

    Install

    npm i @yuiblog/markdown

    DownloadsWeekly Downloads

    0

    Version

    0.1.5

    License

    MIT

    Unpacked Size

    316 kB

    Total Files

    9

    Last publish

    Collaborators

    • mikazuki