JSPM

Found 217 results for hast

rehype-document

rehype plugin to wrap a document around a fragment

  • v7.0.3
  • 56.85
  • Published

hast-util-heading

hast utility to check if a node is a heading element

  • v3.0.0
  • 55.51
  • Published

rehype-urls

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

  • v1.2.0
  • 54.07
  • Published

rehype-unwrap-images

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

  • v1.0.0
  • 53.66
  • 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.51
  • Published

rehype-starry-night

rehype plugin to highlight code with `starry-night`

  • v2.2.0
  • 51.08
  • 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.65
    • Published

    rehype-shiki

    rehype plugin to highlight code blocks with shiki

    • v0.0.9
    • 41.93
    • Published

    rehype-shift-heading

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

    • v2.0.0
    • 40.76
    • Published

    rehype-meta

    rehype plugin to add metadata to the head of a document

    • v4.0.1
    • 39.48
    • Published

    rehype-callouts

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

    • v2.1.2
    • 38.89
    • Published

    rehype-pre-language

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

    • v1.1.4
    • 37.74
    • 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.73
    • 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.19
    • Published

    rehype-infer-title-meta

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

    • v2.0.0
    • 34.80
    • Published

    rehype-vue

    Plugin to convert HAST to Vue

    • v1.0.5
    • 32.57
    • Published

    rehype-twoslash

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

    • v1.1.1
    • 32.11
    • Published

    hast-util-class-list

    Simulate the browser's classList API for HAST nodes

    • v2.0.1
    • 30.39
    • Published

    uniorg-rehype

    uniorg plugin to transform to rehype

    • v2.2.0
    • 29.82
    • Published

    rehype-picture

    rehype plugin to wrap images in pictures

    • v5.0.0
    • 29.66
    • Published

    rehype-extract-excerpt

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

    • v0.4.0
    • 28.76
    • Published

    unist-util-visit-siblings-first

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

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

    rehype-code-meta

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

    • v1.0.2
    • 26.05
    • 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.72
    • Published

    hast-util-to-tiptap

    hast utility to transform to be used by TipTap renderHTML

    • v0.0.1
    • 25.69
    • 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.84
    • Published

    rehype-extract-meta

    Rehype plugin to extract meta data from an HTML document

    • v4.0.1
    • 24.24
    • Published

    tgast-util-to-hast

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

    • v0.0.2
    • 23.67
    • 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.02
    • Published

    unified-doc-parse-csv

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

    • v0.2.1
    • 21.35
    • Published

    webforai

    A library that provides a web interface for AI

    • v2.1.1
    • 20.93
    • Published

    hast-util-from-parse5-ns

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

    • v7.1.1
    • 20.63
    • Published

    hastscript-ns

    hast utility to create trees

    • v7.0.3
    • 20.25
    • 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.05
    • Published

    @qingu/vue-email

    Fancy-ish emails using Vue components

    • v1.0.23
    • 19.71
    • Published

    rehype-graphviz-diagram

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

    • v1.0.0
    • 19.16
    • Published

    unified-doc

    unified document APIs.

    • v3.3.2
    • 19.11
    • Published

    @zkochan/unified

    Text processing framework: Parse / Transform / Compile

    • v0.2.0
    • 18.75
    • 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.11
    • Published

    notion2hast

    Notion blocks to hast

    • v0.1.4
    • 15.79
    • Published

    hast-util-transparent

    hast utility to check if a node is a transparent element

    • v3.0.0
    • 15.62
    • Published

    @xmark/core

    Markdown content tool powered by transformer and styling plugins

    • v0.24.0
    • 14.96
    • 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.74
    • Published

    eleventy-hast-jsx

    Custom Eleventy template language for JSX

    • v0.3.5
    • 14.05
    • 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.90
    • Published

    unist-util-ancestor

    Unist utility for finding the closest common ancestor for multiple nodes

    • v1.4.3
    • 12.99
    • 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.88
    • 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.55
    • Published

    rehype-mdx-toc

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

    • v1.1.0
    • 12.44
    • 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.69
    • 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.59
    • Published

    hast-util-noddity

    Hast extension to parse noddity flavored text within HTML.

    • v1.0.1
    • 11.02
    • Published

    rehype-pager

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

    • v1.0.0
    • 10.85
    • 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.36
    • 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.54
    • 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.38
      • Published

      rehype-template

      Rehype plugin to wrap contents with htm template

      • v0.3.0
      • 9.24
      • Published

      rehype-smiles

      rehype plugin wich convert SMILES molecule to SVG

      • v1.0.3
      • 8.08
      • Published

      @ipikuka/plugins

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

      • v1.0.2
      • 8.00
      • Published

      @accuser/svelte-hast

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

      • v0.3.0
      • 7.73
      • Published

      rehype-mathjax-dumi-tmp

      rehype plugin to transform inline and block math with MathJax

      • v3.1.1-0
      • 7.73
      • 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.11
      • Published

      @breadio/vue

      Vue components for Breadio.

      • v0.0.2-beta.3
      • 5.11
      • 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