@svgr/hast-util-to-babel-ast
Transform HAST to Babel AST (JSX)
Found 216 results for hast
Transform HAST to Babel AST (JSX)
unist utility to visit nodes
mdast utility to transform to hast
hast utility to check if a node is inter-element whitespace
hast utility to create an element from a simple CSS selector
remark plugin that turns markdown into HTML to support rehype
hast utility to transform from a `parse5` AST
hast utility to get the plain-text value of a node according to the `innerText` algorithm
hast utility to reparse a tree
hast utility to check if a node is a (certain) element
hast utility to serialize to HTML
hast utility to create trees
hast utility to transform to a `parse5` AST
hast utility to transform to estree (JavaScript AST) JSX
hast utility to get the plain-text value of a node
hast utility to transform to preact, react, solid, svelte, vue, etc
hast utility to parse from HTML
hast utility to check if a node is an embedded element
hast utility to check if a link element is “Body OK”
recma plugin to transform HTML (hast) to JS (estree)
rehype plugin to automatically add `target` and `rel` attributes to external links
hast utility to get the rank (or depth, level) of headings
hast utility to get the plain-text value of a node
hast utility to create a tree from the DOM
hast utility to check if a node has a property
hast utility that turns HTML into a syntax tree (while being small in browsers)
hast utility to sanitize nodes
hast utility to transform to mdast
rehype plugin to highlight code blocks with lowlight (highlight.js)
rehype plugin to transform inline and block math with KaTeX
Format whitespace in HTML
hast utility for `querySelector`, `querySelectorAll`, and `matches`
rehype plugin to transform to remark
hast utility to check if a node is phrasing content
Transform deprecated styling attributes on HAST table cells to inline styles
unist utility to find a node
hast utility to find and replace text in a tree
rehype plugin to transform to React
A utility plugin to use with rehype that adds class names to HAST (html tree)
rehype plugin to transform inline and block math with MathJax
hast utility to merge class names together
hast utility to check if a node is a conditional comment
A rehype MDX plugin for interpreting markdown code meta as props
hast utility to check if an element is a css style
hast utility to transform to the DOM
Remark plugin to enable Markdown directives to be parsed as HTML.
Transform hast properties into mdxJsxAttribute nodes
rehype plugin to transform to retext
hast utility to transform to nlcst
hast utility to truncate the tree to a certain number of characters
rehype plugin to create alerts (admonitions/callouts)
hast utility to check if an element is a JavaScript script
hast utility to check if a property is an event handler
hast utility to check if an element is a css link
Render styled Lezer syntax trees to hast
hast utility to excerpt the tree to a comment
rehype plugin to infer file metadata from the document
A rehype MDX plugin for exposing the page title
hast utility to set the plain-text value of a node
hast utility to check if a node is interactive
rehype plugin to wrap a document around a fragment
rehype plugin to remove the wrapping paragraph (`<p>`) for images (`<img>`)
hast utility to check if a node is a heading element
Rehype plugin to rewrite URLs of `href` and `src` attributes
An MDX rehype plugin for turning media paths into imports.
Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines
Transform HAST to JSX
rehype plugin to highlight code with `starry-night`
rehype plugin to enhance alerts
Hyperscript compatible DSL for creating virtual HAST trees
Produce [HAST](https://github.com/syntax-tree/hast) compatible AST from [Webparser](https://github.com/Prettyhtml/prettyhtml/tree/master/packages/webparser)
hast utility to estimate the reading time
rehype plugin to infer reading time as file metadata from the document
hast utility to parse CSS selectors to hast nodes
unified-doc typescript typings.
hast-util-to-mdast handlers for definition list
unified-doc hast utility to add text offsets to text nodes.
rehype plugin to highlight code blocks with shiki
unified-doc hast util to mark text nodes.
Convert a Google Doc JSON representation to an HTML abstract syntax tree.
hast utility to change heading rank (or depth, level)
rehype plugin to change the rank (depth, level) of headings
rehype plugin to add metadata to the head of a document
rehype plugin to enhance emoji and gemoji
Rehype plugin for processing and rendering blockquote-based callouts (admonitions/alerts).
Rehype plugin to add language information as a property to pre element
rehype plugin which wraps headings and their descendants in nested <section> elements and applies slugged anchor links to them.
rehype plugin to render math with MathML
rehype plugin to infer file metadata from the main title of a document
remark plugin to store table of contents
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.
A rehype MDX plugin for interpreting meta data tags passed to fenced code blocks in mdx.
Plugin to convert HAST to Vue
hast renderer for Shiki
rehype plugin to process TypeScript and JavaScript code with `twoslash` and highlight it with `starry-night`
hast utility to transform to xast
Simulate the browser's classList API for HAST nodes
uniorg plugin to transform to rehype
rehype plugin to wrap images in pictures
rehype plugin to enhance images
rehype plugin to enhance links
rehype plugin which attaches a document's first paragraph to the VFile
rehype plugin to generate table of contents (TOC)
hast utility to transform to be used by TipTap renderHTML
hast utility to set the plain-text value of a node according to the `innerText` algorithm
Rehype plugin to copy 'code.data.meta' to 'code.properties.metastring'
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
rehype plugin to transform inline and block math with KaTeX
Rehype plugin to extract meta data from an HTML document
A utility to convert tgast syntax tree to hast syntax tree.
Port of `(hast-util-select)[https://github.com/syntax-tree/hast-util-select]` for use with `xast` nodes.
unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)
A library that provides a web interface for AI
hast utility to create trees
A fork of the original hast utility to transform from Parse5’s AST
Fancy-ish emails using Vue components
rehype plugin to process links adding custom css class or attributes used by external or download links
tdast utility to transform tdast to a hast table node
unified document APIs.
Divide headings into sections
A Unified/Rehype Plugin that allows you transform graphviz codes into SVG diagram.
Convert markdown to Vue
Transform Parse5’s AST to HAST
Text processing framework: Parse / Transform / Compile
hast utility to assert nodes
Port of [hast-util-is-element](https://github.com/syntax-tree/hast-util-has-property) for [xast][xast]
hast utility to check if a node is a transparent element
hast utility to check if a node is a script-supporting element
Notion blocks to hast
Markdown content tool powered by transformer and styling plugins
Port of [hast-util-has-property](https://github.com/syntax-tree/hast-util-has-property) for [xast][xast]
unified-doc micromatch search algorithm.
Custom Eleventy template language for 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.
Unist utility for finding the closest common ancestor for multiple nodes
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.
Tiny and naive implementation of rendering HAST-compliant virtual dom trees to HTML string, just in ~420 bytes.
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.
unified-doc parser to parse content into a hast tree with a single code block node.
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.
A rehype plugin to create the table of contents and convert it into MDX exports
Transform hast to portable text
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.
rehype plugin to transform to portable text
Hast extension to parse noddity flavored text within HTML.
Transform HAST to HTML
Rehype plugin to highlight code blocks with shiki, with dark mode.
Make page sections divided by html hr tag. Useful when make slide with obsidian slide format.
Rehype plugin to wrap a selected element and its sibling in a container element.
Utility to convert bbast syntax tree to hast (HTML AST)
rehype plugin to enhance code for colors
rehype plugin to transform inline and block math with Typst and KaTeX
rehype plugin to highlight code blocks with shiki
unist utility to visit nodes
Rehype plugin to wrap contents with htm template
Transform MDAST to HAST
Convert flat markdown ast to nested html ast, support customization
Hyperscript compatible DSL for creating virtual HAST trees
The collection of useful remark, rehype, recma, mdx plugins and rehype handlers for markdown / MDX
rehype plugin to transform inline and block math with MathJax
Transform [Hast](https://github.com/syntax-tree/hast) into Svelte components.
Create mark(up/down) components similar to `styled-components`.
hast utility to check whether a node is labelable
rehype plugin wich convert SMILES molecule to SVG
DOM APIs for unified-doc
Render styled Lezer syntax trees to hast
Transform HAST to HTML
rehype plugin to add width and height attributes to external images
Wraps words in htag elements with span tags and does basic parts of speech parsing.
Produce [HAST](https://github.com/syntax-tree/hast) compatible AST from [Webparser](https://github.com/Prettyhtml/prettyhtml/tree/master/packages/webparser)
rehype plugin to add ids to headings and output.
rehype plugin to transform inline and block math with MathJax
vremark-render extension
rehype plugin to render inline json-canvas elements
rehype plugin to transform inline and block math with Typst and KaTeX
unist utility to visit nodes
react wrapper for unified-doc
rehype plugin to wrap img tags inside figure tag
Vue components for Breadio.
Plugin to enable JSX inside markdown
Utilities to work with hast attributes in mdast
Convert flat markdown ast to nested html ast, support customization
A fork of the original hast utility that serializes an AST to HTML
hast utility to check if a node is a sectioning element
Transform HAST to Babel AST (JSX)
Compile hast to Virtual DOM
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.
Move JavaScript `<script>` to `<body>`
Create mark(up/down) components similar to `styled-components`.
hast-util-from-url ========================
Rehype plugin to rewrite URLs of `href` and `src` attributes
hast utility to create trees
wrap flat hast from mdast with section divs for different heading tags
Modern rewrite of unified
rehype plugin to enhance headings
rehype plugin to enhance raw text with `notranslate`
mdast utility to transform to hast
Notion のデータベースを変換しダウンロードする GAS ライブラリー
Markdown parser and renderer for Breadio.
mdast utility to transform to hast
Rehype plugin to append deterministic IDs to HTML elements
Breadth-first traversal for unist ASTs — visits siblings before descending into children
A utility plugin to use with rehype that adds class names to HAST (html tree)
Modern rewrite of vfile
Modern rewrite of trough
Flowchart.js for rehype
rehype plugin to annotate elements with source start/end offsets
rehype plugin to add `dir=auto` to elements
hast utility to transform to mdast
rehype plugin add dir='ltr' attribute
Modern rewrite of hast-util-sanitize
hast utility to find and replace text in a tree
TypeScript type guards for `hast` nodes.
rehype plugin to transform inline and block math with KaTeX (only renders in browser)
remark markdown plugins
rehype plugin to transform inline and block math with KaTeX