JSPM

Found 217 results for hast

rehype-mdx-code-props

A rehype MDX plugin for interpreting markdown code meta as props

  • v3.0.1
  • 64.22
  • Published

remark-directive-rehype

Remark plugin to enable Markdown directives to be parsed as HTML.

  • v0.4.2
  • 62.97
  • Published

hast-util-to-dom

hast utility to transform to the DOM

  • v4.0.1
  • 62.61
  • Published

rehype-retext

rehype plugin to transform to retext

  • v5.0.1
  • 61.80
  • Published

rehype-github-alerts

rehype plugin to create alerts (admonitions/callouts)

  • v4.1.1
  • 61.27
  • Published

hast-util-truncate

hast utility to truncate the tree to a certain number of characters

  • v2.0.0
  • 60.18
  • Published

rehype-mdx-title

A rehype MDX plugin for exposing the page title

  • v3.2.0
  • 57.21
  • Published

hast-util-excerpt

hast utility to excerpt the tree to a comment

  • v2.0.0
  • 56.85
  • Published

rehype-document

rehype plugin to wrap a document around a fragment

  • v7.0.3
  • 56.82
  • Published

hast-util-heading

hast utility to check if a node is a heading element

  • v3.0.0
  • 55.47
  • Published

rehype-urls

Rehype plugin to rewrite URLs of `href` and `src` attributes

  • v1.2.0
  • 54.03
  • Published

rehype-unwrap-images

rehype plugin to remove the wrapping paragraph (`<p>`) for images (`<img>`)

  • v1.0.0
  • 53.72
  • Published

rehype-highlight-code-lines

Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines

  • v1.1.5
  • 52.47
  • Published

rehype-starry-night

rehype plugin to highlight code with `starry-night`

  • v2.2.0
  • 51.04
  • Published

@starptech/hast-util-from-webparser

Produce [HAST](https://github.com/syntax-tree/hast) compatible AST from [Webparser](https://github.com/Prettyhtml/prettyhtml/tree/master/packages/webparser)

    • v0.10.0
    • 46.62
    • Published

    rehype-shiki

    rehype plugin to highlight code blocks with shiki

    • v0.0.9
    • 41.91
    • Published

    rehype-shift-heading

    rehype plugin to change the rank (depth, level) of headings

    • v2.0.0
    • 40.73
    • Published

    rehype-meta

    rehype plugin to add metadata to the head of a document

    • v4.0.1
    • 39.52
    • Published

    rehype-callouts

    Rehype plugin for processing and rendering blockquote-based callouts (admonitions/alerts).

    • v2.1.2
    • 38.57
    • Published

    rehype-slug-anchor-sectionize

    rehype plugin which wraps headings and their descendants in nested <section> elements and applies slugged anchor links to them.

    • v0.3.0
    • 37.77
    • Published

    rehype-pre-language

    Rehype plugin to add language information as a property to pre element

    • v1.1.4
    • 37.72
    • Published

    @m2d/react-markdown

    A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.

    • v1.0.0
    • 35.17
    • Published

    rehype-infer-title-meta

    rehype plugin to infer file metadata from the main title of a document

    • v2.0.0
    • 34.78
    • Published

    rehype-vue

    Plugin to convert HAST to Vue

    • v1.0.5
    • 32.55
    • Published

    rehype-twoslash

    rehype plugin to process TypeScript and JavaScript code with `twoslash` and highlight it with `starry-night`

    • v1.1.1
    • 32.09
    • Published

    hast-util-class-list

    Simulate the browser's classList API for HAST nodes

    • v2.0.1
    • 30.37
    • Published

    uniorg-rehype

    uniorg plugin to transform to rehype

    • v2.2.0
    • 29.81
    • Published

    rehype-picture

    rehype plugin to wrap images in pictures

    • v5.0.0
    • 29.65
    • Published

    rehype-extract-excerpt

    rehype plugin which attaches a document's first paragraph to the VFile

    • v0.4.0
    • 28.74
    • Published

    unist-util-visit-siblings-first

    Breadth-first traversal for unist ASTs — visits siblings before descending into children

    • v1.0.0-alpha.5
    • 28.64
    • Published

    rehype-code-meta

    Rehype plugin to copy 'code.data.meta' to 'code.properties.metastring'

    • v1.0.2
    • 26.03
    • Published

    hast-util-from-text

    hast utility to set the plain-text value of a node according to the `innerText` algorithm

    • v3.0.0
    • 25.71
    • Published

    hast-util-to-tiptap

    hast utility to transform to be used by TipTap renderHTML

    • v0.0.1
    • 25.67
    • Published

    rehype-image-toolkit

    Rehype plugin to enhance markdown image syntax `![]()` and MDX media elements (`img`, `audio`, `video`) by styling and adding attributes, wrapping with figure and adding captions, auto-linking to originals, converting images to video/audio based on the fi

    • v1.0.3
    • 24.83
    • Published

    rehype-extract-meta

    Rehype plugin to extract meta data from an HTML document

    • v4.0.1
    • 24.26
    • Published

    tgast-util-to-hast

    A utility to convert tgast syntax tree to hast syntax tree.

    • v0.0.2
    • 23.66
    • Published

    xast-util-select

    Port of `(hast-util-select)[https://github.com/syntax-tree/hast-util-select]` for use with `xast` nodes.

    • v0.4.0
    • 22.01
    • Published

    unified-doc-parse-csv

    unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)

    • v0.2.1
    • 21.33
    • Published

    webforai

    A library that provides a web interface for AI

    • v2.1.1
    • 20.95
    • Published

    hast-util-from-parse5-ns

    A fork of the original hast utility to transform from Parse5’s AST

    • v7.1.1
    • 20.62
    • Published

    hastscript-ns

    hast utility to create trees

    • v7.0.3
    • 20.24
    • Published

    rehype-link-processor

    rehype plugin to process links adding custom css class or attributes used by external or download links

    • v1.0.4
    • 20.04
    • Published

    @qingu/vue-email

    Fancy-ish emails using Vue components

    • v1.0.23
    • 19.70
    • Published

    rehype-graphviz-diagram

    A Unified/Rehype Plugin that allows you transform graphviz codes into SVG diagram.

    • v1.0.0
    • 19.15
    • Published

    unified-doc

    unified document APIs.

    • v3.3.2
    • 19.09
    • Published

    @zkochan/unified

    Text processing framework: Parse / Transform / Compile

    • v0.2.0
    • 18.74
    • Published

    xast-util-is-element

    Port of [hast-util-is-element](https://github.com/syntax-tree/hast-util-has-property) for [xast][xast]

    • v0.4.0
    • 16.10
    • Published

    notion2hast

    Notion blocks to hast

    • v0.1.4
    • 15.78
    • Published

    hast-util-transparent

    hast utility to check if a node is a transparent element

    • v3.0.0
    • 15.61
    • Published

    @xmark/core

    Markdown content tool powered by transformer and styling plugins

    • v0.24.0
    • 14.95
    • Published

    xast-util-has-attribute

    Port of [hast-util-has-property](https://github.com/syntax-tree/hast-util-has-property) for [xast][xast]

    • v0.3.0
    • 14.73
    • Published

    eleventy-hast-jsx

    Custom Eleventy template language for JSX

    • v0.3.5
    • 14.06
    • Published

    mdx-render

    A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.

    • v1.0.0
    • 13.89
    • Published

    unist-util-ancestor

    Unist utility for finding the closest common ancestor for multiple nodes

    • v1.4.3
    • 12.98
    • Published

    @mdast2docx/jsx

    A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.

    • v1.0.0
    • 12.87
    • Published

    mich-to-html

    Tiny and naive implementation of rendering HAST-compliant virtual dom trees to HTML string, just in ~420 bytes.

    • v0.1.6
    • 12.54
    • Published

    rehype-mdx-toc

    A rehype plugin to create the table of contents and convert it into MDX exports

    • v1.1.0
    • 12.43
    • Published

    @m2d/jsx

    A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.

    • v1.0.0
    • 11.90
    • Published

    @md2docx/jsx

    A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.

    • v1.0.0
    • 11.71
    • Published

    @md2docx/react-markdown

    A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.

    • v1.0.0
    • 11.58
    • Published

    hast-util-noddity

    Hast extension to parse noddity flavored text within HTML.

    • v1.0.1
    • 11.01
    • Published

    rehype-pager

    Make page sections divided by html hr tag. Useful when make slide with obsidian slide format.

    • v1.0.0
    • 10.84
    • Published

    rehype-shiki-reloaded

    Rehype plugin to highlight code blocks with shiki, with dark mode.

    • v0.0.11
    • 10.54
    • Published

    rehype-wrap-sibling

    Rehype plugin to wrap a selected element and its sibling in a container element.

    • v1.0.4
    • 10.37
    • Published

    @julyfun/rehype-typst

    rehype plugin to transform inline and block math with Typst and KaTeX

    • v0.1.1
    • 9.65
    • Published

    @mgtd/rehype-shiki

    rehype plugin to highlight code blocks with shiki

    • v0.0.14
    • 9.53
    • Published

    @wayowe/hast-util-from-webparser

    Produce [HAST](https://github.com/syntax-tree/hast) compatible AST from [Webparser](https://github.com/Prettyhtml/prettyhtml/tree/master/packages/webparser)

      • v0.10.3
      • 9.37
      • Published

      rehype-template

      Rehype plugin to wrap contents with htm template

      • v0.3.0
      • 9.23
      • Published

      rehype-smiles

      rehype plugin wich convert SMILES molecule to SVG

      • v1.0.3
      • 8.07
      • Published

      @ipikuka/plugins

      The collection of useful remark, rehype, recma, mdx plugins and rehype handlers for markdown / MDX

      • v1.0.2
      • 8.01
      • Published

      @accuser/svelte-hast

      Transform [Hast](https://github.com/syntax-tree/hast) into Svelte components.

      • v0.3.0
      • 7.72
      • Published

      rehype-mathjax-dumi-tmp

      rehype plugin to transform inline and block math with MathJax

      • v3.1.1-0
      • 7.72
      • Published

      hast-util-labelable

      hast utility to check whether a node is labelable

      • v3.0.0
      • 6.98
      • Published

      rehype-slugs

      rehype plugin to add ids to headings and output.

      • v0.0.5
      • 6.40
      • Published

      rehype-jsoncanvas

      rehype plugin to render inline json-canvas elements

      • v0.1.7
      • 6.12
      • Published

      rehype-mathjax-2

      rehype plugin to transform inline and block math with MathJax

      • v4.0.3
      • 5.95
      • Published

      rehype-typst2

      rehype plugin to transform inline and block math with Typst and KaTeX

      • v0.1.1
      • 5.85
      • Published

      mdast-util-hast

      Utilities to work with hast attributes in mdast

      • v0.0.1
      • 5.10
      • Published

      @breadio/vue

      Vue components for Breadio.

      • v0.0.2-beta.3
      • 5.10
      • Published

      hast-util-sectioning

      hast utility to check if a node is a sectioning element

      • v3.0.0
      • 4.04
      • Published

      mdx-renderer

      A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.

      • v0.1.1
      • 3.86
      • Published

      hast-util-to-html-ns

      A fork of the original hast utility that serializes an AST to HTML

      • v8.0.4
      • 3.86
      • Published

      inferno-mark

      Create mark(up/down) components similar to `styled-components`.

      • v1.0.2
      • 2.39
      • Published

      rehype-wordspan

      Wraps words in htag elements with span tags and does basic parts of speech parsing.

      • v1.2.0
      • 2.36
      • Published

      @breadio/markdown

      Markdown parser and renderer for Breadio.

      • v0.0.2-beta.3
      • 0.00
      • Published

      rehype-code-ltr

      rehype plugin add dir='ltr' attribute

      • v0.0.3
      • 0.00
      • Published

      rehype-mention

      A rehype plugin to transform mention text patterns into HTML elements

      • v1.1.0
      • 0.00
      • Published

      rehype-github-dir

      rehype plugin to add `dir=auto` to elements

      • v1.0.0
      • 0.00
      • Published

      rehype-katex-browser

      rehype plugin to transform inline and block math with KaTeX (only renders in browser)

      • v1.0.0
      • 0.00
      • Published