Certainly! Here's the updated version of the quick guide using `await` for rendering the Markdown content: ## MarkdownRenderer Library - Quick Guide The `MarkdownRenderer` library is a JavaScript class for converting Markdown content into HTML with features like code highlighting, LaTeX math rendering, and Mermaid diagrams. ### Key Features 1. **Mermaid Diagrams**: Render diagrams from Markdown code blocks. 2. **Code Highlighting**: Use Prism.js for syntax highlighting. 3. **Math Equations**: Support LaTeX-style math equations. 4. **Tables**: Convert Markdown tables into HTML. 5. **Text Formatting**: Handle headers, bold, italic, links, lists, blockquotes, and horizontal rules. 6. **Copy Code**: Enable copying of code blocks with line numbers. ### Integration Steps Include the following in your HTML file: ```html Markdown Renderer Example
``` ### Usage - **Code Blocks**: Use Prism.js for syntax highlighting by specifying the language (e.g., `javascript`). - **Mermaid Diagrams**: Use `mermaid` identifier in code blocks. - **Math Equations**: Use `$...$` for inline and `$$...$$` for block equations. - **Tables**: Automatically convert Markdown tables to HTML. This guide provides a concise overview for integrating and using the `MarkdownRenderer` library in web applications.