mdx_gen

Module extensions

Source
Expand description

The extensions module contains custom block extensions for Markdown processing. Extension functionality for the MDX Gen library.

This module provides utilities for enhancing Markdown processing, including syntax highlighting, table formatting, and custom block handling.

Enums§

Functions§

  • Applies syntax highlighting to code blocks in the Markdown.
  • Processes custom blocks in the Markdown content, such as note, warning, tip, info, important, and caution blocks. These custom blocks are represented by div elements with specific class names. The function replaces these div elements with corresponding Bootstrap alert elements.
  • Processes tables, enhancing them with responsive design and alignment classes.