LWT JavaScript API
Preparing search index...
shared/utils/inline_markdown
parseInlineMarkdown
Function parseInlineMarkdown
parseInlineMarkdown
(
text
:
string
)
:
string
Parse inline Markdown to HTML.
Processing order matters:
Escape HTML first (security)
Links
text
- most specific pattern
Bold
text
Italic
text
(after bold to avoid conflicts)
Strikethrough
text
Parameters
text
:
string
Input text with Markdown
Returns
string
HTML string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LWT JavaScript API
Loading...
Parse inline Markdown to HTML.
Processing order matters:
text