Markdown loader
cutana_ui.utils.markdown_loader
¶
Markdown loading and rendering utilities for Cutana UI.
get_markdown_content(markdown_path)
¶
Load raw markdown content from a file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
markdown_path
|
str
|
Full path to the markdown file |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
Raw markdown content |
format_markdown_display(md_content)
¶
Format markdown content with basic Markdown-to-HTML conversion according to standard Markdown syntax.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
md_content
|
str
|
Raw markdown content |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
HTML with formatted markdown for display |