Git Product home page Git Product logo

marked-extensions's Introduction

marked-extensions

Marked extensions workspace.

Packages

Package Description Version (click for changelog)
marked-alert Enables GFM alerts npm
marked-directive Supports directives syntax npm
marked-code-format Formatting code blocks using Prettier npm
marked-code-jsx-renderer Render JSX code blocks using a custom renderer and components npm
marked-code-preview Transform code blocks into code previews npm
marked-footnote Enables GFM footnotes. npm
marked-sequential-hooks Enables the sequential preprocessing and post-processing npm

Sequential hooks

Incorporate the power of sequential hooks using the following packages within sequential hooks:

Show the example code ๐Ÿš€
import { Marked } from 'marked'
import markedSequentialHooks from 'marked-sequential-hooks'

const html = new Marked()
  .use(
    markedSequentialHooks({
      markdownHooks: [mdHoook1(), mdHook2],
      htmlHooks: [htmlHook1(), htmlHook2]
    })
  )
  .parse('# Content')

console.log(html)
Package Types Description Version (click for changelog)
marked-hook-data MarkdownHook A sequential hook to load data from files or objects npm
marked-hook-frontmatter MarkdownHook A sequential hook to support frontmatter npm
marked-hook-layout HtmlHook A sequential hook that handles layouts npm

Contributing

We ๐Ÿ’›ย  issues.

When committing, please conform to the semantic-release commit standards. Please install commitizen and the adapter globally, if you have not already.

npm i -g commitizen cz-conventional-changelog

Now you can use git cz or just cz instead of git commit when committing. You can also use git-cz, which is an alias for cz.

git add . && git cz

marked-extensions's People

Contributors

bent10 avatar semantic-release-bot avatar renovate[bot] avatar

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.